Home Download Buy Blog Forum Support

clicking on previously selected text prevents focus change

clicking on previously selected text prevents focus change

Postby jaunt on Thu Oct 18, 2012 6:40 pm

Windows 7, Sublime 2.0.1

Steps:

1. Open two column views with text in them.
2. In view 2, first click on any symbol, for example a variable name.
3. The focus switches to view 2 and the cursor is where you clicked. Good.
4. Now double click on the same symbol to "select" it.
5. In view 1, double click on some other symbol. The focus and cursor moves as expected. Good.
6. Now, try to double click on the original symbol (still highlighted) in view 2. Notice the focus remains in view 1.
7. Keep double clicking on it if you want but the focus will stay in view 1.
8. Double click on a different symbol in view 2 and everything will be fine again.

This doesn't only happen with double clicking, but it's easiest to demonstrate.

Summary: clicking on a previously selected piece of text in an out-of-focus view prevents focus from changing to that view.

This is happening to me all the time because I've been copying symbols from one view and replacing them in another view.

PS. sublime text 2 is brilliant
jaunt
 
Posts: 10
Joined: Thu Oct 18, 2012 6:22 pm

Re: clicking on previously selected text prevents focus change

Postby jaunt on Tue Oct 23, 2012 8:05 pm

Just wondering if this bug report is unique to my system or if it's been reproduced.

Thank you.
jaunt
 
Posts: 10
Joined: Thu Oct 18, 2012 6:22 pm

Re: clicking on previously selected text prevents focus change

Postby adzenith on Tue Oct 23, 2012 8:24 pm

Can't repro on OS X. Haven't tried Windows.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: clicking on previously selected text prevents focus change

Postby jaunt on Thu Oct 25, 2012 4:37 pm

I just tried it under OSX and the same bug seems to exist:

Open sublime on windows or osx (and probably ubuntu -- I'll try this afternoon). Make the layout two columns and put an empty file in each column.

In the first column type "hello", in the second type "there".

First try single clicking on "hello", then on "there", then back and forth. The focus and cursor changes between the views as expected.

Now try double clicking on "hello". Then click on "there". The focus changes which is good. Now click back on "hello". The cursor remains on "there".

Instead of double clicking, you could have also selected it with the mouse.
jaunt
 
Posts: 10
Joined: Thu Oct 18, 2012 6:22 pm

Re: clicking on previously selected text prevents focus change

Postby vip32 on Thu Oct 25, 2012 6:16 pm

also happens on win 7 with st 2.0.1 (2217). very annoying sometimes
vip32
 
Posts: 3
Joined: Fri Jan 27, 2012 10:43 am

Re: clicking on previously selected text prevents focus change

Postby jaunt on Fri Oct 26, 2012 6:10 pm

Note: this bug does not occur under Ubuntu 12.04.1 LTS running Sublime 2.0.1 2217
jaunt
 
Posts: 10
Joined: Thu Oct 18, 2012 6:22 pm


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 32 guests