Bug 451035 - Area selection is only half resolution.
Summary: Area selection is only half resolution.
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 21.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-02 13:07 UTC by Mark van Rossum
Modified: 2022-03-02 23:11 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 Mark van Rossum 2022-03-02 13:07:26 UTC
SUMMARY
Area selection is only half resolution.

STEPS TO REPRODUCE
1.  Open PDF
2.  Select an area
3. Paste.

OBSERVED RESULT
The number of pixels of is only half from the screen pixels.
The grab is correctly sized but half the resolution.

EXPECTED RESULT
Exact copy of screen.

SOFTWARE/OS VERSIONS
This is on Ubuntu 21.10.

ADDITIONAL INFORMATION
I don't get this bug  on all my systems, might be a library issue?
Comment 1 Albert Astals Cid 2022-03-02 21:04:00 UTC
Which of the tools in the tool menu are you using?

Do you have a hidpi monitor? If so are you running at any scale factor different than 1?
Comment 2 Mark van Rossum 2022-03-02 21:19:25 UTC
Hi, 
No I don't use scaling.

For the selection I use 'Area Selection'.
Comment 3 Albert Astals Cid 2022-03-02 21:50:44 UTC
Where are you pasting the image?

Is the image not of the size that the okular menu says it will be?
Comment 4 Mark van Rossum 2022-03-02 22:16:53 UTC
THe menu gives the correct size.
So to be clear:
I select an area of, say, 200x200 pixels (checked with kruler), but the menu shows 100x100 pixels.
And when I paste in an external program, it is indeed only 100x100.
Comment 5 Albert Astals Cid 2022-03-02 22:24:05 UTC
Are you using Plasma? Gnome? something else?
Comment 6 Mark van Rossum 2022-03-02 22:36:44 UTC
This is with Mate 1.26.0.

It is pretty weird...  I'm a long time okular user, and I have not seen this before.
It is not a deal breaker; just a minor annoyance.
Comment 7 Albert Astals Cid 2022-03-02 22:46:15 UTC
I have installed mate in my computer and can't reproduce there either.
Comment 8 Mark van Rossum 2022-03-02 23:11:29 UTC
Thanks for checking. I'll update when it changes.