Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on 4k screen with 200% scaling #605

Open
DrGeor opened this issue Sep 2, 2024 · 4 comments
Open

Issues on 4k screen with 200% scaling #605

DrGeor opened this issue Sep 2, 2024 · 4 comments
Labels
bug Something isn't working GNOME This affects GNOME only Linux This affects Kando on Linux

Comments

@DrGeor
Copy link

DrGeor commented Sep 2, 2024

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

@DrGeor DrGeor added the bug Something isn't working label Sep 2, 2024
@Schneegans
Copy link
Contributor

Schneegans commented Sep 7, 2024

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

@Schneegans Schneegans added Linux This affects Kando on Linux GNOME This affects GNOME only labels Sep 7, 2024
@DrGeor
Copy link
Author

DrGeor commented Sep 8, 2024

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
Copy link
Contributor

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

@DrGeor
Copy link
Author

DrGeor commented Sep 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GNOME This affects GNOME only Linux This affects Kando on Linux
Projects
None yet
Development

No branches or pull requests

2 participants