Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Shift #109

Open
silintzir opened this issue Oct 29, 2020 · 10 comments
Open

Problem with Shift #109

silintzir opened this issue Oct 29, 2020 · 10 comments

Comments

@silintzir
Copy link

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?

@joeyave
Copy link

joeyave commented Nov 3, 2020

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.

@shicks
Copy link

shicks commented Dec 17, 2020

+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
Copy link

shicks commented Dec 17, 2020

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

@rbika
Copy link

rbika commented Feb 1, 2022

Any updates or workarounds on this?

@shicks
Copy link

shicks commented Feb 2, 2022

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

@rbika
Copy link

rbika commented Feb 2, 2022

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

@joshgoebel
Copy link

This issue can be closed then?

@joshgoebel
Copy link

joshgoebel commented Jun 20, 2022

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

@yokowasis
Copy link

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
Copy link

yokowasis commented Aug 2, 2022

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants