Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 379261 - [Chrome] Command buttons & tools allow text selection
Summary: [Chrome] Command buttons & tools allow text selection
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 0.5 M2   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 10:56 EDT by Mark Macdonald CLA
Modified: 2012-05-18 15:27 EDT (History)
0 users

See Also:


Attachments
screenshot from Chrome (20.60 KB, image/png)
2012-05-11 10:56 EDT, Mark Macdonald CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2012-05-11 10:56:12 EDT
Created attachment 215482 [details]
screenshot from Chrome

A minor issue, but annoys me when I'm using Chrome:

The buttons (and tools) rendered by the command framework look buttony but don't behave quite like buttons, as they still allow you to text-select by doubleclicking.

For example:
1. Open the Orion editor on a file.
2. Open the Find toolbar, type in a query with a lot of hits.
3. Quickly click "Find Next" a few times to jump past the first few matches.
4. If you do this fast enough, the clicks trigger a doubleclick event that selects all the text on the toolbar. This kind of undermines the UI metaphor.

Apparently this behavior can be disabled via CSS:
http://stackoverflow.com/questions/826782/css-rule-to-disable-text-selection-highlighting
Comment 1 Susan McCourt CLA 2012-05-11 16:51:11 EDT
funny, but I was noticing this a lot today.  I even wondered if this was new behavior, or if just having button borders makes it seem more obvious out of place.  Thanks for looking up the css...
Comment 2 Susan McCourt CLA 2012-05-18 15:27:48 EDT
Fixed for command framework in
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9d76488590c4653f5111f1f84abd69aceb155ca1

The issue with shift/select in navigators is tracked in bug 379831