Blurry on Ubuntu 24.04
Preflight Checklist
- [X] I have installed the latest version of Storage Explorer.
- [X] I have checked existing resources, including the troubleshooting guide and the release notes.
- [X] I have searched for similar issues.
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.
@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?
Here's a screenshot that compares Storage Explorer with Chrome and Nautilus:
Please note that Chrome has the ozone-platform-hint flag set to 'wayland', otherwise it looks just as blurry as Storage Explorer.
Also this will occur with any Electron app, here is Slack for example before and after --ozone-platform-hint=auto:
Open these images in two separate tabs and click between them, the difference is slight but noticeable.
Possible fix: https://dev.to/archerallstars/how-to-run-electron-apps-under-linuxs-wayland-session-like-a-pro-2g25
@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
@ZVNexus We do not directly manage distribution via Flathub. But those changes may be helpful for our snap definition.