Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opera looses focus after drop #1168

Closed
peterkroon opened this issue Jan 18, 2013 · 6 comments
Closed

Opera looses focus after drop #1168

peterkroon opened this issue Jan 18, 2013 · 6 comments

Comments

@peterkroon
Copy link
Contributor

  • Open Opera browser, get latest here: http://www.opera.com/
  • Go to: http://codemirror.net/mode/less/index.html
  • Place cursor via mouse at the beginning of line 5
  • Drag via mouse downwards 'till the end of line 14
  • Now, drag the selection from right to left and drop it on itself
  • The selection should remain. Which it does. Good.
  • To unselect the selection place the cursor via mouse on line 1 at the far right of the editor where there is no text/code
  • Perform a click
  • Selection is now gone.
  • Slowly move your cursor via mouse over the text/code, you'll notice that the cursor remains default instead of text.
  • Move the cursor over the gutter and back into the editor you'll notice that the cursor looks like text when moving over the text/code. Focus is back.

A double click would bring back focus as well when undoing the selection.

Opera 12.12 stable.
w7 32 ultimate

@marijnh
Copy link
Member

marijnh commented Jan 21, 2013

This seems to also have happened in other browsers. Attached patch should help.

@peterkroon
Copy link
Contributor Author

Not fixed, still occurs in Opera.

@marijnh
Copy link
Member

marijnh commented Jan 21, 2013

Not for me. Could you write another description that only involves relevant steps, distinguishes between mouse cursor and text cursor, and uses another demo page, since the less theme doesn't color the selection differently when the editor is deselected, and is thus needlessly obscuring the situation.

@peterkroon
Copy link
Contributor Author

@peterkroon
Copy link
Contributor Author

The editor looses focus as well regarding of selection color.

@marijnh
Copy link
Member

marijnh commented Jan 21, 2013

For me, the editor is perfectly well selected after doing this in Opera, in both 12.11 and 12.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants