Bug 505745 - "Colours and themes" submenu on hover shows bubble with same item name.
Summary: "Colours and themes" submenu on hover shows bubble with same item name.
Status: RESOLVED FIXED
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.15.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-06-18 14:46 UTC by Erwin Iosef
Modified: 2025-06-25 12:39 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.16
Sentry Crash Report:


Attachments
bubble showing exisitng menu name needlessly on hover (66.12 KB, image/png)
2025-06-18 14:46 UTC, Erwin Iosef
Details
Bug reoccurence in Display & Monitor (17.12 KB, image/png)
2025-06-25 12:38 UTC, Erwin Iosef
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erwin Iosef 2025-06-18 14:46:25 UTC
Created attachment 182362 [details]
bubble showing exisitng menu name needlessly on hover

The submenu items shown here on mouse hover show their names on top needlessly, it doesn't happen on any other menus of systemsettings and stops happening on "Colors and themes" when you switch main menus. It can be re-encountered when closing and opening the app and accessing the colors and themes menu first.
Seems like it was from some leftover code. Looks too handholdy.
Comment 1 Nate Graham 2025-06-18 15:33:24 UTC
That's a little bit silly, yes!
Comment 2 Nate Graham 2025-06-18 15:35:57 UTC
Looks like this is a general issue in our ItemDelegate styling.
Comment 3 Nate Graham 2025-06-18 15:45:05 UTC
I broke this in 16f768b4292e3b0c128c8d5906dfa6985aa73b81. :/
Comment 4 Bug Janitor Service 2025-06-18 15:47:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/463
Comment 5 Nate Graham 2025-06-19 14:24:51 UTC
Git commit 0c0e8afdbcc7ab44e8aaf95880aa9ef67c489210 by Nate Graham.
Committed on 18/06/2025 at 15:45.
Pushed by ngraham into branch 'master'.

Check for text truncation correctly to fix tooltip visibility

This regressed in 16f768b4292e3b0c128c8d5906dfa6985aa73b81 where I
changed this to look for the label itself, but that might not be
assigned in time, breaking the binding. The older method was more
reliable.
FIXED-IN: 6.16

M  +1    -1    org.kde.desktop/CheckDelegate.qml
M  +1    -1    org.kde.desktop/ItemDelegate.qml
M  +1    -1    org.kde.desktop/RadioDelegate.qml
M  +1    -1    org.kde.desktop/SwitchDelegate.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/0c0e8afdbcc7ab44e8aaf95880aa9ef67c489210
Comment 6 Erwin Iosef 2025-06-19 14:30:28 UTC
Thanks Nate!
Comment 7 Nate Graham 2025-06-19 14:33:00 UTC
You're welcome!
Comment 8 Erwin Iosef 2025-06-25 12:37:26 UTC
Nate I found more "traces" of the bug in Display Monitor settings, yes they pop up only when that menu is opened first and items hovered on in systemsettings.
Comment 9 Erwin Iosef 2025-06-25 12:38:51 UTC
Created attachment 182647 [details]
Bug reoccurence in Display & Monitor
Comment 10 Erwin Iosef 2025-06-25 12:39:34 UTC
Oh wait never mind you fixed it anyway in 6.16