Bug 232800

Summary: [GTK] Unable to reach bottom items of popup menus which are longer than the screen height
Product: WebKit Reporter: Dr. Rolf Jansen <rj>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: Other   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
Two Screenshot in one file none

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.