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 189297 - Fix submenu require click to appear which is inconsistent with other menus
Summary: Fix submenu require click to appear which is inconsistent with other menus
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Other
: P3 normal with 1 vote (vote)
Assignee: Roman Svitanic
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2010-08-08 18:02 UTC by shunbul
Modified: 2013-07-12 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shunbul 2010-08-08 18:02:17 UTC
The UI for subfixes attached to a fix annotation is inconsistent with the rest of the NetBeans interface.  Other submenus in the IDE require only hovering to reveal the submenu. 

Accordingly, the submenu for a fix annotation should appear when the user hovers over the parent menu item.  The user should not have to click the small right-arrow.

It took me a while to figure out that fixes had submenus because of this inconsistent behaviour.
Comment 1 David Strupl 2012-12-17 09:21:15 UTC
Petr, can you pleas have a look? Thanks.
Comment 2 Petr Somol 2012-12-17 09:46:39 UTC
I checked this and confirm the inconsistency is there.

First I summarize what is the intended behavior, because it differs for mouse navigation and keyboard navigation. So in general in Netbeans:

- in a menu opened by mouse, the expected behaviour is as reported: hoovering the mouse over a submenu item should immediately show sub-menu items, and hide them when the mouse is moved elsewhere without click. However,
- in a menu opened by keyboard, where items are navigated by keyboard (arrows), sub-menus are not! opened when their representing item is reached. User needs to explicitly go to the submenu (right arrow) to display it.

The current hint pop-up behavior always follows the keyboard navigation style, regardless whether the pop-up has been opened by a keyboard shortcut (Alt-Enter) and navigated by keyboard or by mouse click to the little hint symbol to the left from the affected line and navigated by mouse.

From UEX point of view I believe the hint pop-up behavior should be the same as in other NB menus (e.g., the main menu). I.e., when the pop-up is navigated by keyboard, do not show submenus until user requests so by explicit keystroke (right arrow). However, if it is navigated by mouse, then sub-menus should be displayed on mouse over.

Reassigning to Hints owner.
Comment 3 Roman Svitanic 2013-07-11 09:36:18 UTC
fixed in jet-main:
http://hg.netbeans.org/jet-main/rev/800a868829e8

When user points with mouse cursor at the arrow of hint and submenu is available for that particular hint, then this submenu is opened.
Comment 4 Quality Engineering 2013-07-12 02:29:08 UTC
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/800a868829e8
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #189297 - Fix submenu require click to appear which is inconsistent with other menus