This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 71309 - Items in Tools menu shifted to the right when profiler installed
Summary: Items in Tools menu shifted to the right when profiler installed
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-12 13:49 UTC by Roman Strobl
Modified: 2006-10-23 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Without profiler installed (25.90 KB, image/jpeg)
2006-01-12 17:25 UTC, Roman Strobl
Details
With profiler installed (38.71 KB, image/jpeg)
2006-01-12 17:25 UTC, Roman Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2006-01-12 13:49:42 UTC
Look at Tools menu before you install profiler. Then install profiler and
compare the menus. The menu items are moved to the right, compared with menu
without profiler. The layer.xml file needs to be fixed probably.
Comment 1 Jiri Sedlacek 2006-01-12 15:49:05 UTC
Tried to reproduce on Windows XP using latest NetBeans & Profiler RC1 builds, 
Tools menu is displayed correctly both without and with Profiler. Please 
provide info about your configuration.

Note that Profiler shouldn't affect the Tools menu, it doesn't access/modify it.
Comment 2 Tomas Hurka 2006-01-12 17:07:20 UTC
.. and it would be great if you can attach screenshot, so we can see the difference. Thanks.
Comment 3 Roman Strobl 2006-01-12 17:24:44 UTC
Here it is...
Comment 4 Roman Strobl 2006-01-12 17:25:23 UTC
Created attachment 28359 [details]
Without profiler installed
Comment 5 Roman Strobl 2006-01-12 17:25:45 UTC
Created attachment 28360 [details]
With profiler installed
Comment 6 Jiri Sedlacek 2006-01-12 17:39:31 UTC
There is "Select Profiling Root Methods..." menuitem incorrectly added into the 
menu by the Profiler. Which Profiler version are you using???
Comment 7 Roman Strobl 2006-01-12 17:46:48 UTC
I use RC1 version of profiler, the internal build.
Comment 8 Roman Strobl 2006-01-12 17:48:25 UTC
In module configuration it says implementation version 060112.
Comment 9 Jiri Sedlacek 2006-01-12 18:23:30 UTC
I cannot reproduce it on FC4 using this Profiler version. Did you use installer 
or zipped cluster? Did anything nonstandard happen during Profiler 
installation? Are there any messages in IDE log related to this problem?
Comment 10 Roman Strobl 2006-01-12 19:12:48 UTC
I used the standard installer. Nothing unusual happened. I think I also opened a
project before looking at the menu? I am away from my work computer, so I will
check the logs tomorrow.
Comment 11 ehucka 2006-01-13 08:38:12 UTC
I can reproduce it on FC3 linux with latest build of nb50 and profiler, new or
old userdir. 
It seems always when the Tools menu contains some menuitem of profiler all
menuitems are moved to the right - there is inserted a gap for menuitems' icons.
It seems some of profiler actions/menus have wrong configured icons. The issue
is there for a long time if I can remember.
Comment 12 Jiri Sedlacek 2006-01-13 11:06:25 UTC
OK, reproducible, following Tools menu items probably add a gap on left:

 - Add As Profiling Root Method...
 - Add As Profiling Code Fragment...
 - Select Profiling Root Methods...

These menuitems are added to Tools menu according to Explorer selection, i.e. 
if you select a method in Explorer, all three items are added.
Comment 13 Jiri Sedlacek 2006-01-16 16:37:48 UTC
Fixed in trunk.
Comment 14 ehucka 2006-01-17 09:49:52 UTC
verified in the latest trunk build