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 255884

Summary: 'Hide Annotations' is preceeded by a separator even when there are no other items
Product: versioncontrol Reporter: SebastianZ
Component: CodeAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Annotations context menu with 'Hide Annotations' as only item

Description SebastianZ 2015-10-13 06:04:54 UTC
Created attachment 156675 [details]
Annotations context menu with 'Hide Annotations' as only item

When the annotations context menu only contains the item 'Hide Annotations', the separator preceeding it should not be displayed. See the attached screenshot.

This happened to me for Subversion annotations, though I assume this is a general issue.

Steps to reproduce the problem:
1. Right-click the file tab and choose Subversion > Show Annotations
2. Add some empty lines to the file
3. Right-click the annotations bar at the left of the newly added lines

=> The context menu will consist of a separator plus the item 'Hide Annotations'.

Sebastian