Bug 483381 - Poor quality images copied from updated Okular with area selection tool
Summary: Poor quality images copied from updated Okular with area selection tool
Status: RESOLVED DUPLICATE of bug 483204
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-12 20:58 UTC by reescf
Modified: 2024-03-14 20:56 UTC (History)
1 user (show)

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


Attachments
Image of text pasted from Okular after copying with area selection tool. (3.65 KB, image/png)
2024-03-12 20:58 UTC, reescf
Details
Image of diagram pasted from Okular after copying with area selection tool. (69.46 KB, image/png)
2024-03-12 21:00 UTC, reescf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description reescf 2024-03-12 20:58:37 UTC
Created attachment 167064 [details]
Image of text pasted from Okular after copying with area selection tool.

Following update of Okular and KDE, images clipped with the area selection tool are blurry. Previously, they were comparable to the original.


STEPS TO REPRODUCE
1. Produce a PDF in Kile using pdfTeX and view the result in Okular.
2. Check result using type1 fonts if applicable.
3. Use area selection tool to clip part of the PDF as an image.
4. Paste e.g. into an answer on TeX SE such as https://tex.stackexchange.com/a/712897/ (text) or https://tex.stackexchange.com/a/712900/ (diagram).

OBSERVED RESULT

Clipped images are very poor quality. 

EXPECTED RESULT

Quality of clipped images is comparable to those produced using the same workflow prior to update.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux
(available in About System)
KDE Plasma Version: 6.0.1 (Arch package 6.0.1-1)
KDE Frameworks Version: 6.0.0? (Arch package kdeclarative 6.0.0-1)
Qt Version: 6.6.2 (Arch package qt6-base 6.6.2-4)

ADDITIONAL INFORMATION
I'm using kwin_x11 rather than the new default.
Comment 1 reescf 2024-03-12 21:00:24 UTC
Created attachment 167065 [details]
Image of diagram pasted from Okular after copying with area selection tool.
Comment 2 Albert Astals Cid 2024-03-13 23:06:02 UTC
Same as 483204, no?

*** This bug has been marked as a duplicate of bug 483204 ***
Comment 3 reescf 2024-03-14 19:22:22 UTC
(In reply to Albert Astals Cid from comment #2)
> Same as 483204, no?
> 
> *** This bug has been marked as a duplicate of bug 483204 ***

The symptoms are similar, but the problem is not related to force DPI in my case as I don't have that setting enabled for KDE at all. (I double-checked in system settings and it is remains unchecked.)
Comment 4 Albert Astals Cid 2024-03-14 20:56:43 UTC
oh yeah, the force dpi thing in that bug seems like the user not understanding things.

Probem is most likely hidpi related.