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

Fixed menu scaling issue by disabling the use of GTK popover #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Aleksanaa
Copy link

Fixes #9.
Although I don't know why Hyprland displays this abnormally, removing the use of popover in dropdown menu doesn't seem to cause a regression.
Related document:
https://docs.gtk.org/gtk3/method.MenuButton.set_use_popover.html
https://docs.gtk.org/gtk3/method.MenuButton.set_menu_model.html

@Aleksanaa
Copy link
Author

Before:
image
After:
image

@kRHYME7
Copy link

kRHYME7 commented Oct 11, 2023

Thanks!

@maxmbed
Copy link

maxmbed commented Nov 14, 2023

Thanks a lot. This fix the issue on my side too.

@charmoniumQ
Copy link

Can confirm the issue and that the PR resolves the issue.

Here's a Nix expression which can test it (however, if nixpkgs gets updated, this expression may not work):

(wdisplays.overrideAttrs (attr: {
  patches = (if attr ? patches then attr.patches else []) ++ [(fetchurl {
    url = "https://github.com/artizirk/wdisplays/commit/50e549465d63cdcac1deb385d437a66cb2d08f43.diff";
    hash = "sha256-W9Qk4aX0s+thNy9Slsaz/v2dw+4bLV/OsWH4vhgtXRE=";
  })];
}))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tiny menu dropdown
4 participants