Bug 375334 - Closing a document changes focus to zoom window in the active document
Summary: Closing a document changes focus to zoom window in the active document
Status: REOPENED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.6.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2017-01-20 10:29 UTC by George
Modified: 2019-03-25 16:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshots of described steps (1.30 MB, application/pdf)
2017-01-20 10:29 UTC, George
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George 2017-01-20 10:29:01 UTC
Created attachment 103559 [details]
Screenshots of described steps

Steps to Reproduce:
1) Open multiple documents in okular. 
2) Close the active document with the red x-button. 

Actual Results: 
3) In active document, the focus/pointer goes to zoom window, even if it was not there before. 
4.1) If arrow down key is pressed, the zoom level changes to next higher default value, e.g. from 100% to 125%.
4.2) If arrow up key is pressed, the zoom level changes to next lower default value, e.g. from 100% to 75%.
5) If arrow down/up key is pressed again, the document starts scrolling down/up as usual and zoom does not change any more. 

Expected Results:
The active document should scroll up/down and zoom level should not change. 

If mouse wheel is used instead of arrow keys, scrolling is as usual and zoom does not change, but the focus/pointer stays in zoom window and pressing an arrow key reproduces the bug - zoom level changes by one step and then scrolls as usual.

The problem does not occur when closing a document which is on the background / not-active. 

Platform:
kubuntu 14.04
KDE Platform Version 4.13.3
okular Version 0.19.3
Comment 1 Sebastian 2018-11-17 19:56:15 UTC
Hey George,

I am on Kubuntu and okular 1.3.3.
Okular does not open tabs for me but new windows for each new document.

I am not able to open new documents in tabs, so it seems the behavior changed since then.

Can you reproduce the bug in newer versions also?
Thanks for your help!

Note: I am no maintainer but from the KDE bugsquad
Comment 2 Bug Janitor Service 2018-12-02 03:44:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 George 2018-12-02 20:21:53 UTC
Let's close this bug, as it is about an older version of okular.
Comment 4 Patrick Silva 2019-03-25 16:48:46 UTC
This behavior is reproducible with okular 1.6.3.
To reproduce, "Open new in tabs" must be checked in okular settings.


Operating System: Arch Linux 
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 5 Patrick Silva 2019-03-25 16:49:37 UTC
ops, I meant "Open new files in tabs"