Bug 475646

Summary: Tooltips for UI elements in open applet pop-up can move to the panel and stay open forever when the popup is closed without moving the mouse
Product: [Plasma] plasmashell Reporter: Omar <omervx211>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, niccolo.venerandi, nilskemail+kde, ondrej.mach, pip.kde, thepixelbozz
Priority: NOR    
Version: 5.27.8   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=491081
https://bugs.kde.org/show_bug.cgi?id=492493
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: The notification pic after i connect to wifi

Description Omar 2023-10-15 05:55:52 UTC
Created attachment 162317 [details]
The notification pic after i connect to wifi

SUMMARY
***
This  notification doesn’t go away after i connect to wifi im on kubuntu 22.04 plasma version 5.27.8 and im using win10 dark theme

NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.27.8
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-10-16 20:07:39 UTC
Can reproduce as follows:

1. Open a Plasma widget in the System Tray
2. Hover over a UI element that has a tooltip but that is NOT in the header row on top. For example, the wifi checkbox/switch
3. Hit the Meta key

The popup closes but the tooltip that was visible before has not moved over to the panel, where it will remain visible until clicked.

Hypothesis: closing the popup via the keyboard means that no "pointer left the UI element" signal gets sent, so the tooltip doesn't know to close, so instead it moves over to its parent window (the Panel).
Comment 2 Nate Graham 2024-04-12 01:31:42 UTC
*** Bug 484308 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2024-06-21 18:51:57 UTC
*** Bug 488904 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2024-06-21 18:52:15 UTC
*** Bug 488912 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-08-18 22:47:07 UTC
*** Bug 485054 has been marked as a duplicate of this bug. ***
Comment 6 Bug Janitor Service 2024-08-28 14:32:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1187
Comment 7 Niccolò Venerandi 2024-09-18 13:35:04 UTC
Git commit 0a37523f50579b6e9335e85ed56fc9722a4c8aed by Niccolò Venerandi.
Committed on 18/09/2024 at 13:35.
Pushed by niccolove into branch 'master'.

Use delayed binding for ToolTip visibility

Previously, the binding would get evaluated too soon and tooltips
could remain stuck open.
FIXED-IN: 6.2.0

M  +7    -1    src/declarativeimports/plasmacomponents3/ToolTip.qml

https://invent.kde.org/plasma/libplasma/-/commit/0a37523f50579b6e9335e85ed56fc9722a4c8aed
Comment 8 Niccolò Venerandi 2024-09-18 13:35:16 UTC
Git commit c49813b672892012e87b258e2ae6890207d27033 by Niccolò Venerandi.
Committed on 18/09/2024 at 13:35.
Pushed by niccolove into branch 'Plasma/6.2'.

Use delayed binding for ToolTip visibility

Previously, the binding would get evaluated too soon and tooltips
could remain stuck open.
FIXED-IN: 6.2.0


(cherry picked from commit 0a37523f50579b6e9335e85ed56fc9722a4c8aed)

b8e5f1f5 Use delayed binding for ToolTip visibility

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +7    -1    src/declarativeimports/plasmacomponents3/ToolTip.qml

https://invent.kde.org/plasma/libplasma/-/commit/c49813b672892012e87b258e2ae6890207d27033