pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
473 stars 87 forks source link

Blurry Scaled Electron Apps #855

Open nicahokie opened 2 weeks ago

nicahokie commented 2 weeks ago

Please kindly review the attached image: ElectronAppScaling.png comparing how native vs. electron apps are currently scaling in Gnome vs. Cosmic currently. Notice how blurry the Scaled Electron Apps look in Cosmic. Also note this is not fractional scaling, it is whole integer scaling. Also note I have already tried electron flags such as: -enable-features=WaylandWIndowsDecorations --ozone-platform-hint=auto --use-gl=angle --use-angle=vulkan

Is this a known issue? ElectronAppScaling

nicahokie commented 4 days ago

The blurriness of electron apps is fixed with the new display setting render X11 Applications at native resolution. At least for electron apps that have built-in scaling. There is a caveat however: it seems to me that the cosmic mouse cursor is not rendered independently of the App it is hovering over as demonstrated by bug report #789 by @garrettjwilke so when it is hovering over some electron apps that don't scale the mouse cursor such as the Cider music player the mouse cursor becomes tiny because it loses the display scaling.