[3.10] TaskList shortcut keys

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[3.10] TaskList shortcut keys

Noury Bouraqadi
Hi,

I'm using Damien's nice sq3.10-7159dev08.01.1 image.
To navigate from a task to another I found the shortcut keys: CMD
+leftArrow or rightArrow.
The problem is that it keeps switching from a task to the other if I  
keep the arrow key down.
Relasing the arrow key makes the task list disappear.
Is there some shortcut key to keep the TaskList displayed without  
switching between tasks ?

Thanks,
Noury
------------------------------------------------------------------
Dr. Noury Bouraqadi - Enseignant/Chercheur
Responsable de l'enseignement de l'informatique
ARMINES - Ecole des Mines de Douai - Dept. I.A.
http://vst.ensm-douai.fr/noury

European Smalltalk Users Group Board
http://www.esug.org
------------------------------------------------------------------





Reply | Threaded
Open this post in threaded view
|

RE: [3.10] TaskList shortcut keys

Gary Chambers-4
The task twitcher is part of the UI Enhancements package. I could add a
preference to keep it open (hold alt-arrow to cycle through, release and
stays up, can alt-arrow again to cycle or click buttons, any other key to
close and switch task).

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Noury
> Bouraqadi
> Sent: 24 January 2008 11:00 AM
> To: Squeak-dev developers list general-purpose Squeak
> Subject: [3.10] TaskList shortcut keys
>
>
> Hi,
>
> I'm using Damien's nice sq3.10-7159dev08.01.1 image.
> To navigate from a task to another I found the shortcut keys: CMD
> +leftArrow or rightArrow.
> The problem is that it keeps switching from a task to the other if I
> keep the arrow key down.
> Relasing the arrow key makes the task list disappear.
> Is there some shortcut key to keep the TaskList displayed without
> switching between tasks ?
>
> Thanks,
> Noury
> ------------------------------------------------------------------
> Dr. Noury Bouraqadi - Enseignant/Chercheur
> Responsable de l'enseignement de l'informatique
> ARMINES - Ecole des Mines de Douai - Dept. I.A.
> http://vst.ensm-douai.fr/noury
>
> European Smalltalk Users Group Board
> http://www.esug.org
> ------------------------------------------------------------------
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

RE: [3.10] TaskList shortcut keys

Gary Chambers-4
In reply to this post by Noury Bouraqadi
The latest (Pinesoft-Widgets-gvc.284 from SqueakSource) version now includes
a preference for this behviour. Awaiting feedback before updating the
package Universe to this version.

Regards, Gary.

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Noury
> Bouraqadi
> Sent: 24 January 2008 11:00 AM
> To: Squeak-dev developers list general-purpose Squeak
> Subject: [3.10] TaskList shortcut keys
>
>
> Hi,
>
> I'm using Damien's nice sq3.10-7159dev08.01.1 image.
> To navigate from a task to another I found the shortcut keys: CMD
> +leftArrow or rightArrow.
> The problem is that it keeps switching from a task to the other if I
> keep the arrow key down.
> Relasing the arrow key makes the task list disappear.
> Is there some shortcut key to keep the TaskList displayed without
> switching between tasks ?
>
> Thanks,
> Noury
> ------------------------------------------------------------------
> Dr. Noury Bouraqadi - Enseignant/Chercheur
> Responsable de l'enseignement de l'informatique
> ARMINES - Ecole des Mines de Douai - Dept. I.A.
> http://vst.ensm-douai.fr/noury
>
> European Smalltalk Users Group Board
> http://www.esug.org
> ------------------------------------------------------------------
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [3.10] TaskList shortcut keys

Danil Osipchuk-2

2008/1/28, Gary Chambers <[hidden email]>:
The latest (Pinesoft-Widgets-gvc.284 from SqueakSource) version now includes
a preference for this behviour. Awaiting feedback before updating the
package Universe to this version.


This is not strictly  related to TaskList and also is not filled into bugtrack database, but if you are going to do an update... Could you please look at the ParagraphEditor>>#dispatchOnCharacter:with: ? It stumbles upon non-ascii input (i.e. unicode) at the following snippet, which I think was your addition:

    "allow cut/copy/paste/selectAll regardless of cmdKeysInText preference.
    Useful when running a deployed/locked-down image (after disableProgrammerFacilities).
        ((#(cut: copySelection: paste: selectAll:) includes: (CmdActions at: char asciiValue + 1 ))
            and: [sensor commandKeyPressed])
        ifTrue:
            [^self perform: (CmdActions at: char asciiValue + 1) with: typeAheadStream].

CmdActions and ShiftCmdActions happened to be mapping arrays with size of 256 (which is not teh case anymore as squeak becomes multilingual now) Of course there are many ways to fix it (I just put a 'ifAbsent: [#noop]' hack into it) - I wonder why they are not dictionaries? That would me much cleaner. Was it a performance concern? - who knows now :)

Regards, Gary.


Thank you for great iu enchancements!

regards,
  Danil
 

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Noury
> Bouraqadi
> Sent: 24 January 2008 11:00 AM
> To: Squeak-dev developers list general-purpose Squeak
> Subject: [3.10] TaskList shortcut keys
>
>
> Hi,
>
> I'm using Damien's nice sq3.10-7159dev08.01.1 image.
> To navigate from a task to another I found the shortcut keys: CMD
> +leftArrow or rightArrow.
> The problem is that it keeps switching from a task to the other if I
> keep the arrow key down.
> Relasing the arrow key makes the task list disappear.
> Is there some shortcut key to keep the TaskList displayed without
> switching between tasks ?
>
> Thanks,
> Noury
> ------------------------------------------------------------------
> Dr. Noury Bouraqadi - Enseignant/Chercheur
> Responsable de l'enseignement de l'informatique
> ARMINES - Ecole des Mines de Douai - Dept. I.A.
> http://vst.ensm-douai.fr/noury
>
> European Smalltalk Users Group Board
> http://www.esug.org
> ------------------------------------------------------------------
>
>
>
>
>





Reply | Threaded
Open this post in threaded view
|

RE: [3.10] TaskList shortcut keys

Gary Chambers-4
Looks like that isn't the only part of that method (even when "standard")
that could break.
I'll have a go at protecting the relevant parts.

Gary.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]]On Behalf Of danil
osipchuk
Sent: 28 January 2008 9:00 PM
To: The general-purpose Squeak developers list
Subject: Re: [3.10] TaskList shortcut keys




2008/1/28, Gary Chambers <[hidden email]>:
The latest (Pinesoft-Widgets-gvc.284 from SqueakSource) version now includes
a preference for this behviour. Awaiting feedback before updating the
package Universe to this version.


This is not strictly  related to TaskList and also is not filled into
bugtrack database, but if you are going to do an update... Could you please
look at the ParagraphEditor>>#dispatchOnCharacter:with: ? It stumbles upon
non-ascii input (i.e. unicode) at the following snippet, which I think was
your addition:

    "allow cut/copy/paste/selectAll regardless of cmdKeysInText preference.
    Useful when running a deployed/locked-down image (after
disableProgrammerFacilities).
        ((#(cut: copySelection: paste: selectAll:) includes: (CmdActions at:
char asciiValue + 1 ))
            and: [sensor commandKeyPressed])
        ifTrue:
            [^self perform: (CmdActions at: char asciiValue + 1) with:
typeAheadStream].

CmdActions and ShiftCmdActions happened to be mapping arrays with size of
256 (which is not teh case anymore as squeak becomes multilingual now) Of
course there are many ways to fix it (I just put a 'ifAbsent: [#noop]' hack
into it) - I wonder why they are not dictionaries? That would me much
cleaner. Was it a performance concern? - who knows now :)



Regards, Gary.


Thank you for great iu enchancements!

regards,
  Danil



> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Noury
> Bouraqadi
> Sent: 24 January 2008 11:00 AM
> To: Squeak-dev developers list general-purpose Squeak
> Subject: [3.10] TaskList shortcut keys
>
>
> Hi,
>
> I'm using Damien's nice sq3.10-7159dev08.01.1 image.
> To navigate from a task to another I found the shortcut keys: CMD
> +leftArrow or rightArrow.
> The problem is that it keeps switching from a task to the other if I
> keep the arrow key down.
> Relasing the arrow key makes the task list disappear.
> Is there some shortcut key to keep the TaskList displayed without
> switching between tasks ?
>
> Thanks,
> Noury
> ------------------------------------------------------------------
> Dr. Noury Bouraqadi - Enseignant/Chercheur
> Responsable de l'enseignement de l'informatique
> ARMINES - Ecole des Mines de Douai - Dept. I.A.
> http://vst.ensm-douai.fr/noury
>
> European Smalltalk Users Group Board
> http://www.esug.org
> ------------------------------------------------------------------
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [3.10] TaskList shortcut keys

Danil Osipchuk-2
Yes, but people tend to write KeyboardInterpeters for their language that which mappings of Cmd-Unicode to corresponding Cmd-Ascii shortcuts (I know at least two cases :) ) So for me it broke there. Of course  the whole method needs a proper fix - extracting of the access to cmd vars and maybe even converting them to Dictionary.

cheers,
  Danil

2008/1/29, Gary Chambers <[hidden email]>:
Looks like that isn't the only part of that method (even when "standard")
that could break.
I'll have a go at protecting the relevant parts.

Gary.




Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: [3.10] TaskList shortcut keys

Noury Bouraqadi
In reply to this post by Gary Chambers-4
Hi Gary,

I just tried your tasklist enhancement. Thanx for the improvement.
I'd like to report a bug I encountered (a feature?).
I had the preference browser and I checked some checkboxes. Then the  
cmd-left arrow does not show the tasklist anymore. I had to click on  
the window title bar in order to have the cmd-left arrow shortcut back.

Noury

On 29 janv. 08, at 21:57, Gary Chambers wrote:

> Looks like that isn't the only part of that method (even when  
> "standard")
> that could break.
> I'll have a go at protecting the relevant parts.
>
> Gary.
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of  
> danil
> osipchuk
> Sent: 28 January 2008 9:00 PM
> To: The general-purpose Squeak developers list
> Subject: Re: [3.10] TaskList shortcut keys
>
>
>
>
> 2008/1/28, Gary Chambers <[hidden email]>:
> The latest (Pinesoft-Widgets-gvc.284 from SqueakSource) version now  
> includes
> a preference for this behviour. Awaiting feedback before updating the
> package Universe to this version.
>
>
> This is not strictly  related to TaskList and also is not filled into
> bugtrack database, but if you are going to do an update... Could you  
> please
> look at the ParagraphEditor>>#dispatchOnCharacter:with: ? It  
> stumbles upon
> non-ascii input (i.e. unicode) at the following snippet, which I  
> think was
> your addition:
>
>    "allow cut/copy/paste/selectAll regardless of cmdKeysInText  
> preference.
>    Useful when running a deployed/locked-down image (after
> disableProgrammerFacilities).
>        ((#(cut: copySelection: paste: selectAll:) includes:  
> (CmdActions at:
> char asciiValue + 1 ))
>            and: [sensor commandKeyPressed])
>        ifTrue:
>            [^self perform: (CmdActions at: char asciiValue + 1) with:
> typeAheadStream].
>
> CmdActions and ShiftCmdActions happened to be mapping arrays with  
> size of
> 256 (which is not teh case anymore as squeak becomes multilingual  
> now) Of
> course there are many ways to fix it (I just put a 'ifAbsent:  
> [#noop]' hack
> into it) - I wonder why they are not dictionaries? That would me much
> cleaner. Was it a performance concern? - who knows now :)
>
>
>
> Regards, Gary.
>
>
> Thank you for great iu enchancements!
>
> regards,
>  Danil
>
>
>
>> -----Original Message-----
>> From: [hidden email]
>> [mailto:[hidden email]]On Behalf Of  
>> Noury
>> Bouraqadi
>> Sent: 24 January 2008 11:00 AM
>> To: Squeak-dev developers list general-purpose Squeak
>> Subject: [3.10] TaskList shortcut keys
>>
>>
>> Hi,
>>
>> I'm using Damien's nice sq3.10-7159dev08.01.1 image.
>> To navigate from a task to another I found the shortcut keys: CMD
>> +leftArrow or rightArrow.
>> The problem is that it keeps switching from a task to the other if I
>> keep the arrow key down.
>> Relasing the arrow key makes the task list disappear.
>> Is there some shortcut key to keep the TaskList displayed without
>> switching between tasks ?
>>
>> Thanks,
>> Noury
>> ------------------------------------------------------------------
>> Dr. Noury Bouraqadi - Enseignant/Chercheur
>> Responsable de l'enseignement de l'informatique
>> ARMINES - Ecole des Mines de Douai - Dept. I.A.
>> http://vst.ensm-douai.fr/noury
>>
>> European Smalltalk Users Group Board
>> http://www.esug.org
>> ------------------------------------------------------------------
>>
>>
>>
>>
>>
>
>

Noury Bouraqadi
------------------------------------------------------------------
Dr. Noury Bouraqadi - Enseignant/Chercheur
Responsable de l'enseignement de l'informatique
ARMINES - Ecole des Mines de Douai - Dept. I.A.
http://vst.ensm-douai.fr/noury

European Smalltalk Users Group Board
http://www.esug.org
------------------------------------------------------------------





Reply | Threaded
Open this post in threaded view
|

RE: [squeak-dev] Re: [3.10] TaskList shortcut keys

Gary Chambers-4
Glad you like it. Which version of Pinesoft-Widgets are you using. This
problem was introduced while refactoring the keyboard handling to support
filtering on PopupChoiceDialogWindows. I believe it is fixed in the current
version (297).

Gary

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Noury
> Bouraqadi
> Sent: 13 March 2008 12:13 AM
> To: The general-purpose Squeak developers list
> Subject: [squeak-dev] Re: [3.10] TaskList shortcut keys
>
>
> Hi Gary,
>
> I just tried your tasklist enhancement. Thanx for the improvement.
> I'd like to report a bug I encountered (a feature?).
> I had the preference browser and I checked some checkboxes. Then the
> cmd-left arrow does not show the tasklist anymore. I had to click on
> the window title bar in order to have the cmd-left arrow shortcut back.
>
> Noury
>
> On 29 janv. 08, at 21:57, Gary Chambers wrote:
>
> > Looks like that isn't the only part of that method (even when
> > "standard")
> > that could break.
> > I'll have a go at protecting the relevant parts.
> >
> > Gary.
> >
> > -----Original Message-----
> > From: [hidden email]
> > [mailto:[hidden email]]On Behalf Of
> > danil
> > osipchuk
> > Sent: 28 January 2008 9:00 PM
> > To: The general-purpose Squeak developers list
> > Subject: Re: [3.10] TaskList shortcut keys
> >
> >
> >
> >
> > 2008/1/28, Gary Chambers <[hidden email]>:
> > The latest (Pinesoft-Widgets-gvc.284 from SqueakSource) version now
> > includes
> > a preference for this behviour. Awaiting feedback before updating the
> > package Universe to this version.
> >
> >
> > This is not strictly  related to TaskList and also is not filled into
> > bugtrack database, but if you are going to do an update... Could you
> > please
> > look at the ParagraphEditor>>#dispatchOnCharacter:with: ? It
> > stumbles upon
> > non-ascii input (i.e. unicode) at the following snippet, which I
> > think was
> > your addition:
> >
> >    "allow cut/copy/paste/selectAll regardless of cmdKeysInText
> > preference.
> >    Useful when running a deployed/locked-down image (after
> > disableProgrammerFacilities).
> >        ((#(cut: copySelection: paste: selectAll:) includes:
> > (CmdActions at:
> > char asciiValue + 1 ))
> >            and: [sensor commandKeyPressed])
> >        ifTrue:
> >            [^self perform: (CmdActions at: char asciiValue + 1) with:
> > typeAheadStream].
> >
> > CmdActions and ShiftCmdActions happened to be mapping arrays with
> > size of
> > 256 (which is not teh case anymore as squeak becomes multilingual
> > now) Of
> > course there are many ways to fix it (I just put a 'ifAbsent:
> > [#noop]' hack
> > into it) - I wonder why they are not dictionaries? That would me much
> > cleaner. Was it a performance concern? - who knows now :)
> >
> >
> >
> > Regards, Gary.
> >
> >
> > Thank you for great iu enchancements!
> >
> > regards,
> >  Danil
> >
> >
> >
> >> -----Original Message-----
> >> From: [hidden email]
> >> [mailto:[hidden email]]On Behalf Of
> >> Noury
> >> Bouraqadi
> >> Sent: 24 January 2008 11:00 AM
> >> To: Squeak-dev developers list general-purpose Squeak
> >> Subject: [3.10] TaskList shortcut keys
> >>
> >>
> >> Hi,
> >>
> >> I'm using Damien's nice sq3.10-7159dev08.01.1 image.
> >> To navigate from a task to another I found the shortcut keys: CMD
> >> +leftArrow or rightArrow.
> >> The problem is that it keeps switching from a task to the other if I
> >> keep the arrow key down.
> >> Relasing the arrow key makes the task list disappear.
> >> Is there some shortcut key to keep the TaskList displayed without
> >> switching between tasks ?
> >>
> >> Thanks,
> >> Noury
> >> ------------------------------------------------------------------
> >> Dr. Noury Bouraqadi - Enseignant/Chercheur
> >> Responsable de l'enseignement de l'informatique
> >> ARMINES - Ecole des Mines de Douai - Dept. I.A.
> >> http://vst.ensm-douai.fr/noury
> >>
> >> European Smalltalk Users Group Board
> >> http://www.esug.org
> >> ------------------------------------------------------------------
> >>
> >>
> >>
> >>
> >>
> >
> >
>
> Noury Bouraqadi
> ------------------------------------------------------------------
> Dr. Noury Bouraqadi - Enseignant/Chercheur
> Responsable de l'enseignement de l'informatique
> ARMINES - Ecole des Mines de Douai - Dept. I.A.
> http://vst.ensm-douai.fr/noury
>
> European Smalltalk Users Group Board
> http://www.esug.org
> ------------------------------------------------------------------
>
>
>
>
>