Sublime Forum

Selections automatically deselect themselves?

#1

I have recently started using Sublime Text & had installed 3.2.2 Build 3211. It’s been working great for the last couple of weeks.

I just upgraded from Fedora 29 (I know) -> 31 using dnf system-upgrade. After the upgrade finished, I also decided to install LXDE.

After these changes, selections do not stay selected in Sublime. Any selection gets de-selected after about 1 second. It doesn’t matter if I select with the keyboard or mouse. This only happens in SublimeText, all selections are fine in other apps like VSCode. I rebooted the system in case it was some weird thing because of the LXDE install, and I also removed & reinstalled the sublime-text package, but it still happens after each of these.

Any suggestions on how to fix this would be appreciated!

0 Likes

#2

Uninstalling & reinstalling does not give you a fresh install. Try reverting to a freshly installed state and see if the problem persists. If not, it might be a package/plugin that is doing something.

0 Likes

#3

On the one hand, I was going to say “The uninstall seems to have deleted the .config directory” - on the other, I just found that it’s apparently not limited to Sublime Text, as when I highlighted the output in my terminal, it got de-selected.

But selections in VSCode and firefox are still working, ST & terminal are not.

Thanks for the assist, looks like I need to hunt elsewhere. I’m going to switch back to Gnome & see what happens.

0 Likes

#4

See https://github.com/sublimehq/sublime_text/issues/1022

Sublime Text is following the original guidelines for X applications. This can be disabled with "clear_selection": false and the default has changed for ST4 as most applications don’t behave this way anymore.

0 Likes

#5

Probably not your issue.
I have had that with older bluetooth logitech mice on centos. I think the mouse was randomly and fairly losing connection for very brief spurts behind the scenes but i never took the time to track it down, i just switched to a wired mouse.

0 Likes