Bug 439687 - albumArtImage.paintedWidth is not a fixed value in grouped tooltips
Summary: albumArtImage.paintedWidth is not a fixed value in grouped tooltips
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.22.2
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-09 16:01 UTC by Fushan Wen
Modified: 2021-07-09 16:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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