Skip to content

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

@ShahzaibIbrahim

Description

@ShahzaibIbrahim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions