Bug 450292

Summary: A tooltip with big empty space appears when we hover over certain window properties.
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_kwinrulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: isma.af, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2022-02-15 08:06:10 UTC
Created attachment 146756 [details]
screenshot

STEPS TO REPRODUCE
1. open Window Rules KCM
2. click on 'Add new...' button
3. click on 'Add property...' button on bottom
4. hover over the properties available

OBSERVED RESULT
a tooltip with big empty space appears when we hover over certain properties.
Please see the atached screenshot.

EXPECTED RESULT
tooltip without unnecessary empty space

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-02-16 00:37:44 UTC
IIRC this is a bug in the QQC2 tooltip sizing code when using long text that has certain types of line breaks. Might be possible to work around it in the KCM code though.
Comment 2 Patrick Silva 2022-08-11 16:06:58 UTC
Cannot reproduce.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Graphics Platform: Wayland