Bug 472670 - Non-attached Plasma tooltips have inconsistent colors when Breeze Classic color scheme is used
Summary: Non-attached Plasma tooltips have inconsistent colors when Breeze Classic col...
Status: CONFIRMED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: tooltips (show other bugs)
Version: 5.93.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-07-26 14:31 UTC by Patrick Silva
Modified: 2024-09-08 20:52 UTC (History)
5 users (show)

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


Attachments
screen recording (974.69 KB, video/webm)
2023-07-26 14:31 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-07-26 14:31:25 UTC
Created attachment 160542 [details]
screen recording

SUMMARY
The tooltips from buttons of the applets have dark text on light background. However, the tooltips from Kickoff have white text on dark background. Please watch the attached screen recording.

EXPECTED RESULT
tooltips with consistent colors

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 Patrick Silva 2023-07-26 15:02:45 UTC
This bug occurs when Breeze Classic color scheme is used.
Comment 2 Nate Graham 2023-07-26 20:35:19 UTC
Cannot reproduce; for me the System Tray button tooltips have the correct color scheme when I use the Breeze Classic color scheme. Might be a built-from-source vs distro-installed situation. Justin, are you able to reproduce this issue?
Comment 3 Nate Graham 2023-08-09 18:00:19 UTC
Are either of you still able to reproduce this issue today?
Comment 4 Patrick Silva 2023-08-09 19:02:42 UTC
The bug persists on my neon unstable.
Comment 5 Nate Graham 2023-08-09 19:11:14 UTC
:/
Comment 6 Nate Graham 2024-02-05 20:10:07 UTC
Can reproduce now.
Comment 7 Nate Graham 2024-02-05 20:15:33 UTC
Can also reproduce with the tooltips for icons-only buttons in:
- Individual System Tray widgets
- Digital Clock
- Icons-Only Task Manager tooltips

Cannot reproduce with the tooltips in:
- Kickoff
- Sticky Notes

Looks like the broken ones are using non-attached ToolTip instances. I also see a few code errors in individual applets.
Comment 8 Nate Graham 2024-02-05 20:22:34 UTC
Confirmed that. Switching the standalone ToolTip {} objects to use attached tooltip properties fixes the issue.
Comment 9 Bug Janitor Service 2024-02-05 20:23:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/534
Comment 10 Nate Graham 2024-02-06 15:30:16 UTC
Git commit daef6107bf40b791ab2860d9cd2c3fd317d5d3c3 by Nate Graham.
Committed on 06/02/2024 at 15:30.
Pushed by ngraham into branch 'master'.

applets/notes: use Plasma styling for as much as possible

We were previously using desktop styling for a bunch of buttons and
tooltips and one scrollview in this widget. These have Plasma versions,
so we should use those instead.

We can continue to use desktop styling for the context menu since we do
this throughout Plasma already.

M  +14   -14   applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/daef6107bf40b791ab2860d9cd2c3fd317d5d3c3
Comment 11 Nate Graham 2024-02-06 15:30:45 UTC
Git commit 3c07c6ab779968fb01219f1f16267218f7e21bcb by Nate Graham.
Committed on 06/02/2024 at 15:30.
Pushed by ngraham into branch 'Plasma/6.0'.

applets/notes: use Plasma styling for as much as possible

We were previously using desktop styling for a bunch of buttons and
tooltips and one scrollview in this widget. These have Plasma versions,
so we should use those instead.

We can continue to use desktop styling for the context menu since we do
this throughout Plasma already.


(cherry picked from commit daef6107bf40b791ab2860d9cd2c3fd317d5d3c3)

M  +14   -14   applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/3c07c6ab779968fb01219f1f16267218f7e21bcb