Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 67029 - [RCP] Switch Workspace... should not switch if current is selected
Summary: [RCP] Switch Workspace... should not switch if current is selected
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Andrew Eidsness CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 12:46 EDT by Dani Megert CLA
Modified: 2006-06-10 16:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2004-06-14 12:46:15 EDT
3.0 RC2 Test Pass

Switch Workspace... should not switch if current is selected or at least ask
whether this is really desired.
Comment 1 Andrew Eidsness CLA 2004-06-15 08:27:44 EDT
The current behaviour is the design intent.  Allowing the workbench to restart 
on the same workspace is convenient in cases such as changing the Current 
presentation preference.  The preference change is not completed until the 
workbench has been restarted.
Comment 2 Dani Megert CLA 2004-06-15 08:32:50 EDT
what about asking whether this is really desired?
Comment 3 Andrew Eidsness CLA 2004-06-15 08:34:42 EDT
Since there is no harm in reopening the same workspace, I'm not sure there's 
value in the extra confirmation.  On the other hand adding an extra click is 
sure to annoy users.
Comment 4 Missing name Mising name CLA 2006-06-10 16:51:31 EDT
"Restart workbench" is semantically different to "Switch workspace.. [to the current workspace]", plus if you are keeping the same workspace then are you really switching?  I can see the need for an ability to restart the workbench, especially after a user declines an option to have it done automatically for them or being otherwise prompted, but I don't think the right place for this is in overloading the functionality of switch workspace.

On the business of extra clicks, I would rather be warned that the target workspace is the current one than have to wait for Eclipse to restart (which can take some time and loses some minor settings such as editor cursor locations) and realising that I didn't select the right workspace, forcing me to repeat the operation, selecting the correct workspace.

(Of course, the cursor setting comment is of little consequence if I'm only going to switch out of the workspace).