JDK-8120215 : Menu display issues
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-04-09
  • Updated: 2015-06-17
  • Resolved: 2013-04-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Description
Load the attached fxml test case.
Click on the MenuButton, and move the mouse over the menus, 
from Menu 1 to Menu 4, then from Menu 4 to Menu 1, several times.
Sometimes the right arrow disappear, and sometimes the menu items popup does not appear.
Comments
Verified on 8.0b105
02-09-2013

yes, you can.
30-04-2013

Great, I was never able to reproduce it for some reason. May I close as this as not reproducible?
30-04-2013

Using b87, seems it has been fixed now :-) Perhaps a side effect of RT-29728 fix ?
30-04-2013

Yes I was able to - not very consistently, but I was able to using MODENA. After the fix, it did not seem to happen.
16-04-2013

Cool. Were you able finally to reproduce the issue when the menu items popup don't appear ?
16-04-2013

fixed the issue where the arrows disappear sometimes. Changeset: 5f4abd5b9e68 URL: http://jfxsrc.us.oracle.com/javafx/8.0/scrum/controls/rt/rev/5f4abd5b9e68
16-04-2013

There is already a JIRA issue for the latter, popup position at a certain distance from the parent, RT-29728
15-04-2013

I have attached a second fxml file (IssueMenu2.fxml), which have a more complex scenegraph, and so the issue is easier to reproduce. Another important point : please use Modena style : setUserAgentStylesheet(STYLESHEET_MODENA); Although I have been able to reproduce the issue with Caspian, it appears much more frequently with Modena. Please note also that the MenuItems popup (if it appears) is not displayed close to the Menus popup. I hace reproduced the issue both on Windows and Mac (see the screenshot for Mac attached).
15-04-2013

The only problem I see is that occasionally the arrow changes from black to white ( which is correct if the menu is selected) and then won't go back to black when the menu is not selected /hovered/focued anymore. I have a fix for that. But I am not able to reproduce the issue where the right arrow completely disappears or when the menu items popup dont appear. I tried it both on mac and windows.
13-04-2013

I am able to load the test case alright - but cant reproduce the issue you are referring to., i.e the scenario above.
12-04-2013

Do you mean you cannot reproduce with the attached test case + the scenario above ? When I say "Load the attached fxml test case" I mean loading it from a java class that use the fxml loader : Parent root = FXMLLoader.load(getClass().getResource("IssueMenu.fxml"));
12-04-2013

Could you please attach a movie or screen shots to show how to reproduce. thanks,
11-04-2013