Bug 160878

Summary: Crash in: vcl::Window::ImplGetWinData()
Product: LibreOffice Reporter: ellen.sanning
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO ---    
Severity: normal CC: stephane.guillou
Priority: medium    
Version: 24.2.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: ["vcl::Window::ImplGetWinData()"] Regression By:

Description ellen.sanning 2024-05-01 01:20:53 UTC
This bug was filed from the crash reporting server and is br-174bc3b2-33dd-48fe-9de6-174e9ebe5259.
=========================================

I was resizing a photo that I had added to my document because it did not fit within the margins. I change it from the top the first time using the right corner arrow to proportionally shorten the photo. Then I looked at the bottom of the page and the picture was still too long for the page. I attempted to resize the photo from the bottom right and it crashed. The photo was a .png of white text on a black background.

FORMATTING
Comment 1 Stéphane Guillou (stragu) 2024-05-01 03:09:23 UTC
Thank you for the report, Ellen.

I tested the following:
1. Open Writer 24.2.2
2. Insert this large PNG picture: https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/Large_Magellanic_Cloud_rendered_from_Gaia_EDR3.png/2048px-Large_Magellanic_Cloud_rendered_from_Gaia_EDR3.png
3. Make smaller using top right corner
4. Make smaller using bottom right corner

Result:
- picture fits the margins automatically when inserted
- no crash

If you are able to reproduce with more precise steps, and attach a sample document/image to use, it would be very much appreciated!
Please also share the version info copied with the button in Help > About LibreOffice.
Comment 2 Stéphane Guillou (stragu) 2024-05-01 03:09:58 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> Result:
> - picture fits the margins automatically when inserted
> - no crash
Tested with:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded