Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 68832 - double click in display view selects whole line
Summary: double click in display view selects whole line
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.8 M6   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2004-06-29 03:11 EDT by Grzegorz Grzybek CLA
Modified: 2012-03-14 11:44 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Grzybek CLA 2004-06-29 03:11:28 EDT
in earlier releases (2.1.x) double clicking in display view in debug perspective
selected single word (re = \b.*\b). in 3.0 double clicking selects whole line no
matter where I click.
this is confusing and strange - was that intended?
Comment 1 Kevin Barnes CLA 2004-06-29 10:10:32 EDT
This was intentional. See Bug 45481 for details.
Comment 2 Darin Wright CLA 2004-06-30 09:10:57 EDT
Marking as won't fix, as this was intentional.
Comment 3 Markus Keller CLA 2012-03-05 08:29:07 EST
Bug 45481 was a very bad idea and should be reverted.

Double-click has a well-defined meaning (select word), and this is broken not only in the Display view, but also in the breakpoints condition editor, etc.

Use triple click to select a whole line, and triple-click-drag (keeping the mouse down on the third click) to select multiple lines.
Comment 4 Michael Rennie CLA 2012-03-05 11:04:02 EST
I agree that we should not change the notion of what double / triple click do, that is why I pushed the change to revert to the default behavior to:

http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=473a726270ed527d7e83283bf3d47a8fec0747e1

Thanks for finding + reopening this Markus.
Comment 5 Markus Keller CLA 2012-03-05 13:02:53 EST
Thanks a lot.

I should have investigated this much earlier, but I always thought it would be hard to fix, since I didn't imagine code that actively destroys the right behavior...
Comment 6 Michael Rennie CLA 2012-03-14 11:44:45 EDT
Verified in:

Version: 4.2.0
Build id: I20120313-0610