Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar Combo Pop-Up Displays on Primary Monitor Regardless of Application Window Position #612

Open
ShahzaibIbrahim opened this issue Nov 4, 2024 · 0 comments

Comments

@ShahzaibIbrahim
Copy link
Contributor

In the CalendarCombo widget, when connected to a dual-monitor setup with the secondary monitor on the left and the primary monitor on the right, selecting the calendar combo causes the pop-up to always appear at the (0, heightDoesntMatter) coordinate on the primary monitor (the far left). This behavior is due to a specific condition implemented within the code, resulting in the pop-up consistently displaying on the primary monitor rather than aligning with the application window's actual location.

https://github.com/eclipse/nebula/blob/31f40e4e56e006f54e87eae14b23c36dbd79f09b/widgets/calendarcombo/org.eclipse.nebula.widgets.calendarcombo/src/org/eclipse/nebula/widgets/calendarcombo/CalendarCombo.java#L1386-L1389

This blocks us to use this widget in multi-monitor environment.

HOW TO TEST

  • Change the zoom level of your monitor to any zoom above 100 in display setting
  • Run the ExampleApplication.java
  • Go to CalendarCombo Tab
  • Move the window to secondary monitor (on the left)
  • Click on the combo

image

Display Settings (Here I have monitor 1 as primary display)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant