Re: Single modifier activation not working on right side of keyboard

2015-08-24 Thread Etienne Samson
Bug located at [1].

We need to mask `NSDeviceIndependentModifierFlags` in there (see [2]).

Left ⌘ is 1048840 (which is bit 20, a.k.a NSCommandKeyMask, bit 8, and bit 3 
which I can't find any definition for)
Right ⌘ is 1048848 (which is bit 20 (hopefully ;-)), bit 8 and bit 4).

This would seem to imply that bit 3 means left, and bit 4 is right, but 
this is not explained anywhere in the documentation so YMMV.

1 - 
https://github.com/quicksilver/Quicksilver/blob/master/Quicksilver/Code-App/QSModifierKeyEvents.m#L70
2 - 
http://stackoverflow.com/questions/6084266/check-modifierflags-of-nsevent-if-a-certain-modifier-was-pressed-but-no-other

Cordialement, 
Etienne Samson
--
samson.etie...@gmail.com

 Le 24 août 2015 à 11:33, 1.61803 iams...@gmail.com a écrit :
 
 On Monday, August 24, 2015 at 4:10:23 AM UTC+2, Rob McBroom wrote:
 I use Control and it works on either side (and does Caps Lock, which is 
 mapped to Control and what I mostly use).
 
 Do you have any key reapers or custom bindings in effect?
 
 Maybe try something like Key Codes to see what’s going on.
 
 
 I do have KeyRemap4MacBook, but even with default profile (no remapping) QS 
 doesn't activate with the right side modifiers.
 
 Key Codes logs the following
 
 
 Command left
 
 Modifier Change
   Keys:   ⌘
   Key Code:   65535 / 0x
   Modifiers:  1048840 / 0x100108
 
 Modifier Change
   Keys:   
   Key Code:   65535 / 0x
   Modifiers:  256 / 0x100
 
 
 Command right
 
 Modifier Change
   Keys:   ⌘
   Key Code:   65535 / 0x
   Modifiers:  1048848 / 0x100110
 
 Modifier Change
   Keys:   
   Key Code:   65535 / 0x
   Modifiers:  256 / 0x100
 
 
 And this is already written to the plist
 
   keyQSActivationHotKey/key
   dict
   keykeyCode/key
   integer49/integer
   keymodifiers/key
   integer1048840/integer
   /dict 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Quicksilver group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to blacktree-quicksilver+unsubscr...@googlegroups.com.
 To post to this group, send email to blacktree-quicksilver@googlegroups.com.
 Visit this group at http://groups.google.com/group/blacktree-quicksilver.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Quicksilver group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blacktree-quicksilver+unsubscr...@googlegroups.com.
To post to this group, send email to blacktree-quicksilver@googlegroups.com.
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.


Re: Single modifier activation not working on right side of keyboard

2015-08-24 Thread 1.61803
On Monday, August 24, 2015 at 4:10:23 AM UTC+2, Rob McBroom wrote:

 I use Control and it works on either side (and does Caps Lock, which is 
 mapped to Control and what I mostly use).

 Do you have any key reapers or custom bindings in effect?

 Maybe try something like Key Codes http://manytricks.com/keycodes/ to 
 see what’s going on.


I do have KeyRemap4MacBook, but even with default profile (no remapping) QS 
doesn't activate with the right side modifiers.

Key Codes logs the following


Command left

Modifier Change
Keys: ⌘
Key Code: 65535 / 0x
Modifiers: 1048840 / 0x100108

Modifier Change
Keys: 
Key Code: 65535 / 0x
Modifiers: 256 / 0x100


Command right

Modifier Change
Keys: ⌘
Key Code: 65535 / 0x
Modifiers: 1048848 / 0x100110

Modifier Change
Keys: 
Key Code: 65535 / 0x
Modifiers: 256 / 0x100


And this is already written to the plist

keyQSActivationHotKey/key
dict
keykeyCode/key
integer49/integer
keymodifiers/key
integer1048840/integer
/dict 

-- 
You received this message because you are subscribed to the Google Groups 
Quicksilver group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blacktree-quicksilver+unsubscr...@googlegroups.com.
To post to this group, send email to blacktree-quicksilver@googlegroups.com.
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.


Re: 1.3.0 only English language app names

2015-08-24 Thread Daniel Persson
Yup, replacing English for Swedish and running this (from the wiki FAQ) 
in the Terminal, made Swedish app and folder names work again:

defaults write com.blacktree.Quicksilver AppleLanguages -array English

Obviously, now QS also have commands and actions localised too, which is 
not desirable.

I want to keep QS in English for two reasons:

* Localisation (at least for Swedish) is spotty and forces me to switch 
language midway through commands. In localised QS it is kopiera for 
copy, but compose to compose a new mail, instead of Swedish 
komponera. So instead of acting without thinking, it is a lot of thinking 
before acting.

* A lot of pro level software is not localised to Swedish, so a lot of 
common commands are simply more used in English than in Swedish, even on a 
localised system.

Is there a solution to this? Before 1.3.0 it worked perfectly: Everything 
inside QS was in English, everything that QS interpreted from the file 
system was in the language set in the OS.



-- 
You received this message because you are subscribed to the Google Groups 
Quicksilver group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blacktree-quicksilver+unsubscr...@googlegroups.com.
To post to this group, send email to blacktree-quicksilver@googlegroups.com.
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.


Re: Single modifier activation not working on right side of keyboard

2015-08-24 Thread 1.61803
On Monday, August 24, 2015 at 1:04:40 PM UTC+2, Etienne wrote:

 Are you by any chance not using your internal keyboard ? I'm seeing the 
 same behavior as Rob here (e.g it works). And the Apple Extended keyboard 
 I'm using also works. Also, what happens if you single-activate with QS as 
 the active application (which would tell us there's something that prevents 
 our global listener from working on your machine) ?


I'm using my MBA's built-in keyboard. I don't quite understand the second 
question. Right-⌘ activates/deactivates QS, left-⌘ doesn't work at all, 
neither to activate it, nor to deactivate it (if it was, by right-⌘ or ⌘⎵ 
). Fwiw I cleared my caches. How can I read the actual setting? How can I 
force it? (I'm mean on the command line).

-- 
You received this message because you are subscribed to the Google Groups 
Quicksilver group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blacktree-quicksilver+unsubscr...@googlegroups.com.
To post to this group, send email to blacktree-quicksilver@googlegroups.com.
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.