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

Bug 335877

Summary: [ActivityMgmt] [QuickAccess] Disabled/filtered contributions are available in the Quick Access dialog
Product: [Eclipse Project] Platform Reporter: Matthias Striegl <Matthias.Striegl>
Component: UIAssignee: Remy Suen <remy.suen>
Status: VERIFIED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3 CC: prakash, pwebster, remy.suen
Version: 3.6.1   
Target Milestone: 3.7 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
QuickAccess patch v1 none

Description Matthias Striegl CLA 2011-01-31 12:10:45 EST
Build Identifier: 20100917-0705

It looks like the Quick Access dialog (Ctrl+3) does not bother (all) contributions which are otherwise disabled using the org.eclipse.ui.activities extension point. Tried with "Cheat Sheets" view part and the "General/Perspectives" preference page. The view correctly disappeared from the "Show View" dialog and the preferences page disappeared correctly from the Preferences dialog (General->Perspectives), but both could still to be found in the Quick Access dialog (opened by Ctrl+3). Even worse, the view could also be openened that way (the perspective page not).

Reproducible: Always

Steps to Reproduce:
1. Contribute to org.eclipse.ui.activities:
   <extension
         point="org.eclipse.ui.activities">
      <activity
            description="Filtered items still appear in Quick Access"
            id="my.disabled.ones"
            name="Disabling some contributions">
      </activity>
      <activityPatternBinding
            activityId="my.disabled.ones"
            isEqualityPattern="true"
            pattern="org.eclipse.ui.ide/org.eclipse.ui.preferencePages.Perspectives">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="my.disabled.ones"
            isEqualityPattern="true"
            pattern="org.eclipse.ui.cheatsheets/org.eclipse.ui.cheatsheets.views.CheatSheetView">
      </activityPatternBinding>
   </extension>
2. Launch as Eclipse Application using a launch config that includes the plugins org.eclipse.ui.workbench, org.eclipse.ui.cheatsheets (plus required ones)
3. Open the Quick Access dialog by pressing Ctrl+3
4. Enter "Cheat" -> "Cheat Sheet - Help" view appears within the Views section and can be opened
5. Enter "Perspe" -> "Perspectives General" preference page appears in the Preferences section (though selecting it just opens the Preferences dialog, but not the page)
Comment 1 Remy Suen CLA 2011-01-31 13:47:24 EST
Created attachment 187989 [details]
QuickAccess patch v1

Patch to honour activities for perspectives, preferences, views, and wizards.
Comment 2 Remy Suen CLA 2011-01-31 14:38:16 EST
(In reply to comment #1)
> Created attachment 187989 [details]
> QuickAccess patch v1

Patch released to CVS HEAD. Thanks for the bug report!
Comment 3 Remy Suen CLA 2011-03-08 09:50:41 EST
Verified with an inner on Windows XP with I20110307-2110.