Apache OpenOffice (AOO) Bugzilla – Issue 33010
tabindex not updated in logical readonly mode
Last modified: 2017-05-20 10:47:43 UTC
When I change the tabindex property of form controls via basic script, the taborder is not updated in logical readonly mode. It works fine in edit mode. This is important because I add new widgets to writer via basic, when not in edit mode. e.g. control.tabindex = 10 control.tabstop = true enables tabbing, but it is jumped to after all other widgets (because it was inserted last?).
MRU->SW: Sounds like API stuff. Yours?
SW->teh: I suppose with 'logical' readonly mode you mean the state a form has when you can press the button instead of marking it with a 'click'. I created a document with five edit-fields and gave each of them a tabindex that can be read in them, then I added a button via OOo-API and changed it's tabindex ... worked like a charm for me, afterwards the I could navigate through the controls in the expected sequence via <tab>-key. I'll attach the document I used.
Created attachment 17160 [details] bugdoc
Hi, with "logical readonly" I mean the mode writer opens documents in when the file cannot be written because of file permissions. There is also a checkbox when using the "open file" dialog with "readonly" and a small button right beside the "save" button in the 1.1.2 build from the oo homepage, which toggles readonly mode. Your doc works fine when not in readonly mode, when in readonly mode, it inserts the button, but the taborder is still wrong. thx for your time tom
SW->FS: when you open the attached document in "Read-Only"-mode and then execute the macro that is included in the document you will see that the new button is added to the end of the tab-sequence. When the document is "changeable" all seems to work as expected.
It was never intended to work this way, but this wouldn't be a good point against fixing it :).
Changing OS to All Changing Component to "Database access", since a) this is where form controls are maintained and b) it happens in all document types.
Reset assigne to the default "issues@openoffice.apache.org".