-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Menus on MATE Panel do not have up and down scroll buttons on low screen resolutions or with long lists #920
Comments
CONFIRMED on Debian Unstable: even worse, those areas of the menu that render off-screen are not displayed. I need to see if this is fallout from GTK changes or from replacing deprecated gtk_menu_popup with gtk_menu_popup_at_widget (testing the panel button here) To duplicate this bug, first turn off icons on the desktop in dconf-editor so you don't rearrance your desktop icons. Then open up the display capplet and lower screen resolution until menus no longer fit the screen. Other menus sometimes show scrollbars when they get an item added but don't get resized so its not like GTK just made this impossible. |
I just confirmed the problem commits as being the replacement of gtk_menu_popup with gtk_menu_popup_at_widget. For the menu button that is Doing that brings back the scrollbars on the panel button but not the panel menubar, which was deliberately not reverted for this test so as to provide a standard of comparison. I now have to see if it is possible in GTK 3.24 to keep the scrollbars at all without using deprecated old style gtk_menu_popup . |
Got same problem with gtk_menu_popup_at_pointer |
gtk problem? |
I tested gnome-panel, and found that gnome-panel's menu button will show scrollbars but NOT the menubar. I then found the scrollbars in mate-panel's menubutton and menubar work fine with gtk3 rolled back to gtk-3.22.30 but neither works with GTK 3.24, so we have either a gtk change that we need to adapt to or a gtk bug, not sure which. The gnome-panel code is a bit more complex, my guess is the menu is not getting this display size constraints passed to it with GTK 3.24 in our code but is getting it OK in gnome-panel's menu button (but not their menu bar) |
I just found that adding |
So far I have been able to fix the menu button and the alt-F1 menu popup but NOT the menubar, that code might be internal to GTK and beyond our reach without reimplementing menubar. That might explain why the menubar has this issue in gnome-panel too. I tested rolling back mate-panel and mate-menus all the way to a 1.18 version (before any of the popup deprecation work) and the menubar still would not show scrollbars. This again shows that the change is inside GTK. |
#922 |
Thank you for analysis, @lukefromdc! |
I would suggest to first retest with current GTK 3-24 branch (if that has not been done already): And in case it is still reproducible open issue in GTK... |
I see GTK 3.24.5 just came out, I will build and test that now |
Problem still exists with GTK 3.24.5-and did NOT exist with GTK 3.24.3, which I built on Jan 15. I suspect |
Perhaps it is time to create one? After all GTK is important part of your desktop environment... |
I got locked out of the last account I had with GNOME. I use extremely locked down privacy browsers that break the majority of the commercial Internet and hard block things like Facebook and Google. I can try the new site, but I will not have time to debug it if it rejects an attempt to make an account. Forming accounts on new sites has always been an issue for me, and I won't connect a default browser to the Internet to get around that under any circumstances. |
I just found that the GNOME gitlab can piggyback off of Github for account sign-in (as bountysource does), solving the account issue. Let's hope this one keeps |
The issue seems to be a new case of |
Just posted |
Turns out that was a GTK4 only issue report, new issue posted at |
https://gitlab.gnome.org/GNOME/gtk/merge_requests/565 |
I did run for myself in this issue with fedora rawhide. |
https://gitlab.gnome.org/GNOME/gtk/merge_requests/565 has been merged with |
Expected behaviour
applications menu has scroll buttons as shown on screenshot from Ubuntu MATE 16.04 LTS:
Actual behaviour
applications menu does not have scroll buttons and looks non-intuitive as shown on screenshot from Ubuntu MATE 18.04 LTS:
Steps to reproduce the behaviour
MATE general version
1.20 as in Ubuntu MATE 18.04 LTS
Package version
mate-panel 1.20.1-3ubuntu1
Linux Distribution
Ubuntu 18.04 LTS
Link to downstream report of your Distribution
https://bugs.launchpad.net/ubuntu/+source/mate-panel/+bug/1814421
Notes: this bug is actual for Ubuntu 18.04 LTS, 18.10 and upcoming Ubuntu 19.04 with Debian 10.
The text was updated successfully, but these errors were encountered: