[kde] [Bug 479153] New: PyQt6 app reports The cached device pixel ratio value was stale on window expose.

Barry Scott bugzilla_noreply at kde.org
Fri Dec 29 11:24:45 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=479153

            Bug ID: 479153
           Summary: PyQt6 app reports The cached device pixel ratio value
                    was stale on window expose.
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: barry at barrys-emacs.org
  Target Milestone: ---

Created attachment 164534
  --> https://bugs.kde.org/attachment.cgi?id=164534&action=edit
qtbug.py

SUMMARY

PyQt6 programs report "The cached device pixel ratio value was stale on window
expose.  Please file a QTBUG which explains how to reproduce." when exiting.

The same code running under Fedora 39 KDE with Qt 6.6.0 does not show the
error.

STEPS TO REPRODUCE
1. Run the attached qtbug.py script from a terminal.
2. Click on [X] to close the window
3. Error message shown in terminal.

OBSERVED RESULT

$ py3 qtbug.py
The cached device pixel ratio value was stale on window expose.  Please file a
QTBUG which explains how to reproduce.

EXPECTED RESULT

No error printed.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora rawhide: KDE plasma 6.0 beta 2
(available in About System)
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
PyQt6 Version: python3-pyqt6-6.6.1-1.fc40.x86_64
ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list