Bug 433227

Summary: PC3 tooltip corner radius is not large enough
Product: [Frameworks and Libraries] libplasma Reporter: Mohammed Sameer <glifwentry>
Component: tooltipsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: minor CC: kde, nate, noahadvs, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.79.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: digital clock tooltip
network tooltip
edit mode tooltip
rounded tooltip dolphin

Description Mohammed Sameer 2021-02-19 08:26:50 UTC
SUMMARY
The tooltips which are shown when we hover over a item like menu in system tray does not have rounded corners. The tooltips in plasma panel & applications like dolphin, have rounded tooltip corners.
The issue is present in configure button of digital clock, application launcher etc.
EXPECTED RESULT
The tooltips in system tray should have rounded corners, similar to tooltips in other applications like dolphin which improves consistency.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-65-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-5010U CPU @ 2.10GHz
Memory: 3.8 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500
Comment 1 Mohammed Sameer 2021-02-19 08:28:30 UTC
Created attachment 135888 [details]
digital clock tooltip
Comment 2 Mohammed Sameer 2021-02-19 08:29:38 UTC
Created attachment 135889 [details]
network tooltip
Comment 3 Mohammed Sameer 2021-02-19 08:31:05 UTC
Created attachment 135890 [details]
edit mode tooltip
Comment 4 Mohammed Sameer 2021-02-19 08:32:38 UTC
Created attachment 135891 [details]
rounded tooltip dolphin
Comment 5 Nate Graham 2021-02-19 17:59:53 UTC
Yes, there are a few different tooltip implementations:
- The rounded ones in Dolphin and other apps are drawn by the QWidgets style
- The square ones in the System Tray are drawn by PlasmaComponents3.ToolTip
- Panel tooltips are drawn by PlasmaCore.ToolTipArea, which predates PlasmaComponents3.ToolTip

The bug here is that the PC3 version doesn't have rounded corners and a border  the way it should. Confirmed.

Noah, could I ask you take a look? Thanks!
Comment 6 Nate Graham 2021-06-09 16:53:27 UTC
Actually it looks like PC3 tooltips do in fact have rounded corners and borders, but they're 1) not big enough and 2) not scaled with the scale factor (Bug 422559).
Comment 7 Mohammed Sameer 2021-07-22 12:39:17 UTC
I cannot reproduce this issue.
Comment 8 Nate Graham 2021-07-22 12:46:25 UTC
Ah yes, this one was fixed in a recent Frameworks version. Thanks for following up!