Bug 163939 - Broken images with changed screen scaling
Summary: Broken images with changed screen scaling
Status: RESOLVED DUPLICATE of bug 92375
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.8.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-17 16:08 UTC by apfel-sauce
Modified: 2025-10-15 18:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description apfel-sauce 2024-11-17 16:08:00 UTC
Description:
When I save an impress-presentation with a cropped and resized image at 100% screen scaling and then open the same file at 200% screen scaling, the image is cropped and scaled differently while still having the same outside dimensions.

Steps to Reproduce:
1. Set screen scaling to 100%
2. Add an image to a new impress document
3. resize and crop the image
4. save document and close libre office
5. set screen scaling to 200%
6. open the saved document

Actual Results:
The image will now be cropped and/or scaled differently, so that it isn't the same as before changing the screen scaling.

Expected Results:
The document should look exactly the same, independent of screen scaling.


Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
This does not happen with all images, I specifically tested "https://commons.wikimedia.org/wiki/File:ETH-BIB-Pyramiden_von_Gizeh-Kilimanjaroflug_1929-30-LBS_MH02-07-0418.tif" at 1280x890 pixels, dragged directly into impress.
Comment 1 mkt 2024-11-26 06:37:03 UTC
Hi,

I could not reproduce with the image you provided in the 
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 2; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Ilya Zverev 2025-01-19 16:11:14 UTC
Possibly related to https://bugs.documentfoundation.org/show_bug.cgi?id=92375

I have been working on the same presentation on my laptop intermittently with an external monitor and without, and they have different scales. So my cropped images are messed up everywhere.
Comment 3 Buovjaga 2025-10-15 18:20:28 UTC
(In reply to Ilya Zverev from comment #2)
> Possibly related to https://bugs.documentfoundation.org/show_bug.cgi?id=92375
> 
> I have been working on the same presentation on my laptop intermittently
> with an external monitor and without, and they have different scales. So my
> cropped images are messed up everywhere.

Indeed, bug 92375 comment 25 talks about it being dependent on screen DPI, so let's close as duplicate.

*** This bug has been marked as a duplicate of bug 92375 ***