xkeysnail icon indicating copy to clipboard operation
xkeysnail copied to clipboard

Problem with Shift

Open silintzir opened this issue 4 years ago • 10 comments

I have the following issue:

I'm trying to do some fast text selection and I was always using Alt and Shift together with left or right arrow keys to select next or previous words in the text. In a Mac, whenever I release Alt key alone to fine tune my selection on a character level by using only Shift with arrow keys this works.

This is not the case with xkeysnail. Once I release the Alt key, Shift key is automatically considered to be unpressed as well as even if I keep pressing on this key. This causes me to loose whatever text selection I have made so far.

Has anyone else the same issue?

silintzir avatar Oct 29 '20 15:10 silintzir

I have the same issue even without xkeysnail. The workaround I've found is to define such remapping:

define_keymap(None, {
    K("Shift"): K("Shift")
})

But after that I lose my other remappings.

joeyave avatar Nov 03 '20 09:11 joeyave

+1, I've also seen this happening with Ctrl+Shift and releasing Ctrl while still holding Shift seems to cause any following keypresses to lose track of the fact that Shift was pressed (unless Shift is explicitly released and re-pressed).

shicks avatar Dec 17 '20 00:12 shicks

FWIW, the other direction doesn't have this problem: releasing only Shift does not cause the Ctrl modifier to disappear.

shicks avatar Dec 17 '20 00:12 shicks

Any updates or workarounds on this?

rbika avatar Feb 01 '22 22:02 rbika

I'm currently using v0.4.0 and haven't noticed the issue recently.

shicks avatar Feb 02 '22 17:02 shicks

You are right, I updated to 0.4.0 and it fixed the problem. Thanks.

rbika avatar Feb 02 '22 22:02 rbika

This issue can be closed then?

joshgoebel avatar May 28 '22 05:05 joshgoebel

Ping. @silintzir If this is fixed in 0.4.0 could you close out this issue?

joshgoebel avatar Jun 20 '22 15:06 joshgoebel

I have the same problem. I can't fine tune the selection. without having to "re-press" the shift button.

I am using Linux Mint 21.

yokowasis avatar Aug 02 '22 13:08 yokowasis

Can confirm, after updating from source, the problem is gone.

git clone --depth 1 https://github.com/mooz/xkeysnail.git
cd xkeysnail
sudo pip3 install --upgrade .

yokowasis avatar Aug 02 '22 16:08 yokowasis