flathub / com.spotify.Client

https://flathub.org/apps/details/com.spotify.Client
74 stars 34 forks source link

Fractional Scaling not detected in Plasma 6 Wayland #283

Open jackwalten opened 4 months ago

jackwalten commented 4 months ago

As stated in the title, scaling is not detected when running in plasma 6 wayland, and as a workaround one has to use --force-device-scale-factor.

TingPing commented 4 months ago

You can update this script to handle this case: https://github.com/flathub/com.spotify.Client/blob/master/get-scale-factor.py

Erick555 commented 4 months ago

I think it never worked with fractional scaling on any Plasma version. Setting --force-device-scale-factor or simply use ctrl+ is the way to go.

jackwalten commented 4 months ago

It is pretty trivial to add support, but I think we will need read permissions for xdg-config/kdeglobals or xdg-config/kwinrc to make it possible by default. And I don't think adding desktop-specific fixes is a good practice. If someone can help me get the scale factor without reading from the files, it would be very greatly appreciated.