kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/post/Kando-1-0-0-released-G2G5Z1DOS
Other
2.76k stars 83 forks source link

Issues on 4k screen with 200% scaling #605

Open DrGeor opened 1 month ago

DrGeor commented 1 month ago

Short Summary

Using Gome with a 4k screen set at 3840x2160 and 200% scaling in settings causes problems with menus opening at mouse pointer.

Steps to Reproduce the Issue

  1. Set resolution to 3840x2160 in Gnome display settings
  2. Set scaling to 200%
  3. Scale Kando menus using ctrl-shift + increases menu size
  4. Menus do not open at mouse pointer, and sometimes are off screen. ...

Kando Version

v1.3.0

Installation Method

Via a portable zip archive downloaded from a release on GitHub

Desktop Environment

GNOME on Wayland

Environment Version

Gnome 46 on Arch latest

Additional Information

No response

Schneegans commented 1 month ago

Hi there! Sorry for the late reply. But I fear, I cannot reproduce this. Have you tried enabling fractional scaling? This makes a difference even if the scaling is set to 200%. However, for me it works properly in both cases.

Does the issue only happen for an increased menu size? Or also at the standard size (Ctrl+0)?

DrGeor commented 4 weeks ago

Hi Simon, As always, great work. Loving the new menu themes.

I have 2 GPUs on my linux pc, internal Intel UHD730 and discrete NVIDIA 4060. The monitor is normally plugged into the NVIDIA card, and initially I thought this might be the problem (NVIDIA cards are notoriously problematic), so I have done some testing with both GPUs.

Internal Intel UHD730. Resolution 3840x2160 scaling 200% (without fractional scaling) = Menu does NOT open at mouse pointer. Same for ctrl-0 and larger. Resoution 3840x2160 scaling 200% ( WITH fractional scaling) = Menu opens at mouse pointer correctly. Same for ctrl-0 and larger. The only issue is when using kando scaling ctrl-shift+ with mouse pointer at far right or bottom, the menu is partially off screen, this does not happen at far top or left.

discrete Nvidia 4060. Exactly the same as above.

It is interesting that it works for you without fractional scaling.....maybe a setting on my pc or driver issues. Fractional scaling works, but menu shows partially off-screen when mouse pointer is far right or bottom.

So, with fractional scaling no major issues.

Hope this helps.

Schneegans commented 4 weeks ago

And that's all on Wayland? Can you also test this on X11?

DrGeor commented 4 weeks ago

Good point! I have now tested with X11 and the menu opens at the mouse pointer without fractional scaling.

So, Wayland is a problem without fractional scaling.

However, when far right or bottom with kando scaling the menu is still partially cut off with X11.

Happy to help.