JDK-7037141 : Swing interactive tests for JMenu and JPopupMenu separator functionality fail with GTK L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7,8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: generic
  • Submitted: 2011-04-15
  • Updated: 2019-06-28
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The following JCK 7 interactive testcases fail with GTK L&F:
api/javax_swing/interactive/JMenuTests.html#JMenu[JMenuTest0006]
api/javax_swing/interactive/JMenuTests.html#JMenu[JMenuTest0007]
api/javax_swing/interactive/JMenuTests.html#JMenu[JMenuTest0011]
api/javax_swing/interactive/JMenuTests.html#JMenu[JMenuTest0012]
api/javax_swing/interactive/JPMenuTests.html#JPMenuTests[JPMenuTests0002]

These tests instruct the user to add a separator to a menu and verify that
a separator got added. With GTK L&F on OpenSUSE, this functionality does
not appear to work (or the separator gets added but is not visible).

Screenshots that show the test frames are attached.

Comments
- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

EVALUATION Just tried it on two other machines of similar configurations (Ubuntu9 KDE 4.3.2, Ubuntu 10.4 KDE 4.4.5) with no luck so far. On submitter's machine I noticed two things differ from mine env: 1) JMenu's background is black 2) MenuSeparator actually could be seen in SwingSet2 app. Given that the problem is only under the GTK which has native roots into the gtk library thus I can imagine the problem in the gkt-lib we rely on.
28-04-2011

EVALUATION The machine has KDE4.6 running on and there is no Gnome onboard to compare behaviour with. We tried to run SwingSet2 and it properly renders all separators in the menu under GTK LaF so it's a bit strange thing to see two tests at the same environmet showing different visuals. The thing might be in how the JCK test is written.
27-04-2011

EVALUATION These tests start to fail on jdk7b100 tests are failed. *** (#3 of 3): 2011-04-21 17:36:05 MSD ###@###.###
26-04-2011