Apache OpenOffice (AOO) Bugzilla – Issue 2379
: Position of the text, title or the object box can be altered in spite of checking it as a protected box
Last modified: 2003-09-08 16:54:41 UTC
Bug Description: The user is able to move the text or any other box that he checked as protected with the help of position changing coordinates in the “Position and Size” dialog box. Steps to Reproduce: 1) Open the presentation program and insert any slide except the blank slide. 2) Either double click to select the box or click once to select it. 3) The text, title any box that has been selected gets highlighted. 4) Click <Format> on the topmost menu bar and select “Position and size”. 5) Check the radio button “Protected” to make the box protected against repositioning. 6) Modify the settings of the X and Y co-ordinates in the “Position and size” dialog box and click <OK> 7) The position of the box changes in-spite of being protected. Additional Condition: The box to be moved should be selected in order to move it. Actual Result: The position of the box changes according to the new values specified in the “Position and dialog” box. Expected Result: The user should not be able to input any new values in the option for changing the values of the X and Y co-ordinates. The combo box for entering the values should be disabled once the user checks the option “Protected”. Additional Builds and Platforms: Whether or not the issue takes place on other platforms. The issue can be replicated on Windows Me as well. Follow up Tests: Further tests revealed that the even the size of the box can be altered even after checking it as protected to disable the possibility to change the size of the text,object or any box. OS: Microsoft Windows 2000 5.0.0.2195 (Service Pack2) System: DELL X86 Family 6 Model 8 Stepping, AT/ AT Compatible. Network Disk:(Disk on which open-office was installed) – 956 MB
At the moment, a "protect"-checkbox is checked, it makes sense to disable the position- and size-spinfields. The protection should work also via dialog and not only on the object.
Yes, definitely. Will fix this as soon as I have time.
Checked svx/source/dialogs/transfrm.cxx: the code doing the spinfield disabling is actually there, but commented out. Investigating the reason (this was maybe a bugfix or feature request).
The corresponding functionality was commented out anno 1996. After checking back with OS, it came out that this behaviour seems to be policy throughout the office. In the writer, the rationale was the fact that sometimes protect checkbox and disabled controls reside on different tabpages. To conclude, this (was) an intended feature, are we still holding on to this decision?
Hi Christian, This is your playground. I am twisted: On one hand one could interprete "Protect" that the object cannot be moved but still be positioned. On the other hand protect could also mean "No, you can't change anything". What's your decision on this?
In my opinon the spin fields has to be disabled, if Protect Position/Pize has been selected. If this special feature resides to other tabs this should also be fixed, because from the users point of view it is not understandable.
Very well. I'll then enable the code again.
Done. Target build still undetermined.
Reopened for testing
Please verify the fix in srx644_draw3.
Reopened.
Reassigned to Christian.
Set to fixed.
Verified
In srx644q1 on Linux, Solaris, Windows ok. The fix is integrated in the next developer build.