Bug 341250 - View is locked/frozen after Zoom to Auto Fit
Summary: View is locked/frozen after Zoom to Auto Fit
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 20.12.1
Platform: Chakra Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-25 11:19 UTC by Richard Llom
Modified: 2022-05-29 03:07 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example PDF (708.03 KB, application/pdf)
2014-11-26 12:04 UTC, Richard Llom
Details
gdb output (1.81 KB, text/plain)
2014-11-26 21:31 UTC, Richard Llom
Details
Screencast of Okular with lock (2.05 MB, video/ogg)
2014-11-27 11:04 UTC, Richard Llom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Llom 2014-11-25 11:19:20 UTC
In PDF, I noticed when going from high zoom to "Auto Fit" the whole PDF view "hangs", ie. it is not possible to drag by mouse, or scroll by keyboard.

Reproducible: Always

Steps to Reproduce:
1. Select high zoom level in toolbar ( I checked with 1600%, 800%, 400%).
2. Select Auto Fit in toolbar
--> View hangs.
Comment 1 Albert Astals Cid 2014-11-25 21:59:55 UTC
Any file?
Comment 2 Richard Llom 2014-11-26 12:04:36 UTC
Created attachment 89730 [details]
Example PDF

Here is one
Comment 3 Albert Astals Cid 2014-11-26 20:45:58 UTC
It works fine here. Can you please do this in a terminal

gdb -ex run okular
Open the file
Set zoom to auto fit
go back to the terminal
Press Control+C
write "thread apply all bt"
Attach the output of the command.
To exit from gdb write "quit"
Comment 4 Richard Llom 2014-11-26 21:31:50 UTC
Created attachment 89738 [details]
gdb output

like this?
Comment 5 Albert Astals Cid 2014-11-26 21:33:27 UTC
Are you sure you opened the file?
Comment 6 Christoph Feck 2014-11-27 00:59:12 UTC
I can reproduce btw, but the backtrace does not indicate a freeze. It really just waits for input.

- go to last page
- select 1600% zoom
- select Auto-Fit

Actual result:
- it displays first page, but no scroll bar
Comment 7 Richard Llom 2014-11-27 11:04:06 UTC
Created attachment 89741 [details]
Screencast of Okular with lock

Yes, I opened the file.

Also okular isn't really "frozen", there is still something happening. I attached a screencast of the problem, hope this helps.
Comment 8 Albert Astals Cid 2014-11-27 18:59:01 UTC
Ok, now i can reproduce it too.