Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354584 - Project explorer should allow multiple range selects using Shift-Control-Clicking.
Summary: Project explorer should allow multiple range selects using Shift-Control-Clic...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 03:59 EDT by Arne Bachmann CLA
Modified: 2020-01-29 03:35 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Bachmann CLA 2011-08-12 03:59:08 EDT
Build Identifier: M20100909-0800

Similar to e.g. Windows Explorer, I want to du multiple range selects in the project explorer, but after the first range I can only select singular elements with the CTRL key. CTRL+SHIFT doesn't work.

Reproducible: Always

Steps to Reproduce:
1. Go to the project explorer that has some resources
2. Click top resource
3. Shift-click somewhere resources below
4. Ctrl-click another resource below
5. Ctrl+Shift-click another resource below.

The first range gets selected (but not always), the second range never
Comment 1 Eclipse Genie CLA 2019-11-09 14:53:48 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Niraj Modi CLA 2019-11-11 00:46:50 EST
Steps in comment 0 works for me as tried on Win7, closing as Works for me.
Comment 3 Arne Bachmann CLA 2019-11-11 02:20:29 EST
I just tested with a recent Eclipse (4.8)-based product and could reproduce without a problem on first attempt.

When Shift-Control-Clicking the end of the second range, only the clicked end element is selected, not the ones between, so no range-select occurs.
Comment 4 Niraj Modi CLA 2019-11-11 02:31:30 EST
(In reply to Arne Bachmann from comment #3)
> I just tested with a recent Eclipse (4.8)-based product and could reproduce
> without a problem on first attempt.
> 
> When Shift-Control-Clicking the end of the second range, only the clicked
> end element is selected, not the ones between, so no range-select occurs.

(In reply to Arne Bachmann from comment #0)
> The first range gets selected (but not always), the second range never

Ok, first range selection occurs consistently for me.
Supporting second range selection using(Shift-Control-Clicking) is enhancement.
Comment 5 Arne Bachmann CLA 2019-11-11 02:33:49 EST
If you say so... Normal behaviour in any Windows App since decades, but I'm the only one bothered? Long overdue "enhancement" then :-P
Comment 6 Paul Pazderski CLA 2020-01-28 08:38:47 EST
(In reply to Arne Bachmann from comment #5)
> Normal behaviour in any Windows App since decades

Example? While investigating bug 285314 I looked for such an App but could not find any where a native *Tree* has such behaviour. Note that my right part of Windows Explorer is a Table which already works the same in SWT.
Comment 7 Arne Bachmann CLA 2020-01-28 09:04:49 EST
Works as described in Windows Explorer, Microsoft Outlook, Windows Open file dialog.
Also in tools like GrepWin, the Firefox bookmark manager, the 7-Zip archive manager, and potentially many other tools using some kind of standard Windows library.

In Microsoft Excel it works differently (without the Ctrl key).

I tested today, and it *did work* in the 2019-12 Eclipse's Project Explorer.

Can anybody confirm this?
Comment 8 Paul Pazderski CLA 2020-01-29 03:31:20 EST
Please note the difference between Tree and Table (and a tree without children looks like a table but is technically still a tree).
I don't know since when but SWT Table can multi range. SWT Tree can multi select (which is already uncommon on Windows) but not multi range. Project Explorer is in all configurations I could remember a tree.

For your examples:
 Explorer: left side is tree and single select. Right side is table and multi range.
 Open file dialog: same as Explorer
 Firefox bookmark: same as Explorer. Tree part is single select and the other widget is a table.
 7-Zip: mine has no tree but only a table
The one I skipped I have not tested.

In another ticked someone mentioned a tree with multi range selection: the solution explorer in Visual Studio.