Bug 132656 - Show proper actual dimensions in Compress Image dialog
Summary: Show proper actual dimensions in Compress Image dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-DPI Image-Compression-Dialog
  Show dependency treegraph
 
Reported: 2020-05-03 20:24 UTC by Telesto
Modified: 2024-10-16 03:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (574.52 KB, application/vnd.oasis.opendocument.text)
2020-05-03 20:24 UTC, Telesto
Details
Screencast (6.14 MB, video/quicktime)
2020-10-09 06:33 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-03 20:24:34 UTC
Description:
Show proper actual dimensions in Compress Image dialog

Steps to Reproduce:
1. Open the attached file
2. Format -> Image -> Properties -> Crop tab
Size 13,55 x 10,16 (120ppi) also Image size (original size/ size of the image)
3. press Original size.. nothing happens (fine)
4. Format -> Image -> Compress
5. Actual dimensions ( 16,93 x 12,70 (640 x480 px) at 96 DPI screen. No it's 13,55 x 10,16 (120ppi)
6. Reduce image resolution -> Set it to 150 DPI
7. Press OK
8. Format -> Image -> Properties -> Crop tab
28,19 cm x 21,17 (72 PPI). Image size 13,55 cm x 10,16 
9. Format -> Image -> Compress. 
Actual dimensions 21,14 cm x 15,88 (799 x 600 px)
Apparent dimension 13,55 cm x 10,16 cm at 149 DPI




Actual Results:
Multiple dimensions at different resolutions

Expected Results:
Use the file embedded DPI as actual dimensions


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: b8fb7ecd9cdbe1898c41eaecd9894df8e8f01e25
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc:
Comment 1 Telesto 2020-05-03 20:24:51 UTC
Created attachment 160296 [details]
Example file
Comment 2 Telesto 2020-05-03 20:30:44 UTC
@Regina
Follow up on the DPI hunt.. The image dimension roulette. Showing the size based on: embedded DPI/ screen DPI/ and a fixed 72 DPI.
Comment 3 Telesto 2020-05-04 13:06:12 UTC
Screenshot MAC 
attachment 160316 [details] (bug 132658).. same cat

Screenshot Windows
attachment 160323 [details] (bug 132658)
Comment 4 Heiko Tietze 2020-07-06 09:39:51 UTC
Way too many tickets for my taste around the dpi vs. pixels issue. The UX/UI aspect is discussed in bug 115464 with some mockups. Removing the flag here.
Comment 5 Telesto 2020-07-06 10:24:28 UTC
(In reply to Heiko Tietze from comment #4)
> Way too many tickets for my taste around the dpi vs. pixels issue. The UX/UI
> aspect is discussed in bug 115464 with some mockups. Removing the flag here.

True.. however, this is of course the Compress dialog.. not the export dialog. Problem the same/similar.
Comment 6 Dieter 2020-10-09 06:15:30 UTC
Not sure, if I had the correct settings in compress dialog. Could you please add a screenshot how dialog looks after step 6? Thank you.
Comment 7 Telesto 2020-10-09 06:33:16 UTC
Created attachment 166216 [details]
Screencast
Comment 8 Dieter 2020-10-09 18:01:30 UTC
Thanks for screencast. That makes it more clear. I confirm it with

Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: he-IL (de_DE); UI: en-GB
Calc: threaded
Comment 9 QA Administrators 2022-10-10 03:31:36 UTC Comment hidden (obsolete)
Comment 10 Dieter 2022-10-16 10:54:39 UTC
Steps to Reproduce:
1. Open the attached file
2. Format -> Image -> Properties -> Crop tab
Size 13,55 x 10,16 (120ppi) also Image size (original size/ size of the image)
3. press Original size.. nothing happens (fine)
4. Format -> Image -> Compress
5. Actual dimensions ( 16,93 x 12,70 (640 x480 px) at 96 DPI screen. No it's 13,55 x 10,16 (120ppi)
6. Reduce image resolution -> Set it to 150 DPI
7. Press OK
8. Format -> Image -> Properties -> Crop tab
28,19 cm x 21,17 (72 PPI). Image size 13,55 cm x 10,16 
9. Format -> Image -> Compress. 
Actual dimensions 21,14 cm x 15,88 (799 x 600 px)
Apparent dimension 13,55 cm x 10,16 cm at 149 DPI
Comment 11 QA Administrators 2024-10-16 03:15:18 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug