Skip to content

ghost mouse selection (linux) #41

Closed
jmrod4 opened this Issue Oct 31, 2010 · 2 comments

3 participants

@jmrod4
jmrod4 commented Oct 31, 2010

In the editor you if you modify a file, then open other file (click home and then click the file) without saving the former (clicking OK on the dialog), then if you move the mouse over the text you see a kind of floating selection (just like if the left mouse button were pressed all the time)

If you click any place in the text then it goes away for good.

@steveklabnik
Hackety Hack member

I'm getting this on OSX too, actually. So I bet it's in Hackety, and not Shoes.

Time to dig in! I be some sort of flag isn't getting cleared...

@wilkie
wilkie commented Dec 19, 2010

Simple patch that will make sure that selections can only be made by clicking and dragging within the text.

The old behavior allowed residual dragging from other widgets to start selecting the text in the text field. Also caused by a small issue where the release methods are not fired when the mouse is released over another window or alert. This is mitigated by basically augmenting the logic of the mouse[0] field with another instance variable that denotes a click has been made within the widget.

Some cleanup of hard tabs to spaces was done in other parts by coincidence. Discipline!

Closed by d6dc85d

@mrflip mrflip pushed a commit to whymirror/hacketyhack that referenced this issue Jul 11, 2011
@wilkie wilkie Simple patch that will make sure that selections can only be made by …
…clicking and dragging within the text.

The old behavior allowed residual dragging from other widgets to start selecting the text in the text field. Also caused by a small issue where the release methods are not fired when the mouse is released over another window or alert. This is mitigated by basically augmenting the logic of the mouse[0] field with another instance variable that denotes a click has been made within the widget.

Some cleanup of hard tabs to spaces was done in other parts by coincidence. Discipline!

Closes #41
d6dc85d
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.