https://bugs.kde.org/show_bug.cgi?id=425188
David Hurka <david.hu...@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Version Fixed In| |20.12 Status|CONFIRMED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/okular/commit/7bac65ed | |6824d078abf6d49aab43b27a9ec | |7362f --- Comment #11 from David Hurka <david.hu...@mailbox.org> --- Git commit 7bac65ed6824d078abf6d49aab43b27a9ec7362f by David Hurka. Committed on 08/11/2020 at 12:19. Pushed by davidhurka into branch 'fix-qscroller-screen-crash'. Fix QScroller crash on Qt < 5.14 and certain screen arrangements QScrollerPrivate::setDpiFromWidget() before Qt 5.14 crashes when the target widget does not intersect a physical screen, because QDesktopWidget returns screen index `-1` in this case, which leads to an out-of-range read from QApplication::screens(), which leads to a segfault when reading from an invalid QScreen* pointer. This adds a workaround that checks for the `-1` situation, and then tries to resize PageView temporarily to intersect at least some screen. FIXED-IN: 20.12 M +15 -0 ui/pageview.cpp https://invent.kde.org/graphics/okular/commit/7bac65ed6824d078abf6d49aab43b27a9ec7362f -- You are receiving this mail because: You are watching all bug changes.