List Info

Thread: Re: dialog navigation with TAB doesn't work




Re: dialog navigation with TAB doesn't work
country flaguser name
United States
2007-08-05 15:44:06


In article < 46B62957.70903%40anthemion.co.uk">46B62957.70903anthemion.co.uk>;,
Julian Smart < julian%40anthemion.co.uk">juliananthemion.co.uk> writes:

> Richard wrote:
&gt; > DialogBlocks 4.14
>; >
>; > When I try to navigate any of the dialogs in DB with the keyboard,
> > i.e. TAB to move the focus forward a control and Ctrl+TAB to move
>; > backwards, nothing happens.
> >
>; > Is this a known bug in DB 4.14?
&gt; >
> Which platform? Can you give an example of a dialog?

Sorry, I'm on Windows XP SP 2.

Its kinda broken all over the place and not just TAB/Ctrl&#43;TAB
navigation.

For instance, the property grid doesn't navigate the way Windows
look-and-feel property grids navigate. Click on a property name and
press TAB. The keyboard focus is lost.

1) click on the Application node with the Editor tab open
2) click on the "Event Sources&quot; property name in the property grid.
The control highlights blue. No text cursor is shown in the
value control.
3) press TAB. The control loses focus and is rendered gray and the
keyboard focus is lost.

To reproduce this, you have to click on another node, then click back
on the application node, then click on the first property name in the
property grid.

If a text cursor appears blinking in the value portion of the property
grid, then the TAB key navigates through the properties one by one.
However, if you then Shift+TAB to navigate backwards through the
properties and navigate *past* the first property, then the "Event
sources" property name is again highlighted in gray and the keyboard
focus is lost.

Another example, in the View / Settings... dialog, the focus initially
comes up on the Settings tree node. Press TAB, the focus is gobbled
somewhere on a static text control. Press TAB again. Still gobbled.
Press TAB again. Now the keyboard focus is on the OK button.

Now navigate down to the Templates node. Press TAB. The keyboard
focus is lost and doesn't come back.

Anywhere in the application, try Alt+V to bring up the view menu.
Nothing happens. Ditto for all the other menu accelerators.

On modal dialogs, typing ESC to cancel the drop-down of a drop-down
list box, cancels the whole dialog instead of just the drop-down,
losing any changes made.

Alt+SPACE doesn't show the system menu, so you can't quickly maximize
the application with Alt+SPACE+X, like any other Windows application.

View / Settings... / Help doesn't have any defined tab order on the
detail controls on the right.

View / Settings... / C++ Generation: TAB forward through "External
symbol filenames:" to the OK button. Shift+TAB to go back to the text
control for external symbol filenames. The keyboard focus is lost.
Pressing TAB again brings the focus back to the first detail control.

View / Settings... / XRC Generation: Highlight the tree node and press
TAB. The focus is lost. There is no defined tab order on the
controls on the right. Highlight the tree node and press Shift+TAB to
move the focus backward from Help, Cancel, OK and one more time to
lose the focus.

View / Settings... / Resources: similar to above; focus is lost if
TAB/Shift+TAB is pressed appropriately.

View / Settings... / Custom Controls: ditto
View / Settings... / Custom Commands: ditto
View / Settings... / Templates: ditto
View / Settings... / Formatting: ditto
View / Settings... / Code Editor: ditto
View / Settings... / Code Editor / Styles: ditto
View / Settings... / Configurations: ditto
View / Settings... / Paths: ditto
View / Settings... / Global Defaults.

File / New Project...: the tab order is wrong on the bottom line of
controls. Tab order should go left to right, top to bottom. The
controls are left to right Help, Back, Next, Cancel, but the tab order
goes Next, Cancel, Help.

On the 2nd page of File / New Project...: the tab order is wrong for
the bottom line of controls which are Help, Back, Next, Cancel. The
tab order goes Next, Cancel, Help, Back.

On the 3rd page of File / New Project...: ditto

On all pages of the File / New Project... wizard, the keyboard
accelerators for Help, Back, Next and Cancel don't work. The
accelerators also conflict with accelerators for controls in the page
of each wizard, although the page control accelerators work.

File / Import Images...:
You can't get the focus into the tree control with the TAB key.
The best you can do is get the focus on the tab containing the
name "Files".

Press Alt+I to get the focus on the Images to import list. Press
Shift+TAB. The focus is lost. Keyboard accelerators for the
various controls (Alt+I, Alt+V, etc.) no longer work.

Click the "Files" tab. Press TAB once. The focus is lost. Press
Shift+TAB repreatedly until the Files tab is highlighted again.
The focus never went through any of the other controls on the
dialog.

On the Variables tab, click the tab name. Press TAB to tab through
the controls. The key focus gets stuck at the Add button (assuming
there are no variables currently defined). Shift+TAB works properly.

On the Event handlers tab, click the tab name. Press TAB to tab
through the controls. The key focus gets stuck at the Parameter text
box. Shift+TAB works properly.

There's probably some more hiding in other dialogs. I only started
using this eval version of DialogBlocks today.
--
"The Direct3D Graphics Pipeline&quot; -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>;

Legalize Adulthood! <http://blogs.xmission.com/legalize/>

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! TV

Staying in tonight?

Check listings to

see what is on.

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yoga Resources

on Yahoo! Groups

Take the stress

out of your life.

Re: dialog navigation with TAB doesn't work
country flaguser name
United Kingdom
2007-08-06 03:13:08

Thanks for that information, I'll look into it when I can. Focus/tab
handling in wxWidgets is quite convoluted and there must be some bad
interactions. The wxPropertyGrid class I use has some navigation
glitches as you suggest but it's better functionally and visually than
the wxGrid I was using previously. I'll look into its tab handling also.

Regards,

Julian

Richard wrote:
&gt; In article < 46B62957.70903%40anthemion.co.uk">46B62957.70903anthemion.co.uk>;,
> Julian Smart < julian%40anthemion.co.uk">juliananthemion.co.uk> writes:
>
>
>>; Richard wrote:
&gt;>
>>;> DialogBlocks 4.14
>;>>
>>&gt; When I try to navigate any of the dialogs in DB with the keyboard,
>>&gt; i.e. TAB to move the focus forward a control and Ctrl+TAB to move
>;>> backwards, nothing happens.
>>&gt;
>&gt;> Is this a known bug in DB 4.14?
&gt;>>
>>;>
>>; Which platform? Can you give an example of a dialog?
>>
>
> Sorry, I'm on Windows XP SP 2.
>
> Its kinda broken all over the place and not just TAB/Ctrl&#43;TAB
&gt; navigation.
>
> For instance, the property grid doesn't navigate the way Windows
> look-and-feel property grids navigate. Click on a property name and
> press TAB. The keyboard focus is lost.
&gt;
> 1) click on the Application node with the Editor tab open
>; 2) click on the "Event Sources&quot; property name in the property grid.
&gt; The control highlights blue. No text cursor is shown in the
> value control.
> 3) press TAB. The control loses focus and is rendered gray and the
> keyboard focus is lost.
&gt;
> To reproduce this, you have to click on another node, then click back
>; on the application node, then click on the first property name in the
> property grid.
&gt;
> If a text cursor appears blinking in the value portion of the property
> grid, then the TAB key navigates through the properties one by one.
>; However, if you then Shift+TAB to navigate backwards through the
> properties and navigate *past* the first property, then the "Event
> sources&quot; property name is again highlighted in gray and the keyboard
> focus is lost.
&gt;
> Another example, in the View / Settings... dialog, the focus initially
> comes up on the Settings tree node. Press TAB, the focus is gobbled
> somewhere on a static text control. Press TAB again. Still gobbled.
> Press TAB again. Now the keyboard focus is on the OK button.
>
> Now navigate down to the Templates node. Press TAB. The keyboard
> focus is lost and doesn't come back.
&gt;
> Anywhere in the application, try Alt+V to bring up the view menu.
&gt; Nothing happens. Ditto for all the other menu accelerators.
>
> On modal dialogs, typing ESC to cancel the drop-down of a drop-down
> list box, cancels the whole dialog instead of just the drop-down,
> losing any changes made.
&gt;
> Alt+SPACE doesn't show the system menu, so you can't quickly maximize
> the application with Alt+SPACE+X, like any other Windows application.
>
> View / Settings... / Help doesn't have any defined tab order on the
> detail controls on the right.
&gt;
> View / Settings... / C++ Generation: TAB forward through "External
> symbol filenames:" to the OK button. Shift+TAB to go back to the text
>; control for external symbol filenames. The keyboard focus is lost.
&gt; Pressing TAB again brings the focus back to the first detail control.
>
>; View / Settings... / XRC Generation: Highlight the tree node and press
&gt; TAB. The focus is lost. There is no defined tab order on the
> controls on the right. Highlight the tree node and press Shift+TAB to
> move the focus backward from Help, Cancel, OK and one more time to
> lose the focus.
&gt;
> View / Settings... / Resources: similar to above; focus is lost if
> TAB/Shift&#43;TAB is pressed appropriately.
>
> View / Settings... / Custom Controls: ditto
&gt; View / Settings... / Custom Commands: ditto
&gt; View / Settings... / Templates: ditto
&gt; View / Settings... / Formatting: ditto
&gt; View / Settings... / Code Editor: ditto
&gt; View / Settings... / Code Editor / Styles: ditto
&gt; View / Settings... / Configurations: ditto
&gt; View / Settings... / Paths: ditto
&gt; View / Settings... / Global Defaults.
>
&gt; File / New Project...: the tab order is wrong on the bottom line of
> controls. Tab order should go left to right, top to bottom. The
> controls are left to right Help, Back, Next, Cancel, but the tab order
&gt; goes Next, Cancel, Help.
&gt;
> On the 2nd page of File / New Project...: the tab order is wrong for
> the bottom line of controls which are Help, Back, Next, Cancel. The
> tab order goes Next, Cancel, Help, Back.
&gt;
> On the 3rd page of File / New Project...: ditto
&gt;
> On all pages of the File / New Project... wizard, the keyboard
> accelerators for Help, Back, Next and Cancel don't work. The
> accelerators also conflict with accelerators for controls in the page
>; of each wizard, although the page control accelerators work.
&gt;
> File / Import Images...:
> You can't get the focus into the tree control with the TAB key.
>; The best you can do is get the focus on the tab containing the
> name "Files".
>
> Press Alt+I to get the focus on the Images to import list. Press
&gt; Shift+;TAB. The focus is lost. Keyboard accelerators for the
> various controls (Alt+I, Alt+V, etc.) no longer work.
&gt;
> Click the "Files" tab. Press TAB once. The focus is lost. Press
&gt; Shift+;TAB repreatedly until the Files tab is highlighted again.
&gt; The focus never went through any of the other controls on the
> dialog.
>
>; On the Variables tab, click the tab name. Press TAB to tab through
> the controls. The key focus gets stuck at the Add button (assuming
> there are no variables currently defined). Shift+TAB works properly.
>
&gt; On the Event handlers tab, click the tab name. Press TAB to tab
> through the controls. The key focus gets stuck at the Parameter text
>; box. Shift+TAB works properly.
>
&gt; There's probably some more hiding in other dialogs. I only started
> using this eval version of DialogBlocks today.
&gt;

--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )