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

Wayland - Menu scrolling broken #1423

Open
DMJC opened this issue Dec 15, 2023 · 9 comments
Open

Wayland - Menu scrolling broken #1423

DMJC opened this issue Dec 15, 2023 · 9 comments

Comments

@DMJC
Copy link

DMJC commented Dec 15, 2023

Expected behaviour

in Wayland when you have more menu items than screen space e.g in Applications -> Internet there is an option in X11 to scroll through the menu to view items which don't fit on the screen.

Actual behaviour

Scrolling doesn't work, and the arrow to scroll down through the menu never appear.

Steps to reproduce the behaviour

Create a menu in mate-panel with more items than will fit on the screen.

MATE general version

1.27.1

Package version

1.27.1-2

Linux Distribution

Debian Trixie 13 (prerelease)

Link to bugreport of your Distribution (requirement)

@lukefromdc
Copy link
Member

Just confirmed it here by setting window scaling to 3x in wayfire

@lukefromdc
Copy link
Member

Wondering if this might be fallout from work years ago to keep scrollbars from appearing when adequate space is available. There were real problems with this somewhere around 8 years ago after a GTK change. Whatever the fix is it will probably have to be wayland specific to avoid putting scrollbars on x11 menus with adequate space.

@Hagar01
Copy link

Hagar01 commented Mar 31, 2024

Still a problem in 1.28

@lukefromdc
Copy link
Member

So far I have been unable to find out where this is happening. Do you have similar issues with any other GTK 3 apps in wayland with a long menu and scaling? If so it might be a GTK issue, if not the problem's somewhere in caja

@Hagar01
Copy link

Hagar01 commented Apr 3, 2024

I searched for an app that uses GTK 3 and found Terminus.
Very simple.
I opened the preferences and placed it near the top edge - the menu showed the scroll arrows and scrolled up until the entire menu was on the screen - then they disappeared.
I am yet to find a GTK 3 app with a longer menu.

@Hagar01
Copy link

Hagar01 commented Apr 3, 2024

OK, pavucontrol is GTK-3 and GTK-3 is linked to wayland.
setting the dpi to 1.5 shrank my display.
One of the settings then went full screen and then when the menu scrolled to fill the screen the same behaviour occurred.
So it appears to be a GTK3 issue.

@lukefromdc
Copy link
Member

lukefromdc commented Apr 3, 2024 via email

@Hagar01
Copy link

Hagar01 commented Apr 5, 2024

I would then assume that moving GtkMenu, GtkMenuBar and GtkMenuItem to GtkPopoverMenu and GtkPopoverMenuBar would be a priority, although complex.

@lukefromdc
Copy link
Member

lukefromdc commented Apr 5, 2024 via email

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

No branches or pull requests

3 participants