5
$\begingroup$

I'm getting odd selection bugs in Mathematica (starting in 10.0.1.0, OS X 10.10 and still present in 10.3.1.0, OS X 10.11.2) that are making it impossible to use. For example if I simply click before the 'i' in With I get

enter image description here

while if I click after the 't' I get

enter image description here

and if I click after the '=' in mp = I get

enter image description here

Attempts to drag out a selection produce similarly bizzare results, with the selection extending several to many characters ahead of the dragged location, in starts and fits; while double-clicking selects huge blocks of code.

This happens in fresh notebooks in fresh Mathematica sessions into which any amount of code has been pasted or typed. Obviously this makes it impossible to get anything done. Has anyone else seen this bug? Is there something I could reset or disable that might be the cause?

$\endgroup$
  • $\begingroup$ When you state "click before the 'i'" do you mean click and then drag or is Mathematica decided that you must want to select something with a single left-click of the mouse button? $\endgroup$ – bobthechemist Nov 7 '14 at 17:17
  • $\begingroup$ have you tried blowing away the FE caches (`$UserBaseDirectory\FrontEnd`)? $\endgroup$ – rcollyer Nov 7 '14 at 17:23
  • 2
    $\begingroup$ @raxacoricofallapatorius go to the directory I pointed out above, and delete the directories with Cache in their name. Let me know if it helps. $\endgroup$ – rcollyer Nov 7 '14 at 17:28
  • 2
    $\begingroup$ support.wolfram.com/kb/12464 $\endgroup$ – chuy Nov 7 '14 at 18:58
  • 2
    $\begingroup$ @rcollyer: Wolfram's "support" explains: "This sounds like a dirty track pad or a faulty mouse." FWIW: I didn't see selection or responsiveness issues in ANY other applications, and removing caches fixed the issue (for now). $\endgroup$ – orome Nov 19 '14 at 15:23
2
$\begingroup$

I just had a similar thing start happening to me. I think it is, in fact, related to a bad/dirty mouse combined with some weird modal-selection behavior in Mathematica on a double-click (in my case, Mathematica 11.3 on OSX 10.14).

One can single-click to place the insert cursor within a word, or double-click to select the entire world (another click to select the entire line). Once we've entered word or line-select mode, then for the next few seconds I am unable to single-clock to insert the cursor within a different word. Instead it will stay in word-select mode and select the entire new word (and then we are in word-select mode for several more seconds).

It was extremely frustrating until I learned the following trick: "when you are stuck in this mode, instead of frantically clicking around trying to get out of it--instead just count to 5 before clicking again on the new word. works every time".

By the way, the reason I think that a "bad mouse" is a contributing factor is that a common failure mode of bad/dirty mouse is that they start registering double-clicks on a single-click. That puts one into word-selection mode accidentally and then we're trapped until we do the "count to 5" thing.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.