Created attachment 180914 [details] Video showing the problem See attached video for more details about the problem. The Tabbed UI offers a hamburger menu for each tab in the top-right corner. Clicking it should show a context menu with the available options. However, using kf5, when you click it and move the mouse somewhere else, the menu will appear where the mouse is positioned instead of opening where the hamburger menu is. I have tested under "gen" and "gtk3" and the context menu always opens where the hamburger menu is. The problem only happens with kf5. System info Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: cb83063cc0eb4e93bd44bc0cb9b7c4841230cdef CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: threaded
After a bit more testing I noticed that all context menus under kf5 have a similar behavior. However, in KDE applications the hamburger menus and context menus always open in the position where the click happened. So this should be a fix for all context menus in LibreOffice under kf5.
Pending potential fix: https://gerrit.libreoffice.org/c/core/+/136356
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ee3976f2c613f9015477ab327996c074e8516f9d tdf#149680 qt: Open native popup menu at given position It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/fc5edcf8c02ce81715a3db7c58e9b6d4a9a3b796 tdf#149680 qt: Open native popup menu at given position It will be available in 7.4.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified with Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: d2dfc0c4286057f5d8dda178817de3503c3a7d29 CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: threaded Thanks Michael for the fix.
Michael Weghorn committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/3f8c6e73bc23d3295ea97f204745cf1869272c66 tdf#149680 qt: Open native popup menu at given position It will be available in 7.3.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 148617 has been marked as a duplicate of this bug. ***