Bug 390706 - Two-finger touchscreen zoom gesture needs final refresh
Summary: Two-finger touchscreen zoom gesture needs final refresh
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.3.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-19 01:13 UTC by Stefan Brüns
Modified: 2022-12-18 05:15 UTC (History)
3 users (show)

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


Attachments
Screenshot (12.31 KB, image/png)
2018-02-19 22:12 UTC, Stefan Brüns
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Brüns 2018-02-19 01:13:17 UTC
In general the gesture works, but after the gesture is finished, the view seems to still use a "nearest" filter instead of doing a rerendering at the final zoom level.

When entering the same zoom level in the input box, the rendering has the same size, but is sharp and crisp. When scrolling, the rendering also becomes clean.
Comment 1 Oliver Sander 2018-02-19 21:25:57 UTC
I am not sure whether I understand what you mean.  Can you maybe post a screencast of what you are doing?
Comment 2 Stefan Brüns 2018-02-19 22:10:25 UTC
When I zoom in using Ctrl + Mouse Wheel Up, the page contents are magnified immediately, but for a very short time the contents are "blocky". This is not persistent, but the contents are immediately rerendered with the higher resolution. This is the expected behaviour.

When I use a pinch zoom gesture, the last step - rerendering at current resolution - is omitted.

As soon as I move the page around (cursor keys, mouse, touch), the contents are rerendered.

I have tried to create two screenshots - the left half shows the jaggy edges immediately after zooming, the right half after pressing cursor down.
Comment 3 Stefan Brüns 2018-02-19 22:12:00 UTC
Created attachment 110828 [details]
Screenshot
Comment 4 Oliver Sander 2018-02-20 04:51:04 UTC
Okay, now I understand.  However, I cannot reproduce the problem.  Does anybody have an idea?
Comment 5 Nate Graham 2018-02-22 16:09:19 UTC
I also cannot reproduce using Okular from git master or 17.12.x. The blockiness disappears as soon as I let my fingers go, as expected

At this point, it would be helpful to know what version of Okular you're using. And for future reference, please see https://community.kde.org/Get_Involved/Bug_Reporting#Software_versions
Comment 6 Stefan Brüns 2018-02-23 02:06:35 UTC
KDE Frameworks 5.43.0
Qt 5.10.0 (built against 5.10.0)
The xcb windowing system
Comment 7 Stefan Brüns 2018-02-23 02:11:27 UTC
It is sometimes hard to see the misrendering, and it does not happen all the time, or it is immediately cleared, because on lifting the finger a small movement happens.
Comment 8 Nate Graham 2018-02-23 17:52:55 UTC
Out of curiosity, does this reproduce when using Okular in KDE Plasma, under KWin? Or only in your XCB environment?
Comment 9 Stefan Brüns 2018-02-23 21:57:49 UTC
Thats the info as printed in the Okular About/Libraries tab, so this *is* a regular Plasma5/Kwin/X11 session.
Comment 10 Nate Graham 2018-02-23 22:06:57 UTC
Hah! Thanks for the confirmation.
Comment 11 Justin Zobel 2022-11-18 04:30:34 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 12 Bug Janitor Service 2022-12-03 05:17:36 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 13 Bug Janitor Service 2022-12-18 05:15:40 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!