Bug 575809

Summary: Quickaccess shows MParts that are not Views
Product: [Eclipse Project] Platform Reporter: Mathias Mehrmann <mathias.mehrmann>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.20   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Mathias Mehrmann CLA 2021-09-03 06:17:33 EDT
While running into Bug#575329 we also detected, that quickaccess still showed the Views. But also MParts that are not defined as Views (-> Editors!).

Shouldn't it be concistent with ShowViewDialog which is using isView()?

MParts that do not have a View Tag or in our case MParts that are only defined with an Editor View tag are also showing up in quickaccess and we did not expect those Parts to be used in that case.

Worse: if you select such an editor in the quickaccess, this editor is under some circumstances not closeable in any way...

org.eclipse.ui.internal.quickaccess.providers.ViewProvider.getElements() should also filter with isView() like in org.eclipse.ui.internal.dialogs.ViewContentProvider.isView(MPartDescriptor)