shift-select and control-select patch

Charles McNulty charles at charlesmcnulty.com
Fri Mar 3 00:22:21 CET 2006


Here's a patch that might fix the problem and which at the very least 
doesn't break for Firefox.  Any mac users wanna give it a try?

Jamie Halmick wrote:
> The standard behavior is for
> 
> command-click to perform non-contiguous multiple select.
> shift-click performs contiguous multiple select
> command-shift-click appears to perform just like shift-click
> 
> At least that's how it works in the Finder, which I think should be the Mac
> reference for this type of behaviour.
> 
> I think that substituting command for control with the current roundcube
> behaviour would be fine though as it's really just "more" functionality.
> 
> : jamie
> 
> --------
> "Much human ingenuity has gone into finding the ultimate Before. The current
> state of knowledge can be summarized thus: In the beginning, there was nothing,
> which exploded"
>  - Terry Pratchett
> 
> 
> On Thu, 02 Mar 2006 16:21:20 -0600, Charles McNulty
> <charles at charlesmcnulty.com> wrote:
>> Is that the standard behavior for Macs?  When I implemented the
>> select/control-click behavior, I studied exactly what Outlook, Outlook
>> Express and Thunderbird did in Windows (XP) and attempted to emulate
>> that exact behavior.  I don't have a Mac, but if someone could describe
>> the exact behavior and key combinations with a Mac on a similar set of
>> standard applications, I'd be happy to attempt to implement it.
>>
>> Key combinations to test are:
>>
>> Click
>> Shift-Click
>> Command-Click
>> Command-Shift-Click
>>
>> Situations to test are each of these in different combinations with each
>> other in different scenarios:
>>
>> When nothing is selected
>> When a continous list of things are selected
>> When a non-continuous list of things are selected
>>
>> So for instance, what happens when you click a list item, shift-click an
>> item 5 below it, command-click an item two up from that one and then
>> command-shift-click an item another 10 up from that?
>>
>> If you can tell me definitively that a Command-click and
>> command-shift-click do the exact same thing in all situations as a
>> Control, then that will be an easy change.  The key is predictability.
>> What I'm going for here is the exact same behavior in RC as in ... well
>> whatever you Mac users use for e-mail.
>>
>> -Charles
>>
>> Jamie Halmick wrote:
>>> This new select behavior is nice for contiguous selection but doesn't
>> really work on Macintosh. When you control-click you get the context menu
>> (right click for Mac). Can you add the behavior so that the Command key
>> will do the same on the Mac as Control?
>>> : jamie
>>>
>>> --------
>>> "I love deadlines. I like the whooshing sound they make as they fly by"
>>>  - Douglas Adams
>>>
>>>
>>>
>>>
> 
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: app.js.patch
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20060302/847a3970/attachment-0001.ksh>


More information about the Dev mailing list