Bug 492103

Summary: PlasmaCore.ToolTipArea produces "The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce." error every time it appears
Product: [Frameworks and Libraries] libplasma Reporter: Nate Graham <nate>
Component: tooltipsAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: minor CC: agurenko, Flupp+bugs.kde.org, kde, kdedev, notmart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2024-08-23 20:19:48 UTC
STEPS TO REPRODUCE
1. run `journalctl -f` in a terminal window.
2. Move the pointer over anything on your panel that will open a tooltip.


OBSERVED RESULT
journal log gets an entry that says "The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce." right before the tooltip appears


EXPECTED RESULT
No log spam.


ADDITIONAL INFORMATION
The message says to open a Qt bug, but might this be our issue anyway?
Comment 1 TraceyC 2024-10-07 16:52:16 UTC
I am not able to reproduce this on git-master, but can reliably reproduce on 6.1.5

I can't reproduce on a panel that fills the width of the screen, but one that uses 
Width: Fit Content

I only see these QTBUG logs with pidgin, not with other icons in the task manager (although they all produce the same DRM_FORMAT_INVALID errors *for pidgin*, even when pidgin is not in the taskbar and only in the system tray - both on git-master and 6.1.5)
Other items in the panel, outside the taskbar that produce a tooltip generate no errors for me on either system

With pidgin I see these every time I mouse over its icon:

Oct 07 11:17:03 tlc-xps17-solus pidgin[2080]: gst_video_dma_drm_fourcc_to_string: assertion 'fourcc != DRM_FORMAT_INVALID' failed
Oct 07 11:17:03 tlc-xps17-solus pidgin[2080]: gst_video_dma_drm_fourcc_to_string: assertion 'fourcc != DRM_FORMAT_INVALID' failed
Oct 07 11:17:03 tlc-xps17-solus pidgin[2080]: gst_video_dma_drm_fourcc_to_string: assertion 'fourcc != DRM_FORMAT_INVALID' failed
Oct 07 11:17:03 tlc-xps17-solus pidgin[2080]: gst_video_dma_drm_fourcc_to_string: assertion 'fourcc != DRM_FORMAT_INVALID' failed
Oct 07 11:17:03 tlc-xps17-solus pidgin[2080]: gst_video_dma_drm_fourcc_to_string: assertion 'fourcc != DRM_FORMAT_INVALID' failed
Oct 07 11:17:03 tlc-xps17-solus plasmashell[1671]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Oct 07 11:17:05 tlc-xps17-solus plasmashell[1671]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Comment 2 Flupp 2025-03-20 12:52:01 UTC
I can also reproduce the problem. However, I can only reproduce if the display scaling is greater than 100%.

This journal message also occurs when the volume OSD *closes* after pressing a volume hotkey (and display scaling is greater than 100%).

Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20L50000GE
System Version: ThinkPad T480