Re: [shoes] keypress doesn't work after clicking a button
- From:
- J. Kaiden
- Date:
- 2011-10-30 @ 11:58
hi ashbb,
hmm, i tried out the snippet on ubuntu 10.04 with policeman - and it
works as expected. the keypresses aren't recognized while the alert window
is open, but once closed they are again shown...
could be a Windows thing?
- j
On Sun, Oct 30, 2011 at 8:01 AM, ashbb <ashbbb@gmail.com> wrote:
> Hi all,
>
> Try out the following snippet with Red Shoes.
>
> Shoes.app do
> button('button'){alert 'hi'}
> msg = para 'show a key pressed'
> keypress{|k| msg.text = k}
> end
>
> Before clicking the button, keypress works well.
> But after clicking the button, it doesn't work.
>
> It's okay to use `link` instead of `button`.
> But this behavior is a bug, IMHO.
>
> Although, I've confirmed with Shoes 3 on Windows 7 only.
>
> ashbb
>
> ps. This time, Green Shoes is okay. :)
>
>
Re: [shoes] keypress doesn't work after clicking a button
- From:
- spiralofhope
- Date:
- 2011-10-30 @ 12:12
On Sun, 30 Oct 2011 12:58:46 +0100
"J. Kaiden" <jakekaiden@gmail.com> wrote:
> hmm, i tried out the snippet on ubuntu 10.04 with policeman - and it
> works as expected. the keypresses aren't recognized while the alert
> window is open, but once closed they are again shown...
I also tested it on my Linux, and it also works for me.
--
http://spiralofhope.com
Re: [shoes] keypress doesn't work after clicking a button
- From:
- Eric Watson
- Date:
- 2011-10-30 @ 19:10
On Oct 30, 2011, at 7:12 AM, spiralofhope wrote:
> On Sun, 30 Oct 2011 12:58:46 +0100
> "J. Kaiden" <jakekaiden@gmail.com> wrote:
>
>> hmm, i tried out the snippet on ubuntu 10.04 with policeman - and it
>> works as expected. the keypresses aren't recognized while the alert
>> window is open, but once closed they are again shown...
>
> I also tested it on my Linux, and it also works for me.
>
Works as expected for me on OS X 10.7 (Red Shoes 3.1 beta)
Eric
Re: [shoes] keypress doesn't work after clicking a button
- From:
- Steve Klabnik
- Date:
- 2011-10-30 @ 20:49
I've filed a bug! https://github.com/shoes/shoes/issues/156
Re: [shoes] keypress doesn't work after clicking a button
- From:
- ashbb
- Date:
- 2011-10-30 @ 12:58
Hi J,
Thank you for confirming on Ubuntu!
Looks like the issue is only on Windows. xx-P
ashbb