ebook-viewer freezes on a system with 2 monitors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi there,
My calibre version: 6.29 for 64-bit Windows
OS version: Windows 11 Home edition 22H2
To reproduce the bug:
1. Open ebook-viewer.exe
2. Drag the window to a second monitor (on the right)
3. Close the window
4. Open ebook-viewer.exe again
Expected behavior:
The viewer app opens and displays recent books to view.
Actual behavior:
The viewer app freezes and becomes "not responding"
Notes:
I believe this is caused by a bug in PyQt6-WebEngine version 6.5.0. This bug appears fixed in 6.6.0. Please upgrade to a new version ASAP.
I have a short example that showcases the bug: https:/
Workaround for those having the same issue:
- Disable a second monitor in your Windows settings (or physically unplug it)
- Run ebook-viewer.exe once, make sure it stays on your primary monitor, close it
- Never move it to a second monitor again (at least until this is fixed)
Its a Qt bug not a pyqt bug and you can likely workaround it by turning /doc.qt. io/qt-6/ qtwebengine- debugging. html
off hardware acceleration as described in
https:/
As for updating the Qt version, that will happen next in calibre 7 but
to Qt 6.5.3 not Qt 6.6.0 as .0 Qt releases are very buggy.