Apache OpenOffice (AOO) Bugzilla – Issue 27024
regression: the default selection is not set in the listbox
Last modified: 2004-04-27 09:25:17 UTC
Hello When I open a file containing a form with a list box, the last content selected in the list box and saved with the file isn't retrieved. The list box is empty. If I open the same file with the 1.1.0 version, it's ok. If I change the selected value with the 1.1.1rc3 version, and then open with the 1.1.0 version, that's ok too. Tested in Writer and Calc. The forms we have done will be quite unusable ! Regards. Philippe
Created attachment 14114 [details] Example of a simple form with a list box
Hi phemmel, thansk for using and supporting OpenOffice.org... I opened your document using OOo1.1.1RC3 on Solaris and on Redhat Linux 9.... You made 2 list boxes with 3 entries each list box... I was able to choose each of them... Please try again with our newest verseion and send a new comment if your problem occurs again...
reassigned to msc @ msc: this seems to be something for you... I wasn't able to reproduce it ....
Well, maybe my explanation was not so good ... Try to open my file with OO 1.1.1 rc3 : the first list box is empty. Try with OO 1.1.0 : the first list box isn't empty ! Actually the file was saved with something in the three fields. The three fields are different, in order to show that the bug appears only with list box. The third field isn't a list box, it's a combo box. Philippe
Hello again Some people around me didn't understand the problem described in this issue, so here are some more details. The problem is the choice made by the user isn't stored when he save the file. Showing the different possibilities in the list box is good, saving the user choice is better in order to process the file ! Often forms are used to create templates, and the results of the user choice have to be sent to other users. Hope it's clear now ! This problem means that I can't give the 1.1.1 version to some of my clients. And they are waiting for it for 6 months ! Philippe
I've changed the Os to All : I've tested on Windows and the bug exists too. Philippe
Hi, I had a look at the content.xml, so I can give some more informations about the bug. With both 00o 1.1.0 and OOo 1.1.1, the selected item of a list box is stored in an attribut of the form:option tag (included in the form:listbox), for instance : <form:option form:label="data2" form:current-selected="true"/> With OOo 1.1.1 : the "current-selected" attribute is ignored. But another attribute is used, which is : "selected". So with OOo 1.1.1, with the following tag : <form:option form:label="data2" form:selected="true"/> the item is selected in the list box. But : then you can't change the selected item, this attibute is used for reading but it is not used when storing the document. Hope this can help ...
Hi, I can reproduce this. reassign to the right developer, set target. Bye Marc
Hello again target 1.1.3 ??? I'm so disapointed ... I'm working in StarXpert, a IT company specialised in the opensource desktop, and sun partner (for StarOffice and JDS). Please, realise that while the list box won't work, I can't provide my clients with this new version ! As I said, many of them use forms to build pre formatted templates, and they can't use their templates with the 1.1.1 version (if they use list box, so very often). For instance, the french Ministry of Interior is waiting for us to provide a new installation package for the 1.1.1 version of OO. What can I say to them ? Alain (anowak) found a accurate reason about this bug, it seems not so complicated to resolve it. Ok, we won't correct it, we don't know how to do that, so I can't evaluate the difficulty. But, due to this first analyse and the problems it creates, it seems reasonnable to me to set the target to 1.1.2. If we can help more, don't hesitate to ask. Let's vote ! Bye Philippe
targeting for 1.1.2 in agreement with MSC fixed in CWS oj12
for the records: This is a regression of the "bind form controls to spreadsheet cells" feature introduced with 1.1.1
2.0 version of this issue: issue 27456
fs->msc: please verify in CWS oj12
set to fixed
verify in cws oj12
*** Issue 27530 has been marked as a duplicate of this issue. ***
Hi, fixed in OOo 1.1.2 which will be available soon -> close. Feel free to reopen if this issue is not fixed in the final 1.1.2 build. Bye Marc