Bug 232800 - [GTK] Unable to reach bottom items of popup menus which are longer than the screen height
Summary: [GTK] Unable to reach bottom items of popup menus which are longer than the s...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Other Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-07 12:46 PST by Dr. Rolf Jansen
Modified: 2021-11-07 14:14 PST (History)
2 users (show)

See Also:


Attachments
Two Screenshot in one file (195.26 KB, image/png)
2021-11-07 12:46 PST, Dr. Rolf Jansen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Rolf Jansen 2021-11-07 12:46:07 PST
Created attachment 443518 [details]
Two Screenshot in one file

Note, I posted this first on the Epiphany issue tracker (https://gitlab.gnome.org/GNOME/epiphany/-/issues/1617), and I was asked to report this here because popup buttons are implemented by WebKitGTK. Therefore, said issue had been closed already on the Epiphany tracker.

I ship Epiphany in GNOME3 on FreeBSD 13-RELEASE together with my electrochemical device control software. Recently, I was asked to add a control panel for a second device in the same window with the first device. I decided to put the panel below of the other. Each device panel got two popup menus for setting the ranges of voltage and current respectively. The menus for the current ranges are quite long ones, because current measurements may happen over 12 decades. Now the problem is that said menu of the second panel is longer than the screen size, and there is no way to reach the bottom item in the menu with the mouse. We can blindly select it with the cursor-down key though.

For me it would be already OK if the height of the popup menu would be limited when it touches the bottom of the browsers window, and with that we could reach the bottom items with the scrollbar. There might be better options, for example Safari shifts-up the whole menu above the popup button.

Screenshot 1 shows the respective menu of the first device. Here we have enough place and all items can be selected with the mouse. In Screenshot 2 in the range menu of the second device, the last item '10000' cannot be reached, it lies outside of the screen.