ebook-viewer freezes on a system with 2 monitors

Bug #2043590 reported by Alexei Kuziakov
6
This bug affects 1 person
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://github.com/alexbft/pyqt6-webengine-6.5-bug

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)

Revision history for this message
Alexei Kuziakov (alexbft) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote :

Its a Qt bug not a pyqt bug and you can likely workaround it by turning
off hardware acceleration as described in
https://doc.qt.io/qt-6/qtwebengine-debugging.html

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.

Changed in calibre:
status: New → Invalid
Revision history for this message
Alexei Kuziakov (alexbft) wrote :

I've tried disabling the hardware acceleration and it didn't help. Thanks anyway.

Revision history for this message
Alexei Kuziakov (alexbft) wrote :

I've just tested my showcase on Qt 6.5.3. The bug still occurs. This probably won't be fixed for a while!

Revision history for this message
Kovid Goyal (kovid) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote :

It will certainly be many months before calibre moves to Qt 6.6

Revision history for this message
Alexei Kuziakov (alexbft) wrote :

I'll try calibre 7 and see if the bug is still reproducible. Meanwhile I've updated my showcase to Qt 6.5.3 and disabled GPU acceleration.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.