Bug 162477 - Improve tooltip timing (qt6/kf6)
Summary: Improve tooltip timing (qt6/kf6)
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Tooltip Qt6
  Show dependency treegraph
 
Reported: 2024-08-15 06:10 UTC by Heiko Tietze
Modified: 2024-10-01 11:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2024-08-15 06:10:45 UTC
Moving the cursor from one control to another keeps the active tooltip visible and changes only the text. Instead we should hide the tooltip onleave.

Pascal knows three parameters for tooltip timings:

HintHidePause: time interval to wait before hiding the Help Hint if the mouse has not moved from the control or menu item
HintPause: time interval that passes before the control's Help Hint appears when the user places the mouse pointer on a control or menu item
HintShortPause: time period to wait before bringing up a Hint if another Hint has already been shown
(https://docwiki.embarcadero.com/Libraries/Athens/en/Vcl.Forms.TApplication.Hint)
Comment 1 Buovjaga 2024-10-01 11:16:50 UTC
After testing it turns out this only affects KDE.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 298c2d5c8a6791aa6e5846b698d521079aaa445d
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 1 October 2024
Comment 2 Michael Weghorn 2024-10-01 11:41:24 UTC
I've seen this in the past, but interestingly, I currently don't see it with my qt6 build on Wayland in a KDE Plasma Dev session with current Qt dev version.

In any case, I see the same with Okular on Wayland, but not when forcing the xcb backend to run on XWayland instead, using QT_QPA_PLATFORM=xcb.

-> closing as NOTOURBUG, as this is most likely some Qt or KF issue


Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0679a5cee16ae96c0d11e7d4fc1e59fb0f9cc591
CPU threads: 32; OS: Linux 6.10; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded