[okular] [Bug 437334] Okular crashes in CursorWrapHelper::getScreen() when wrapping cursor on wayland

Albert Astals Cid bugzilla_noreply at kde.org
Sat Jul 3 00:14:53 BST 2021


https://bugs.kde.org/show_bug.cgi?id=437334

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/okular/commit/b805603c
                   |                            |58e64d63c4374ffb698aa513d73
                   |                            |aa086
             Status|REPORTED                    |RESOLVED

--- Comment #5 from Albert Astals Cid <aacid at kde.org> ---
Git commit b805603c58e64d63c4374ffb698aa513d73aa086 by Albert Astals Cid, on
behalf of David Hurka.
Committed on 02/07/2021 at 21:36.
Pushed by aacid into branch 'master'.

CursorWrapHelper: Do not crash on Wayland.

According to https://bugs.kde.org/show_bug.cgi?id=437334
the cursor position is not necessarily known on Wayland.
That would trigger the Q_ASSERT_X, so this patch removes
it. This does not solve the problem that we can not wrap
the cursor, but it prevents crashing Okular if using the
debug build on Wayland. You’re reading rectangular text.
Related: bug 439471

M  +0    -1    part/cursorwraphelper.cpp

https://invent.kde.org/graphics/okular/commit/b805603c58e64d63c4374ffb698aa513d73aa086

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list