Bug 43097 - [Perspectives] Show new views and action sets immediately without waiting for a perspective reset
Summary: [Perspectives] Show new views and action sets immediately without waiting for...
Status: RESOLVED DUPLICATE of bug 6929
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 3.1   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
: 56624 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-15 10:28 EDT by Ed Burnette CLA
Modified: 2005-05-12 06:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Burnette CLA 2003-09-15 10:28:56 EDT
Currently if a plugin is installed that provides a new action set and/or new 
views (for example the fileopen or log4j integration plugins at 
eclipsepowered.org), if the user has made any modification to the perspectives 
then the new toolbar buttons/views/etc. do not appear until the user runs a 
Window > Reset Perspective. This has caused *many* support questions from 
users of my plugins alone. The workaround is simple but it would be very nice 
if these contributions would simply appear without the user having to do an 
extra step. Failing that, if there was an API the plugin could use to detect 
this situation and force a reset perspective I could do that, but of course 
all plugins would have to be modified to do that to get the benefit.

I think this will be especially problematic with RCP/Equinox allowing plugin 
installs while Eclipse is running. A user will install a feature and nothing 
apparent will happen, and they'll have to call tech support.
Comment 1 Nick Edgar CLA 2003-09-22 09:57:30 EDT
Agree this is a major usability problem.
Comment 2 Darin Wright CLA 2004-04-11 10:31:22 EDT
*** Bug 56624 has been marked as a duplicate of this bug. ***
Comment 3 Michael Van Meekeren CLA 2004-05-25 14:51:35 EDT
this is related to bug 6929.

plan to address 6929 but not this bug at this time.
Comment 4 Nick Edgar CLA 2005-04-28 16:00:22 EDT
The fix for bug 6929 should have addressed this one too.
Ed, can you confirm?


*** This bug has been marked as a duplicate of 6929 ***
Comment 5 Ed Burnette CLA 2005-04-28 16:51:48 EDT
I still see something like this in 3.1M6. I thought it was the same problem but
maybe it's different. When I installed the YourKit profiler the profile buttons
didn't show up immediately. I had to customize the perspective to see them. I
don't think the user should have to do this. This is noted in the YourKit
installation instructions:

--snip--
Eclipse:

Run | Profile XXX actions in the main menu and "Profile" group in the main toolbar.
Additional launch parameters can be configured in "Run | Profile...", tab
"YourKit Java Profiler".

Note: You might need to enable action group "Profile" under Window | Customize
Perspective | Commands 
--snip--
Comment 6 Nick Edgar CLA 2005-04-28 17:07:18 EDT
Will investigate.
Comment 7 Nick Edgar CLA 2005-05-11 09:44:45 EDT
Ed, can you take a look at the action set definition for YourKit and see if they
specify visible="true", or if they associate it with any perspective via the
perspectiveExtensions extension point?
Comment 8 Ed Burnette CLA 2005-05-11 10:23:37 EDT
I looked, and the words "action", "visible" and "perspectiveExtensions" do not
appear in their plugin.xml. They seem to be using an already existing action set
built-in to the platform. I emailed you a copy to look at.
Comment 9 Nick Edgar CLA 2005-05-11 12:37:50 EDT
This was fixed by bug 6929, verified in I20050509 using both a visible="true"
action set, and a perspectiveExtension associating an action set (without
visible="true") to the resource perspective.

The YourKit plugin does not define its own action set.  It defines some launch
configuration tab groups and launch delegates with "profile" mode.  So a Profile
As submenu should appear beside Run As and Debug As in the context menus.  There
is also a Profile action set, but that will need to be turned on manually via
Window > Customize Perspective.  The workbench has no way of knowing this action
set should be turned on due to the YourKit extensions.

If it does not work as above, or you think there is still a problem here, please
open a separate bug report.

*** This bug has been marked as a duplicate of 6929 ***

*** This bug has been marked as a duplicate of 6929 ***
Comment 10 Ed Burnette CLA 2005-05-11 14:16:49 EDT
Makes sense, thanks for looking into it.

If the platform can't figure out that defining launch configuration tab groups
and launch delegates with "profile" mode means that the Profile action set
should be enabled, then is there some other way for this plug-in to turn on that
Profile action set in its manifest without requiring user intervention? I don't
think so, so maybe a new enhancement request is in order for the next release.
Comment 11 Nick Edgar CLA 2005-05-11 14:48:15 EDT
Not currently.  Please open a new enhancement request.
Comment 12 Anton Katilin CLA 2005-05-12 06:29:40 EDT
> Not currently.  Please open a new enhancement request.

I have added https://bugs.eclipse.org/bugs/show_bug.cgi?id=94927