Apache OpenOffice (AOO) Bugzilla – Issue 73412
Controls gets wrong position in Dialog Editor
Last modified: 2013-02-24 21:01:27 UTC
Create a new dialog in OOo Dialog Editor. Create a Button directly in the upper left corner below the dialog title bar. (PositionX=PositionY=0) Close Dialog Editor Reopen Dialog Editor for the new dialog. The button now is placed at a wrong position, although still PositionX=PositionY=0 Moving the button slightly change PositionX, PositionY values to the displayed position I've debugged this with aw and he found the reason in basctl/source/dlgedobj.cxx DlgEdObj::getFormDeviceInfo(...). At the moment the Dialog Editor view is opened, _rForm.GetUnoControl() does not return a control. The problem seems to be that the fallback mechanism GetTemporaryControlForWindow does not provide the correct Insets causing the control to be placed at the wrong position.
accepting
pretty dump bug: The temporary control was retrieved for the control itself, while the one for the dialog was needed. fixed in CWS dba22c basctl/source/dlged/dlgedobj.cxx, 1.43.18.1
fs->ab: please verify in CWS dba22c
Ok in CWS dba22c -> Verified
This Issue is 'Verified' and not updated in 1yr+, so Closing. A Closed Issue is a Happy Issue (TM). Regards, Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~