Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370100

Summary: Debug tool items show up in the 'Plug-in Development' perspective
Product: [Eclipse Project] PDE Reporter: Oliver Luecking <mail.eclipse.org>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: curtis.windatt.public, pwebster, remy.suen
Version: 3.8   
Target Milestone: 3.8 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
E4 (M5) Menu and Toolbar with design failures none

Description Oliver Luecking CLA 2012-01-30 04:22:19 EST
Build Identifier: I20111209-2100

(see image)
Pure E4 (M4+M5) installation.
Perspective: Plug-In Developement

The buttons for resume/suspend and others are visible and active, although no app is running.
If I click one of them, it switches to inactive state, without doing anything.

It is also unclear, why the debug buttons are generally visible in the Plug-In Perspective?


Reproducible: Always

Steps to Reproduce:
1. start clean E4
2. probably switching to Plug-In Development Perspective
Comment 1 Oliver Luecking CLA 2012-01-30 04:23:21 EST
Created attachment 210251 [details]
E4 (M5) Menu and Toolbar with design failures
Comment 2 Paul Webster CLA 2012-01-30 08:36:59 EST
I've moved the bugs to Platform UI, you can open any new bugs there.

PW
Comment 3 Remy Suen CLA 2012-01-30 09:39:08 EST
(In reply to comment #0)
> The buttons for resume/suspend and others are visible and active, although no
> app is running.
> If I click one of them, it switches to inactive state, without doing anything.

That's bug 361562.

> It is also unclear, why the debug buttons are generally visible in the Plug-In
> Perspective?

I don't seem to have this problem. Do you get the problem if you go 'Window > New Window' and open the 'Plug-in Development' perspective there?
Comment 4 Oliver Luecking CLA 2012-01-30 10:10:32 EST
>Do you get the problem if you go 'Window > New Window' and open the 'Plug-in Development' perspective there?

Yes, it is the same situation.
I used a new E4_M5 installation.
The only thing I tried was to create a new plugin as a RCP application, based on one of the not runnable templates.
Comment 5 Remy Suen CLA 2012-01-30 11:41:50 EST
(In reply to comment #4)
> >Do you get the problem if you go 'Window > New Window' and open the 'Plug-in Development' perspective there?
> 
> Yes, it is the same situation.
> I used a new E4_M5 installation.
> The only thing I tried was to create a new plugin as a RCP application, based
> on one of the not runnable templates.

I see it now. There was some rendering lag on my end.
Comment 6 Remy Suen CLA 2012-01-30 12:47:22 EST
Interestingly enough, PDE is the one that adds the debug action sets to its own perspective.

<extension
    point="org.eclipse.ui.perspectiveExtensions">
  <perspectiveExtension
      targetID="org.eclipse.pde.ui.PDEPerspective">
    <!-- ... -->
    <actionSet
        id="org.eclipse.debug.ui.debugActionSet">
    </actionSet>
    <!-- ... -->
  </perspectiveExtension>
</extension>
Comment 7 Oliver Luecking CLA 2012-01-30 13:16:29 EST
Sounds good ;-)
Comment 8 Remy Suen CLA 2012-01-30 13:43:52 EST
Same thing happens in I20120125-1800. Not an issue with Eclipse 4.
Comment 9 Curtis Windatt CLA 2012-02-01 14:44:12 EST
Fixed in master.

Removing the addition has no negative effects I could find.  Perhaps it was added to ensure that the launch commands on the run menu were available.