Bug 159003

Summary: Macro: non-functional positioning X,Y of Dialog window if parent document is minimized
Product: LibreOffice Reporter: Kamil Landa <kamlan>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: glogow
Priority: medium Keywords: bisected, regression
Version: 7.5.0.3 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: document with macro and Dialog

Description Kamil Landa 2024-01-03 19:46:51 UTC
Created attachment 191735 [details]
document with macro and Dialog

Click the button or run the macro Module1>ShowDlg in attached document. The window with document will be minimized and Dialog will be shown at top-left corner of screen instead at coordinates X,Y in method .setPosSize()

According to https://ask.libreoffice.org/t/positionx-positiony-no-longer-working-for-dialog-position-on-screen/100029
It seems it is regression on Windows (7.4.7.2 seems OK), under Linux it is probably functional. 


Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e0f710ad29d33acda3c1b77d7a0980ca9ae2e3d1
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL threaded

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL threaded
Comment 1 Mike Kaganski 2024-01-04 11:52:14 UTC
Regression since 8b6000f6075725b2e17b8fa745251ea96d7185f1 (WIN drop window state redundancies, 2022-06-17).