Bug 507730 - Empty parentheses "()" in tooltips for Counters/Complexity menu items
Summary: Empty parentheses "()" in tooltips for Counters/Complexity menu items
Status: ASSIGNED
Alias: None
Product: Eclemma
Classification: Technology
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 minor
Target Milestone: ---   Edit
Assignee: Marc R. Hoffmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 04:34 EST by Andreas Sewe CLA
Modified: 2016-12-16 08:43 EST (History)
3 users (show)

See Also:


Attachments
Odd tooltips in Coverage view's triangle menu (40.52 KB, image/png)
2016-11-18 04:35 EST, Andreas Sewe CLA
no flags Details
Odd tooltips in Coverage view (Linux) (22.75 KB, image/png)
2016-11-18 15:44 EST, Evgeny Mandrikov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sewe CLA 2016-11-18 04:34:06 EST
Noticed something odd about the Coverage view's triangle menu: The Counters and Complexity menu items show an empty pair of parentheses: "Select Counters ()" 

This looks like a bug, i.e., some variable that does not get interpolated correctly. (I assume it should be something like "Select Counters (Method)", right?
Comment 1 Andreas Sewe CLA 2016-11-18 04:35:47 EST
Created attachment 265424 [details]
Odd tooltips in Coverage view's triangle menu
Comment 2 Andreas Sewe CLA 2016-11-18 04:37:40 EST
Comment on attachment 265424 [details]
Odd tooltips in Coverage view's triangle menu

*sigh*

OS X apparently doesn't include tooltips in its screenshots (and I didn't check before uploading). But I hope my description in comment 0 was clear enough.
Comment 3 Evgeny Mandrikov CLA 2016-11-18 15:44:53 EST
Created attachment 265450 [details]
Odd tooltips in Coverage view (Linux)

The same behavior on Linux - attached screenshot including tooltip.
Comment 4 Marc R. Hoffmann CLA 2016-11-21 13:29:30 EST
The strange thing here is that we show tooltips on menu items at all. This happens only for EclEmma menues. Other views don't have that problem. It might be because we consequently use Elicpse commands for our menus.

If I add tooltip="" to our command contributions the tooltip goes away. I wonder whether this is the proper way to fix this.
Comment 5 Marc R. Hoffmann CLA 2016-12-16 08:43:58 EST
Looks like this is a Eclipse 4.6 "feature" described in Bug 491990.