qpdfview frequently freezes upon toggling "views" (ctrl 6, ctrl 8, etc)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
Fix Released
|
Critical
|
Adam Reichold |
Bug Description
Follow-up from #6 and #7 from https:/
Playing around with Ctrl 6 .. 9 (the equivalent of for example View > Two Pages)
_often_ (not always...)
freezes qpdfview and consumes significant system resources on my venerable Thinkpad X41. Sometimes it recovers, other times my patience runs out sooner.
Adam had asked me to run/launch qpdfview via the terminal which I did: the following pops up when trying to change the "view" by said shortcuts:
(...)
QPainter::restore: Unbalanced save/restore
(...)
QPainter:
(...)
QPainter::setPen: Painter not active
QPainter::opacity: Painter not active
QPainter::brush: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter:
QPainter::drawPath: Painter not active
(...)
QPainter::end: Painter not active, aborted
(...)
This happens to all sorts of different pdf's and does not seem to be related to size. It happens also in pdf's which contain nothing but text (no images).
Hello thinkpad,
Can you give us some background on the operating system you are running and which package and version of qpdfview you use? The issues seem to be related to (our usage of) Qt's painting system, e.g. I will review the code for unbalanced save/restore pairs. We also had another user who had problems using Qt5 and multiple monitors. Maybe you could check whether using a Qt4-based package alleviates the problem? If it doesn't could you maybe pack your configuration files from "~/.config/ qpdfview" into an archive and attach it to this bug? Thanks.
Best regards, Adam.