Bug 338758 - Shift+Tab shortcut does not move focus to preceding field in Form Data mode
Summary: Shift+Tab shortcut does not move focus to preceding field in Form Data mode
Status: CONFIRMED
Alias: None
Product: KEXI
Classification: Applications
Component: Forms (show other bugs)
Version: 2.9 Alpha
Platform: Mint (Ubuntu based) Linux
: NOR minor
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 19:21 UTC by Ian Balchin
Modified: 2019-02-18 19:28 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
staniek: Usability+


Attachments
output from query above, (17.41 KB, text/plain)
2014-09-11 10:38 UTC, Ian Balchin
Details
fields in table 'books' (842 bytes, text/plain)
2014-09-11 16:29 UTC, Ian Balchin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Balchin 2014-09-02 19:21:02 UTC
In Form Data mode Tab is used to  move to the next field, and Ctl+Tab to move to the preceding field.

Whereas Tab does take you to the next field, Ctl+Tab does not take you to the preceding field.

Reproducible: Always

Steps to Reproduce:
1. Open a Form in Data Mode
2. Mouse-click to position you in a central field
3. Use Tab to move forward to the next field
4. Use Ctl+Tab to move backwards to the preceding field

Actual Results:  
Ctl+Tab does not move the focus to the preceding field
Ctl+Tab moves the cursor to the end of the text in the field

Expected Results:  
Ctl+Tab should move focus to the preceding field

There is some odd behaviour, maybe depending on what type of field, (whether a Text Box or a Text Editor type?), associated with tabbing around the fields. For instance, in one area I can Ctl+Tab back but the initial field is still shown with the 'focus line' around while the data in the preceding field is highlighted.
Comment 1 Jarosław Staniek 2014-09-02 22:23:57 UTC
Thanks Ian. Default shortcut for for the "backtab" action is Shift+Tab, not Ctrl+Tab.

Do you mean Shift+Tab?

Using Shift+Tab I am able to repeat your tasks 1-4 properly but the form you're testing may behave different. I'd appreciate if I can test the form (no data needed, just the form). It can be sent to me privately or attached below. If you're using server db, I can give instructions how you can extract the form information for me.
Comment 2 Ian Balchin 2014-09-03 07:07:26 UTC
Jaroslaw, yes in error there, Shift+Tab

It's a bugger that you cannot edit bugs for corrections :(

it is on a form running on my postgresql server. so please provide instructions to extract form for testing.
Comment 3 Ian Balchin 2014-09-09 12:25:55 UTC
waiting for instructions on how to send you the form
Comment 4 Jarosław Staniek 2014-09-10 19:55:20 UTC
@Ian
To retrieve the XML definition of 'form1', type:

SELECT kexi__objects.o_name, kexi__objectdata.o_data  FROM  public.kexi__objects,  public.kexi__objectdata WHERE  kexi__objectdata.o_id = kexi__objects.o_id AND kexi__objects.o_name = 'form1';

Then please copy and paste this result to a file, compress and attach below.
Comment 5 Jarosław Staniek 2014-09-11 09:03:10 UTC
Non-interactive use of the psql command - creates the form_definition.txt file:

echo "SELECT kexi__objects.o_name, kexi__objectdata.o_data FROM public.kexi__objects, public.kexi__objectdata WHERE kexi__objectdata.o_id = kexi__objects.o_id AND kexi__objects.o_name = 'form1';" |  psql  new_database postgres -W -A > form_definition.txt
Comment 6 Jarosław Staniek 2014-09-11 09:04:17 UTC
(of course change <postgres> to your username and <new_database> to your db name (not caption, and lowercase is needed)
Comment 7 Jarosław Staniek 2014-09-11 09:05:24 UTC
(and 'form1' should be your form name (not caption))
Comment 8 Ian Balchin 2014-09-11 10:38:10 UTC
Created attachment 88658 [details]
output from query above,

looks like this might be the right thing
Ian
Comment 9 Jarosław Staniek 2014-09-11 11:05:47 UTC
Thanks, got it: http://wstaw.org/m/2014/09/11/plasma-desktopjp2613.png
Comment 10 Jarosław Staniek 2014-09-11 13:44:20 UTC
It would be useful to know table that the form is bound to.

1. Retrieve list of field definition, e.g. for 'table1' use:
"SELECT kexi__fields.* FROM public.kexi__objects, public.kexi__fields WHERE kexi__fields.t_id = kexi__objects.o_id AND kexi__objects.o_name = 'table1';"
2. Export entire table to a file.
3. Retrieve supplementary schema, just replace 'form1' with 'table1' or so.

Please provide results in files.
Comment 11 Ian Balchin 2014-09-11 16:27:55 UTC
1. done , output from pgAdmin query and I will attach as field_definition.txt

2. done through kexi as books.csv . I'll send this direct via email

3. not sure if I am with you here.
form1 -> table1

form1 was 'data_entry', and we got output
table1 must be 'books', so  if I read you right

SELECT kexi__objects.o_name, kexi__objectdata.o_data FROM public.kexi__objects, public.kexi__objectdata WHERE kexi__objectdata.o_id = kexi__objects.o_id AND kexi__objects.o_name = 'books';
no output generated
Comment 12 Ian Balchin 2014-09-11 16:29:34 UTC
Created attachment 88659 [details]
fields in table 'books'