microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
364 stars 85 forks source link

Blurry on Ubuntu 24.04 #7986

Open ZVNexus opened 3 weeks ago

ZVNexus commented 3 weeks ago

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.

craxal commented 3 weeks ago

@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?

ZVNexus commented 3 weeks ago

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.

ZVNexus commented 3 weeks ago

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.

craxal commented 2 weeks ago

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