Skip to content
New issue

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

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

Already on GitHub? # to your account

Can't edit what I have selected #173

Open
senderic opened this issue Jun 3, 2020 · 5 comments
Open

Can't edit what I have selected #173

senderic opened this issue Jun 3, 2020 · 5 comments

Comments

@senderic
Copy link

senderic commented Jun 3, 2020

Although I can select the area of interest, when I start typing or deleting, nothing happens...

I checked the settings, I don't see anything like that enabled.

Atom 1.47.0 x64 windows 10
package 1.7.5

@morpc-gohio
Copy link

I'm experiencing the same issue. Hold Alt - drag to select - hit the Backspace. Nothing happens.

Atom version 1.47.0

@morpc-gohio
Copy link

I changed the select key to Ctrl and it's working again. Switched back to Alt and experienced the issue. It seems to be a problem with binding to the Alt key.

@dprov
Copy link

dprov commented Jul 21, 2020

I'm experiencing the same issue. (Atom 1.49.0, Sublime-Style-Column-Selection 1.75.5, using through remote desktop connexion)

It seems to be related to a loss of focus. When releasing the alt key, the focus indicator (vertical bar next to the filename in the tab, see images) turns grey. However, if I press/release alt again, the editor gains/loses focus again.

If I maintain alt while editing, it works and the editor does not lose focus once alt is released. Therefore an annoying workaround
is to select with alt+mouse, hit a key e.g. backspace, release alt, then ctrl-z.

If I change the 'Select key' to ctrl for instance, it works normally.

When alt is pressed (cursor blinking)
image
When alt is released
image

@dprov
Copy link

dprov commented Jul 28, 2020

Actually, pressing alt again after selecting with alt+mouse will toggle the focus on and off. The issue seems to be with the Alt key toggling menu bar selection.
A fix is to add this in keymap.cson

'.platform-win32, .platform-linux':
'alt': 'abort!'

(Fix from : atom/atom#6037 (comment) )

@asbestosbill
Copy link

This sent me on a search for a way to disable alt menu selection globally on Windows. If you use AutoHotkey, a simple Alt::return works to prevent it, while still allowing alt to be used as a modifier.

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

No branches or pull requests

4 participants