Using QTimer.SingleShot to Report Minimizedness Gets the State Wrong
-
I installed PySide6 through pip. Version:
plasmashell 6.3.4
Fedora KDE spin 42.
Also somehow compiling the program on fedora does not seem to give me any printing.
EDIT Hmm... seems like a Qt bug, it works on my macOS as well.
Any tips? Thanks
-
I installed PySide6 through pip. Version:
plasmashell 6.3.4
Fedora KDE spin 42.
Also somehow compiling the program on fedora does not seem to give me any printing.
EDIT Hmm... seems like a Qt bug, it works on my macOS as well.
Any tips? Thanks
@johnzhou721 said in Using QTimer.SingleShot to Report Minimizedness Gets the State Wrong:
I installed PySide6 through pip. Version:
plasmashell 6.3.4
Fedora KDE spin 42.
I'm presuming that plasmashell is the KDE shell, which may not have anything to do with the Qt version. pypi.org doesn't list a corresponding package via the web search interface. Qt 6.3 was released in 2022. Fedora 42 was released in 2025. I would try upgrading to a more recent Qt release.
Getting the Qt version from PySide:
#!/usr/bin/env python3 from PySide6.QtCore import qVersion print(qVersion())
Also somehow compiling the program on fedora does not seem to give me any printing.
Does compiling refer to invoking a C++ or other language compiler, or running the resulting program? Printing as in writing text to the console? What does the code look like?
EDIT Hmm... seems like a Qt bug, it works on my macOS as well.
It could be. It could be intentional windowing system behavior. I can only speculate without code.
-
Hi,
Are you running wayland as window manager ?
-
Would it be possible to try it under Xorg to see if you have a different behavior ?
-
@SGaist Unfortunately installing the xorg backend seems to get my login screen frozen (except cursor) on logout... since I had to force a shutdown from my VM and something bad happened I ended up reinstalling, and I don't want to deal with this again... there's advice telling me to use
plasma-workspace-x11-6.0.3-1.fc40.x86_64.rpm
online to deal with this but then I use an ARM64 VM... how should I be delaing with this if testing on X11 is impossible? -
For the package, there's likely an ARM version available.
The thing is:
- it might be a wayland issue
- it might be a composer issue
- it might be a Qt/KDE issue
-
@SGaist Doesn't happen with X11. Thanks for investigating this.
-
So it looks like a wayland specific issue.
I would check the bug report system to see if there is something related and if not, please open a new issue with a sample script (even better if you could provide the C++ equivalent but not mandatory).
-
Thanks for the advice!! In case anyone wants to look at the ticket here it is: