Bug 159003 - Macro: non-functional positioning X,Y of Dialog window if parent document is minimized
Summary: Macro: non-functional positioning X,Y of Dialog window if parent document is ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks: Macro
  Show dependency treegraph
 
Reported: 2024-01-03 19:46 UTC by Kamil Landa
Modified: 2024-12-14 14:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
document with macro and Dialog (18.78 KB, application/vnd.oasis.opendocument.text)
2024-01-03 19:46 UTC, Kamil Landa
Details

Note You need to log in before you can comment on or make changes to this bug.
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).