Description: When accessing recent documents from either File/Recent Documents or the Toolbar's Open Dropdown, entries display a tooltip with the full file path. These tooltips are missing for me on current 24.8.0.3 under KDE/Plasma and XFCE, but are present under Windows and under ICEWM. Steps to Reproduce: 1.Launch Libreoffice under KDE/Plasma or XFCE 2.Open a document or spreadsheet 3.Hover mouse over a recent document entry in File/Recent Documents, or by clikcing the dropdown on the toolbar Open button Actual Results: No tooltip is visible to display the full file path. Expected Results: A tooltip showing the complete file path will appear. This is the products standard previous behaviour on all platforms, and is extremely useful when working with files in various locations. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 24.8.0.3 (X86_64) / LibreOffice Community Build ID: 480(Build:3) CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+xcb) Locale: en-GB (en_GB.UTF-8); UI: en-GB Calc: threaded
Created attachment 196758 [details] Screenshot comparing correct and incorrect behaviour
Note this is second bug I've recently encountered that seems to be KDE specific - perhaps something with QT integrations? (prior was https://bugs.documentfoundation.org/show_bug.cgi?id=163119)
This feature was implemented in 4.3 with dd7a3f5fb873b77da326eb8339c2ef9e3bf4fbd1 Looks like it has never worked with the gtk and kde UIs. I tested with gtk3 even in 5.3. I was unable to run gtk2 UIs in older versions. Works fine with gen UI and on Windows.
We use the GMenuModel in gtk3 for these menus, and that doesn't support tooltips: https://gitlab.gnome.org/GNOME/gtk/-/issues/785 see bug#125076 for similar
Right, so for GTK3 this is a duplicate of bug 125076. What about Qt?
(In reply to Buovjaga from comment #5) > Right, so for GTK3 this is a duplicate of bug 125076. What about Qt? Seems to be possible, maybe easier with welded menu? https://stackoverflow.com/questions/60484006/how-to-include-tooltips-for-menu-items-in-qt I'm not seeing tooltips with SAL_VCL_QT_USE_WELDED_WIDGETS=1 yet :)
(In reply to Buovjaga from comment #6) > Seems to be possible, maybe easier with welded menu? > https://stackoverflow.com/questions/60484006/how-to-include-tooltips-for- > menu-items-in-qt That approach should indeed work - independent of welding because menus are native Qt menus independent of whether or not Qt welding is used. (They use some own pre-weld mechanism to allow for each VCL plugin/platform to use a native menu.)
Pending Gerrit change: https://gerrit.libreoffice.org/c/core/+/180408
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a108fce773d46441e30dcc14abe29751410ae4ed tdf#163186 qt: Show menu item tooltips It will be available in 25.8.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.
Verified, thanks Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: bebadddfb999f678a44cdc486dfd91f38e563c9f CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded
Original reporter here: I haven't had the chance to test, but thanks all involved for the rapid fix!