Bug 466293

Summary: Cannot scroll beyond the border of the screen using Wayland
Product: [Applications] okular Reporter: Jerôme Pouiller <jerome.pouiller>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: minor CC: benjaminwheeler0510, creideiki+kdebugs, doubjumper+kde, mihai, okitain, yanth
Priority: NOR    
Version First Reported In: 22.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jerôme Pouiller 2023-02-23 08:20:52 UTC
Under X11, when the user drag the preview pane, he is able to drag beyond the border of the window and even beyond the border of the screen. In the last case, the cursor wrap the screen.

In Wayland, user can still drag the preview beyond the window, but not beyond the screen. When he try, this error appear in the output of okular:

    qt.qpa.wayland: Setting cursor position is not possible on wayland

So, I assume the issue does not belong okular but I don't know exactly to who I should report it.
Comment 1 Benjamin 2024-01-13 05:44:14 UTC
I'm on openSuse on plasma/wayland and experience the same problem. I hope this is fixable, as this feature is awesome!
Comment 2 Karl-Johan Karlsson 2025-06-20 16:56:00 UTC
Since last week's release of wayland-protocols 1.45 (https://lore.freedesktop.org/wayland-devel/aEw0AP7h6T8l11ug@gmail.com/) there is now a pointer warp protocol (https://wayland.app/protocols/pointer-warp-v1) in Wayland for just such use cases. However, that still requires implementation in KWin and Okular.
Comment 3 Karl-Johan Karlsson 2025-08-02 22:04:30 UTC
Pointer warping has now been implemented in KWin: https://invent.kde.org/plasma/kwin/-/merge_requests/6460