Bug 108621 - Form-Navigation: CTRL+TAB only works right with Design-Mode switched off
Summary: Form-Navigation: CTRL+TAB only works right with Design-Mode switched off
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 16:02 UTC by Robert Großkopf
Modified: 2023-06-27 14:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Open the database. Switch trough the form with CTRL+Tab as described. (37.76 KB, application/vnd.oasis.opendocument.database)
2017-06-18 16:02 UTC, Robert Großkopf
Details
Same bug with single fields an a tablecontrol - no way back while input data. (21.14 KB, application/vnd.oasis.opendocument.database)
2017-06-18 18:43 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2017-06-18 16:02:29 UTC
Created attachment 134112 [details]
Open the database. Switch trough the form with CTRL+Tab as described.

Open the attached database. Macros could be ignored.
Open the form.
Cursor is set to first tablecontrol, "id1".
Press CTRL+Tab.
Cursor moves to second tablecontrol, "id2".
Press CTRL+Tab.
Nothing changes any more. You could press CTRL+Tab as much as you want ...

Close the form.
Open the form for editing, not for input data.
Switch design-mode off.
You could see data now. Cursor is set to first tablecontrol.
Now do the same as above.
Pressing CTRL+Tab moves the cursor from first tablecontrol to second tablecontrol to third tablecontrol to fourth tablecontrol and when arriving the first tablecontrol again it is set to next row.

CTRL+Tab only works right when form is opened for editing and design-mode is switched off.
CTRL+Tab is buggy when form is opened for input data.
Comment 1 Gerhard Weydt 2017-06-18 16:37:16 UTC
I can confirm this on Windows 10.
It seems that this misbehaviour of Ctrl+Tab only happens, when one tries to get to the next form starting from a tablegrid. It works fine when starting from a single field, eg. a text field, a formatted field, a combo box or a check box.
Comment 2 Robert Großkopf 2017-06-18 18:42:24 UTC
(In reply to Gerhard Weydt from comment #1)
> It seems that this misbehaviour of Ctrl+Tab only happens, when one tries to
> get to the next form starting from a tablegrid. It works fine when starting
> from a single field, eg. a text field, a formatted field, a combo box or a
> check box.

Can't confirm. Test the second attachment: Single fields, followed by a tablecontrol. You move to the tablecontrol but can't switch back.
Comment 3 Robert Großkopf 2017-06-18 18:43:26 UTC
Created attachment 134115 [details]
Same bug with single fields an a tablecontrol - no way back while input data.
Comment 4 Gerhard Weydt 2017-06-21 22:24:24 UTC
Robert gathered from my comment #2 a meaning I didn't intend to convey, and therefore thought he had to correct it. But in fact we mean the same. After a private dialog I think we have now agreed on the following statement: There should be a way, in data entry mode, to jump to the (first element in the) next form, similarly to edit mode, where you can jump to the next form by Ctrl+Tab. This does normally not work for forms containing table grids: when the cursor is within a table grid nothing happens. It does jump to the next form, though, when the cursor is within a single field.

If you combine table grids and single grids in one form, the situation is more complicated. It seems that Ctrl+Tab has two different meanings:
1. if the focus is in a single field, it jumps to te next form.
2. if the focus is in a tablegrid, it leaves the table grid; this may result in a jump to the next form, but if there are some single fields in the form, the cursor moves just to the first of these fields (this may depend on the tab-order or the order displayed in the navigator).

The above statements relate to the situation that you opened the form document in data entry mode. If you open it in edit mode and switch off design mode (which I name mode B for the moment), then you should ideally be in the same mode as in data entry (which I name mode A). But there are grave differences:

1. if you have only table grids, mode B seems to work perfectly: Ctrl+Tab jumps from one form to the next; in mode A this normally doesn't work
2. if you have also single fields within a form, Ctrl+Tab will not work for single fields in mode B, whereas it works for them in mode A. In mode A the focus moves from a table grid to the first single field or from a single field - as it seems - to the first (in the sense of tab order) element of the next form.

There is no use providing examples or test documents, anyone tackling this principal problem will have to create his own test cases after investigating the existing code. Robert's example may be a starting point, though.

Rest it to say that this an important issue regarding accessability, which seems to have been a little bit overlooked in Base.
Comment 5 QA Administrators 2018-06-22 02:49:54 UTC Comment hidden (obsolete)
Comment 6 Robert Großkopf 2018-06-22 06:16:01 UTC
It's the same buggy behavior in LO 6.0.5.2 on OpenSUSE 42.3 64bit rpm Linux
Comment 7 QA Administrators 2019-06-23 02:51:58 UTC Comment hidden (obsolete)
Comment 8 Robert Großkopf 2019-06-24 14:21:41 UTC
Still the same buggy behaviour in Version: 6.3.0.0.beta1 - tested with OpenSUSE 15 64bit rpm Linux.
Comment 9 QA Administrators 2021-06-24 03:46:40 UTC Comment hidden (obsolete)
Comment 10 Robert Großkopf 2021-06-24 13:16:43 UTC
Still the same buggy behaviour in Version: 7.1.4.2 - tested with OpenSUSE 15.2 64bit rpm Linux.
Comment 11 QA Administrators 2021-06-25 03:17:47 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2023-06-26 03:12:12 UTC Comment hidden (obsolete)
Comment 13 Robert Großkopf 2023-06-27 14:55:17 UTC
Still the same buggy behavior in LO 7.5.4.2 on OpenSUSE 15.4 64bit rpm Linux.
Ctrl+Tab works, when form has been opened for editing and design mode is switched off.
Ctrl+Tab only works once if form has been opened for input data.