Apache OpenOffice (AOO) Bugzilla – Issue 125086
Regression Textfield.user cant be deleted via Script
Last modified: 2017-05-20 09:32:11 UTC
Created attachment 83545 [details] The attachement contains a Textfield.user and a macro designed to delete the textfield. When a documents text contains a user-inputfield (textfield.user) and I try to delete it, only the first letter of the "Name"-Property will be deleted. oTF.getAnchor().getText().removeTextcontent(oTF) will lead to this effect or oTF.dispose() also. I'm using Win7 prof. SP1. In the attachment the sub "delete" will show the effect.
confirming with aoo410 w7 64bit aoo401: field is deleted aoo410: only first letter is deleted
May be introduced by "In-place editing of Input Fields" in 4.1.0.
taking over to have a closer look. As Ariel I also think that my changes for the 'in-place editing of Input Fields' caused this defect.
grant showstopper flag, regression
"orw" committed SVN revision 1602850 into trunk: 125086: correct UNO-API implementation for <com::sun::star::text::XTextField>...
fix on trunk is available
"orw" committed SVN revision 1602856 into branches/AOO410: 125086: correct UNO-API implementation for <com::sun::star::text::XTextField>...
fixed on branch AOO410 for the planned 4.1.1 release
Verified on Windows 7. Reproduced this defect using 4.1.0 and confirmed it being fixed in 4.1.1 M1 build.