Bug 259605 - [ui] Clicking in the 'work with' entry should select the content
Summary: [ui] Clicking in the 'work with' entry should select the content
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2008-12-23 16:04 EST by Pascal Rapicault CLA
Modified: 2009-03-24 17:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2008-12-23 16:04:53 EST
When I click on the 'work with' entry in teh "Install New Software" dialog, the content of the entry should be selected such that a paste will remove what was written there.
Comment 1 Susan McCourt CLA 2008-12-23 16:50:32 EST
seems reasonable, the trick is not to do this if it's not already a known site name (ie, if the user did some typing and clicks back).  

But if it's a site we already know, or "All Available Sites," we should select it all.  There is already code that detects this case in addRepository()
Comment 2 Susan McCourt CLA 2009-03-24 17:22:08 EDT
I'm looking at this with the latest from head on WinXP, and I think the default behavior is fine.  The first time the combo gets focus (through tabbing or clicking with the mouse), everything is selected.  If you click with the mouse after that, or operate the cursor keys, then you are m

If you click off and click back on, everything is selected.

So the first time you enter the field, everything is selected.

This seems reasonable to me.  It's possible that the Mac is behaving differently?  At any rate, i wouldn't attempt to fix this if it's a platform difference, as I'll surely get it wrong...