Description: Long drop-down menus from the toolbar overlap their parent toolbar button. For example, on a 1366x768 resolution, in Writer, the "Format" menu is rather long and overlaps the parent "Format" button. This happens with drop-down menus that reach the bottom of the screen. Steps to Reproduce: 1.Open any LibreOffice application 2.Click on a toolbar button that has a long drop-down menu, such as Format, in Writer Actual Results: The drop-down menu covers up the parent toolbar button Expected Results: The drop-down menu's top should be lined up with the bottom of the toolbar like shorter drop-down menus are Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: [Information automatically included from LibreOffice] Locale: en-GB Module: TextDocument [Information guessed from browser] OS: Linux (All) OS is 64bit: yes [From Help - About LibreOffice] Version: 5.4.2.2.0+ Build ID: 40m0(Build:2) CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: en-GB (en_GB.UTF-8); Calc: group [From neofetch] OS: Solus x86_64 Kernel: 4.13.11-31.current Resolution: 1366x768 DE: Budgie Theme: Arc-Darker [GTK2/3] Icons: Moka [GTK2/3] CPU: Intel i5-4210U (4) @ 2.700GHz GPU: Intel Integrated Graphics Memory: 7877MiB User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Created attachment 137615 [details] Screenshot showing long drop-down menu bug. First is expected behaviour.
did it work in the previous 5.3.x releases or in ealier 5.4.x versions?
(In reply to tommy27 from comment #2) > did it work in the previous 5.3.x releases or in ealier 5.4.x versions? I don't know. I have only tried and can only install version 5.4.2.2 on Solus. Installing an older version would require building it myself which I do not have the expertise to do.
(In reply to siphomateke from comment #3) > (In reply to tommy27 from comment #2) > > did it work in the previous 5.3.x releases or in ealier 5.4.x versions? > > I don't know. I have only tried and can only install version 5.4.2.2 on > Solus. Installing an older version would require building it myself which I > do not have the expertise to do. You don't have to build them: https://wiki.documentfoundation.org/Installing_in_parallel/Linux But this might just be GTK3 behaviour that is out of our control. You can try by launching from the command line: SAL_USE_VCLPLUGIN=gtk libreoffice It will launch it with GTK2.
(In reply to Buovjaga from comment #4) > (In reply to siphomateke from comment #3) > > (In reply to tommy27 from comment #2) > > > did it work in the previous 5.3.x releases or in ealier 5.4.x versions? > > > > I don't know. I have only tried and can only install version 5.4.2.2 on > > Solus. Installing an older version would require building it myself which I > > do not have the expertise to do. > > You don't have to build them: > https://wiki.documentfoundation.org/Installing_in_parallel/Linux > > But this might just be GTK3 behaviour that is out of our control. > > You can try by launching from the command line: > SAL_USE_VCLPLUGIN=gtk libreoffice > > It will launch it with GTK2. Running libreoffice with GTK2 fixed the issue. So I guess this is a GTK3 issue?
I switched the resolution to 1366x768 and I can reproduce this. I compared it with Firefox (added bookmarks to make the menu long) and it just has the triangles at the top and bottom - the menu does not go over the toolbar. Arch Linux with GNOME desktop Version: 5.4.3.2 Build ID: 5.4.3-4 CPU threads: 1; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); Calc: group
They're native gtk3 menus and menubars, how they behave is out of our control. e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1380402#c2 standalone demo
*** Bug 114491 has been marked as a duplicate of this bug. ***
*** Bug 115238 has been marked as a duplicate of this bug. ***
*** Bug 120813 has been marked as a duplicate of this bug. ***
*** Bug 120817 has been marked as a duplicate of this bug. ***
*** Bug 108117 has been marked as a duplicate of this bug. ***
*** Bug 125832 has been marked as a duplicate of this bug. ***
Looking at dupe bug 125832, xfce with gtk3 rendering the menu list extends to application frames with more to show, yet still does not expose a v-scrollbar for the menu. Is that back on us?
*** Bug 135046 has been marked as a duplicate of this bug. ***
*** Bug 161597 has been marked as a duplicate of this bug. ***
In a duplicate it was asked "Any way to resolve this?", so I went digging into GTK's issue tracker. I found this: https://gitlab.gnome.org/GNOME/gtk/-/issues/543 GtkPopover is constrained to parent window size on non-Wayland backends It will never be fixed for X11, so anyone affected can switch to Wayland.
The issue is present for Wayland as well.