librelist archives

« back to archive

Tab order reversed on Windows

Tab order reversed on Windows

From:
Csomay Mihaly
Date:
2010-03-11 @ 08:37
Hi,

A couple months ago I wrote about this bug on this list, but it still
seems to be there.

Shoes.app do
  stack do
    edit_line
    edit_line
    button "One"
    button "Two"
  end
end

On Windows, the Tab order is Button2->Button1->edit line2->edit line1
instead of edit line1->edit line2->Button1->Button2 

I opened an issue on github:
http://github.com/shoes/shoes/issues/issue/24

I guess a temporary hack could be to reverse the action of Tab and
Shift-Tab on Windows, but I don't even know where to do that :)
Thanks.

csm

Re: [shoes] Tab order reversed on Windows

From:
Csomay Mihaly
Date:
2010-03-11 @ 08:50
Csomay Mihaly <list@csomay.hu> writes:

> I guess a temporary hack could be to reverse the action of Tab and
> Shift-Tab on Windows,

Scratch that, Shift-Tab does nothing unless a control is already
selected, on Windows (maybe it's another bug? It works on Linux...).
So this doesn't work on Windows: open app, hit Shift-Tab -> nothing
happens, but it should go to the first edit line.

csm

Re: [shoes] Tab order reversed on Windows

From:
Satoshi Asakawa
Date:
2010-03-11 @ 16:09
Hi Csomay,

> Tab order reversed on Windows
> it still seems to be there.
Yeah, I've tried to fix the problem, but had no luck so far. :(

> Shift-Tab does nothing unless a control is already selected,
> on Windows (maybe it's another bug? It works on Linux...).
Oh, can Shift-Tab focus the first object on Linux?
On Windows, Shift-Tab can't but Tab can both with Raisins and Policeman.

ashbb

Re: [shoes] Tab order reversed on Windows

From:
Csomay Mihály
Date:
2010-03-11 @ 16:30
On Fri, 12 Mar 2010 01:09:12 +0900, Satoshi Asakawa <ashbbb@gmail.com>,
wrote:

>> Tab order reversed on Windows
>> it still seems to be there.
> Yeah, I've tried to fix the problem, but had no luck so far. :(
> 
>> Shift-Tab does nothing unless a control is already selected,
>> on Windows (maybe it's another bug? It works on Linux...).
> Oh, can Shift-Tab focus the first object on Linux?
> On Windows, Shift-Tab can't but Tab can both with Raisins and Policeman.

On Linux, after starting the simple app in the OP (2 edit lines, 2
buttons):
Pressing Shift-Tab goes to Button2, then backwards, as it should.
Pressing Tab goes to the first edit line, then forward, as it should.

On Windows, Tab does what Shift-Tab does on Linux, it goes to Button2
and backwards.
Shift-Tab does NOTHING after I start the app, but after a Tab or for
example clicking in an edit line, to give it focus, Shift-Tab will do
what Tab does on Linux, going forward.
This is all on XP, will try on 7 in a couple hours, but I think it'll
be the same there.

csm

Re: [shoes] Tab order reversed on Windows

From:
Csomay Mihaly
Date:
2010-03-11 @ 20:18
"Csomay Mihaly" <list@csomay.hu> writes:

> This is all on XP, will try on 7 in a couple hours, but I think it'll
> be the same there.

Same on Win7.

csm