JDK-8224091 : Wrong drop-down position for JMenu/JComboBox on multi-screen-setup
  • Type: Bug
  • Component: client-libs
  • Affected Version: 8u212
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_10
  • CPU: x86_64
  • Submitted: 2019-05-14
  • Updated: 2019-05-30
  • Resolved: 2019-05-30
Related Reports
Relates :  
Relates :  
Description
ADDITIONAL SYSTEM INFORMATION :
Two screen setup, like laptop and external monitor or a beamer.

A DESCRIPTION OF THE PROBLEM :
Application started with JavaWebStart displays JMenu drop-down on wrong screen, if you extend your desktop by a second screen without restarting the JavaWebStart application.

I have already reported this behaviour in Bug 8187225. This was closed as dupliacte. And the related issue was solved and backported in Java8 U202(https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8207070)

But the bug still exists.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
You need two screens

1.Disconnect second screen, so that you have only one active ( "Windows + p" for windows disconnect)
2.Open web start from : https://docs.oracle.com/javase/tutorialJWS/samples/uiswing/ActionDemoProject/ActionDemo.jnlp
3.Click "Menu" all fine
4.Connect second screen ( "Windows + p" for windows) extended screen
5.Click "Menu"  all fine
6.Move application window to second screen (on the screen which was active in step 2, where you started the application)
7.Click "Menu" => Items appear on wrong screen 

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected the same behaviour as in step 3. The MenuItems in step 7 should appear under the JMenu on the same screen as the application.
ACTUAL -
The application is displayed on one screen and the MenuItems popup appears on the other screen.

CUSTOMER SUBMITTED WORKAROUND :
Restart the JavaWebstart application always if you change your screen setup.

FREQUENCY : always



Comments
Closing this as not an issue based upon submitter confirmation that issue is not reproducible with current JDK version 8u212.
30-05-2019

Update from submitter: ====================== I have read your comment and you are right. I was a bit confused because it does not work with update 202 as it was declared. But with the latest update 212 I could not reproduce it. I had wrong informations about the version of the use java update. This issue can be closed.
30-05-2019

In a multi display setup, an application started with JWS displays JMenu drop-down on wrong screen, when extended desktop by second screen. As per description, the issue was reported earlier with JDK-8187225 and closed as duplicate of JDK-8207070 (BP in JDK 8u202), however the bug exists. Checked the claim with reported versions and could not reproduce the issue with reported version 8u212. Likely to close as not an issue. However, written back to the submitter to reconfirm.
17-05-2019