Bug 561475 - Missing icon for method reference match
Summary: Missing icon for method reference match
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-26 04:30 EDT by Andrey Loskutov CLA
Modified: 2024-03-30 15:28 EDT (History)
1 user (show)

See Also:


Attachments
missing icon (163.17 KB, image/png)
2020-03-26 04:30 EDT, Andrey Loskutov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2020-03-26 04:30:04 EDT
Created attachment 282230 [details]
missing icon

First of all, I believe I've seen for the first time that call hierarchy managed to resolve a method reference! This is great!

However, the icon on the element is shown as "unknown", see attached picture. I think some case is missing in JavaElementImageProvider.
Comment 1 Fabrice Tiercelin CLA 2020-04-07 13:39:42 EDT
I don't reproduce on build I20200407-0120 :( Even with QuickAccessDialog or ModifyDialog.
Comment 2 Andrey Loskutov CLA 2020-04-15 05:55:17 EDT
(In reply to Fabrice Tiercelin from comment #1)
> I don't reproduce on build I20200407-0120 :( Even with QuickAccessDialog or
> ModifyDialog.

Perfectly reproducible on latest I Build I20200415-0200.

org.eclipse.ui.workbench must be imported as project in the workspace.

Go to org.eclipse.ui.quickaccess.QuickAccessElement.execute().

Right click inside .execute(), "References -> Workspace" or "Open call hierarchy". 

Both show the match in org.eclipse.ui.internal.quickaccess.QuickAccessDialog.QuickAccessDialog(...).() -> {...} Runnable.run().new Anonymous.handleElementSelected(String, Object) as "question mark"
Comment 3 Eclipse Genie CLA 2022-04-06 13:29:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2024-03-30 15:28:56 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.