AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Blurry on Ubuntu 24.04

Open AKoskovich opened this issue 1 year ago • 6 comments

Preflight Checklist

Storage Explorer Version

1.34.0

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20240523.2

Platform

Linux (snap)

OS Version

Ubuntu 24.04

Bug Description

All UI elements are blurry when using fractional scaling of 150%.

Steps to Reproduce

Launch Storage Explorer. Observe entire UI blurry.

Actual Experience

UI is blurry.

Expected Experience

UI should not be blurry.

Additional Context

Ubuntu 24.04 Wayland 150% Fractional Scaling 32" 4K Display

From what I understand this is due to the app running under XWayland instead of being a native Wayland app.

AKoskovich avatar Jun 06 '24 13:06 AKoskovich

@ZVNexus Ubuntu indicates that using fractional scaling may, among other things, reduce display sharpness. However, we are not able to reproduce any blurriness on Ubuntu machines with 150% scaling on high-DPI monitors. Do you have a screenshot comparing Storage Explorer with other app windows and UI elements?

craxal avatar Jun 06 '24 17:06 craxal

Here's a screenshot that compares Storage Explorer with Chrome and Nautilus: Screenshot from 2024-06-06 13-59-12

Please note that Chrome has the ozone-platform-hint flag set to 'wayland', otherwise it looks just as blurry as Storage Explorer.

AKoskovich avatar Jun 06 '24 18:06 AKoskovich

Also this will occur with any Electron app, here is Slack for example before and after --ozone-platform-hint=auto: Screenshot from 2024-06-06 14-22-10 Screenshot from 2024-06-06 14-21-52

Open these images in two separate tabs and click between them, the difference is slight but noticeable.

AKoskovich avatar Jun 06 '24 18:06 AKoskovich

Possible fix: https://dev.to/archerallstars/how-to-run-electron-apps-under-linuxs-wayland-session-like-a-pro-2g25

craxal avatar Jun 10 '24 16:06 craxal

@craxal Noting here that this issue is resolved for the Flatpak distribution of Storage Explorer if you opt into Wayland: https://github.com/flathub/com.microsoft.AzureStorageExplorer/commit/a856e9cfa048b6baaec9b486861ad0d6a077d064

AKoskovich avatar Sep 21 '24 08:09 AKoskovich

@ZVNexus We do not directly manage distribution via Flathub. But those changes may be helpful for our snap definition.

craxal avatar Sep 23 '24 17:09 craxal