Bug 424224 - Accidental zoom to 1600% is untolerably slow
Summary: Accidental zoom to 1600% is untolerably slow
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.3.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-15 04:35 UTC by raoknz@gmail.com
Modified: 2023-03-15 03:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-1453721-0.html (3.55 KB, text/html)
2023-02-11 05:16 UTC, raoknz@gmail.com
Details
attachment-1730213-0.html (2.02 KB, text/html)
2023-02-13 20:10 UTC, raoknz@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raoknz@gmail.com 2020-07-15 04:35:47 UTC
SUMMARY
Okular 1.3.3 viewing PDF files under Ubuntu 18.04


STEPS TO REPRODUCE
1. Do something with keyboard or mouse BY ACCIDENT.  I have no idea what it is; I am certainly not trying to Zoom and sometimes am trying to switch to another program.  This may perhaps involve the mouse wheel, but I am not sure.  Do this while viewing a book of say 100 pages or more.

2. Okular interprets this as a request to zoom to 1600%.  There is no way to configure the Zoom drop box to restrict the zoom range.

3. 

OBSERVED RESULT
Suddenly, out of the blue, the Zoom box displays 1600% and the computer locks up for several minutes.  You cannot interrupt the process.  I have a 2-core laptop and a 4-core laptop and on both of them the whole machine seizes up: music and videos stop playing or stutter to a stop, nothing else responds, the mouse may not track.  

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Liux Ubuntu `8.04
(available in About System)
KDE Plasma Version: ?
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Comment 1 fw.smit01 2023-02-10 13:20:32 UTC
Could not reproduce. Even going to a zoom of 10000% isn't very slow. I also cannot accidentally zoom.
Comment 2 fw.smit01 2023-02-10 13:21:20 UTC
I'll make this bug NEEDSINFO
Comment 3 raoknz@gmail.com 2023-02-11 05:16:31 UTC
Created attachment 156141 [details]
attachment-1453721-0.html

How can you NOT reproduce this?
Are you trying it on a 1-page document?
Try it on a 500-page book instead.
I just tried it with a 500 page book using
Okular 21.12.3 on Ubuntu 22.04 on a 1.6 GHz laptop.
I stopped counting when it hit two minutes.
The obvious approach is to render the current page
at the new size, then when you move to a new page,
render that, and so on.  Instead, okular acts as
if it is re-rendering the whole document in the new
size.

As for accidentally, the trick is to be using a
laptop where a slight flexing of the case causes
the machine to hallucinate mouse clicks and key presses.
It can also happen if you are *trying* to zoom in but
release the mouse button at the wrong time.

What I *really* want is the ability to replace the
menu of sizes with a list of sizes of my own choosing.



On Sat, 11 Feb 2023 at 02:20, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=424224
>
> fw.smit01@gmail.com changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |fw.smit01@gmail.com
>
> --- Comment #1 from fw.smit01@gmail.com ---
> Could not reproduce. Even going to a zoom of 10000% isn't very slow. I also
> cannot accidentally zoom.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 fw.smit01 2023-02-13 10:54:34 UTC
I tried it on a few >500 page books, but it renders almost instantly and doesn't lock up during the rendering. What is your memory usage doing during the rendering? Maybe it gets filled up, leading to swapping.

I used Okular Version 22.12.0
Comment 5 raoknz@gmail.com 2023-02-13 20:10:57 UTC
Created attachment 156206 [details]
attachment-1730213-0.html

"What is my memory usage doing during the rendering?"
How could I possibly tell?  The machine is basically
unresponsive until it's done.

Possibly relevant: the machine I'm doing this on has
4 GB of memory and when I reported the issue had a
1TB hard drive.  Now it has a 1TB SSD and the delay
is much less.  Still long enough to be frustrating, though.



On Mon, 13 Feb 2023 at 23:54, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=424224
>
> --- Comment #4 from fw.smit01@gmail.com ---
> I tried it on a few >500 page books, but it renders almost instantly and
> doesn't lock up during the rendering. What is your memory usage doing
> during
> the rendering? Maybe it gets filled up, leading to swapping.
>
> I used Okular Version 22.12.0
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 6 Bug Janitor Service 2023-02-28 03:45:32 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 7 Bug Janitor Service 2023-03-15 03:45:44 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!