Issue 33010

Summary: tabindex not updated in logical readonly mode
Product: Base Reporter: teh <info>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
bugdoc none

Description teh 2004-08-15 21:53:15 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. 

control.tabindex = 10
control.tabstop = true

enables tabbing, but it is jumped to after all other widgets (because it was
inserted last?).
Comment 1 michael.ruess 2004-08-16 08:15:55 UTC
MRU->SW: Sounds like API stuff. Yours?
Comment 2 stephan.wunderlich 2004-08-16 13:50:13 UTC
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.
Comment 3 stephan.wunderlich 2004-08-16 13:54:41 UTC
Created attachment 17160 [details]
Comment 4 teh 2004-08-16 17:52:55 UTC
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
Comment 5 stephan.wunderlich 2004-08-17 10:57:16 UTC
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.
Comment 6 Frank Schönheit 2004-08-17 11:32:36 UTC
It was never intended to work this way, but this wouldn't be a good point
against fixing it :).
Comment 7 Frank Schönheit 2004-08-17 11:36:30 UTC
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.
Comment 8 Marcus 2017-05-20 10:47:43 UTC
Reset assigne to the default "".