The position of dialogs executed from BASIC was centered in the application window (al least until 5.1.6.2). The Behavior has changed 5.2.4.2. Now the position of dialogs is the position registered in the IDE dialog editor and this is inconvenient. I tested this in windows 7.
It seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
The behavior change is present in this development build: Version: 5.4.0.0.alpha0+ Build ID: a8538f0774bd0fabf6012d735d1e86b3ff1c291f CPU threads: 2; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2017-02-23_23:42:53 Locale: es-ES (es_ES); Calc: group I think thar the most usual desire is to want centered dialogs.
Uploaded a test document with includes code for a workarround. The writer document has 3 buttons: - MsgBox: shows a standar message box (centered) - Show dialog: shows a dialog with the default position (set in the dialog editor to x=10, y=10) - Show centered dialog: shows the same dialog centered (position adjusted by program).
Created attachment 131505 [details] Test document.
Checking in Version: 5.2.3.3 Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; Locale: es-ES (ca_ES.UTF-8); Calc: group the dialog displayed when clicking in 'show dialog' is also displayed in the default position. I've also checked it in other versions and the behaviour is always the same, so it's the expected behaviour: If position isn't set, it will be displayed in the default position. Closing as RESOLVED NOTABUG
(In reply to Xisco Faulí from comment #5) > Checking in > > Version: 5.2.3.3 > Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf > CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; > Locale: es-ES (ca_ES.UTF-8); Calc: group > > the dialog displayed when clicking in 'show dialog' is also displayed in the > default position. I've also checked it in other versions and the behaviour > is always the same, so it's the expected behaviour: If position isn't set, > it will be displayed in the default position. > Closing as RESOLVED NOTABUG You're right. In Linux behavior is consistent: dialog is show in defined position. This seems related to windows systems.