Bug 439687

Summary: albumArtImage.paintedWidth is not a fixed value in grouped tooltips
Product: [Plasma] plasmashell Reporter: Fushan Wen <qydwhotmail>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED NOT A BUG    
Severity: minor CC: plasma-bugs
Priority: NOR    
Version: 5.22.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=439589
Latest Commit: Version Fixed In:

Description Fushan Wen 2021-07-09 16:01:18 UTC
SUMMARY
When hovering on the player icon for the second time, albumArtImage.paintedWidth becomes a changing value.

STEPS TO REPRODUCE
1. Add "onPaintedWidthChanged: {if (visible) {console.log("PaintedWidth = ", paintedWidth);}}" to the albumArtImage element in ToolTipInstance.qml, and restart plasmashell in Konsole.
2. Move your mouse to a player icon, and wait for the album art image shown.
3. Move your mouse away from the task bar
4. Move your mouse to the player icon again

OBSERVED RESULT
Output in Konsole:
qml: PaintedWidth =  48
qml: PaintedWidth =  126.22222222222223

EXPECTED RESULT
Output in Konsole:
qml: PaintedWidth =  126.22222222222223

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210706
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/525#note_269933
Comment 1 Fushan Wen 2021-07-09 16:03:39 UTC
My mistake