Sublime Forum

Double click not working on macOS

#1

The double-click on the last sublime 3 update apparently stopped working as it wont select the text between spaces and/or speciao characters.
Any ideas why?

0 Likes

#2

+1

0 Likes

#3

I am on OSX 10.10.4 and Sublime build 3083
This used to work, and has worked for as long as I’ve used Sublime.
But today, when I double click a word, it won’t select the word.
I have tried rebooting
I have tried different mouses.
I have tried the track pad
I tried it on a coworker’s computer and it works fine
Double clicking in other apps (command line, IntelliJ) still works fine. It’s only Sublime that won’t double click.
Triple clicking selects the whole line
I tried double clicking then pressing Delete. The character at the cursor was deleted. (so it’s not ‘invisibly’ selecting the word)
I tried installing Sublime from scratch.
Nothing fixes it.

1 Like

#4

I have the same issue on linux (centos 7).
3083 build.
Double click doesn’t select word.
Double click on search result doesn’t go to file.

It seems like double click doesn’t work completely on the main window, on the side bar it seems to be working properly (permanently open a file instead of just viewing it)

0 Likes

#5

+1

0 Likes

#6

Just noticed I get double click working properly if I have ctrl pressed when dbl clicking
(Not sure if this will work the same on macOS with cmd key)

0 Likes

#7

I just tested this and it does indeed work on mac os as well, when you press the cmd key. Still, it used to work without the need to press this extra key, and I don’t know what changed.

0 Likes

#8

Same problem on sublime 3 at 3083.

This is such a quietly huge issue for me. Send help

0 Likes

#9

It might be a conflict with some package. I did a “reset/revert” as per sublimetext.com/docs/3/revert.html and double-click is working again.

0 Likes

#10

Thanks! resetting sublime solved my problem as well.
I then re-enabled each package and found the misbehaving package
it is Web inspector - there is also an open issue on their github -

github.com/sokolovstas/SublimeW … issues/100

0 Likes

#11

Sorry about that – I’ll cut a new release

0 Likes

#12

Please restart Sublime, Package Control has now picked up the fix (v 1.6.6)

I had added a Default.sublime-mousemap to trigger without the bolded part.

{
	"button": "button1", "count": 2,
	"press_command": "drag_select",
**	"press_args": {"by": "words"},**
	"command": "swi_double_mouse_up"
}

This refers to a similar issue.

I introduced that bug on July 27 and only put a release out on Aug 1. Oddly the first post in this thread was before Aug 1 – so perhaps they are hitting some other issue.

Apologies for the trouble this caused.
Dan

0 Likes

#13

For me it was the Web Inspector Plugin as well. Thanks for the help.

0 Likes

#14

I was getting this same error off of sublime 3 at 3114, turned out to be Typescript plugin

0 Likes

#15

You were right about some possibly conflicting package, and that gave me the idea to actually check in the sublime console what was going on.

I turned on debug mode as explained here http://stackoverflow.com/a/29771703 and discovered that in my case it was the TypeScript plugin trying to do something when double clicking… Removed that plugin, and the problem is solved now.

0 Likes