tenacityteam / tenacity-legacy

THIS REPO IS NOT MAINTAINED ANYMORE. Please see https://codeberg.org/tenacityteam/tenacity for Tenacity, which is maintained.
https://tenacityaudio.org
Other
6.77k stars 256 forks source link

Does not adjust to mixed scale factors (HiDPI) #560

Open vchernin opened 3 years ago

vchernin commented 3 years ago

Guidelines

Version/Commit hash

https://github.com/flathub/flathub/pull/2444#issuecomment-907707785 (no commit hash with Flatpak apparently)

Describe the bug.

  1. Have a multi-monitor setup with mixed scale factors. Eg. one monitor at 100% scaling, a second at 200%.
  2. Open Tenacity and drag it around. On one monitor Tenacity will be the correct size, the other it will not be. It does not adjust the scale factor dynamically like GTK apps.

I have taken videos of what happens. Note the effect is exagerated here, since I usually have both monitors at 200% I had to create a weird setup and scale one to 100% to actually show the issue.

https://user-images.githubusercontent.com/38842733/131270478-076c1957-350b-40e1-94df-53eb7d8b482b.mp4

https://user-images.githubusercontent.com/38842733/131270482-038d6df2-28c0-4e23-b2f1-ed9c95f41f0f.mp4

Expected behavior

Tenacity adjuts to the scale factor of each monitor akin to GTK. That is what the user expects, and that is what most apps should do.

OS

Fedora 34 Wayland

Additional context

It seems Tenacity arbitrarily picks one monitor's scale factor to match. The only app off the top of my head which behaves similarly is Steam.

This issue is not a duplicate

Be-ing commented 3 years ago

This is likely an upstream wxWidgets bug.

Be-ing commented 3 years ago

Or is this a GTK issue? wxWidgets does not support GTK4; it is still on GTK3 and I doubt that will change for a long time. Do GTK3 applications usually adjust when switching to monitors with different scale factors?

vchernin commented 3 years ago

Or is this a GTK issue? wxWidgets does not support GTK4; it is still on GTK3 and I doubt that will change for a long time. Do GTK3 applications usually adjust when switching to monitors with different scale factors?

GTK 3 also supports adjusting to monitors with different scale factors, I just tried it.