Bug 478215 - Cursor changes to parent window's cursor style, when hitting the apply button in a sub-window (Okular: Configure Backends dialog)
Summary: Cursor changes to parent window's cursor style, when hitting the apply button...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-07 15:16 UTC by postix
Modified: 2023-12-08 10:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2023-12-07 15:16:11 UTC
SUMMARY

I am not sure if this is actually an Okular or a kwin bug.

STEPS TO REPRODUCE
1. Open Okular
2. Open a PDF
3. Choose "Browse" as a tool (Ctrl + 1)
4. Go to settings -> configure backends -> PDF
5. Change e.g. the "Enhance thin lines" settings
6. Click on Apply

OBSERVED RESULT
Immediately when hitting "Apply" the cursor turns into a "grabbing hand cursor". 
When you move the cursor out of the settings dialog it keeps being the "grabbing hand cursor". 

However, when you re-enter the dialog it now depends on from which side you re-enter: From Left, Top, Right the cursor changes back to a normal cursor. From the bottom it stays a "grabbing hand cursor" when you move the cursor slowly enough.


EXPECTED RESULT
The cursor is always a normal cursor within the settings dialog.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231202
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.3-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 David Redondo 2023-12-08 10:09:23 UTC
I suspect an Okular issue at play, 
I can reproduce something similar  on X11

- when I open the backend settings window initially the cursor is an arrow cursor everywhere - inside and outside
- as soon as apply is pressed once the cursor is a grabbing cursor outside the window but an arrow cursor inside