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

Fixed the menu location in order to fit on the display it is activated #563

Closed
wants to merge 2 commits into from

Conversation

Micheus
Copy link
Collaborator

@Micheus Micheus commented Oct 17, 2023

This issue was added when I remove a old workaround for multiple display
setup and didn't pay attention that it was also making the menu window
to fit on a display. I revert the commit and rewrote it.

It's not perfect for setups where the displays have different resolution.
When the window is placed entirely on a display everything works fine, but
if a window is shared by multiple displays, in a location where
a window is scaled, the correct dimensions can not be safely evaluated
and then we can still get the popup menu cropped. (see images bellow)

IMG_20231017_163219

IMG_20231017_163118

NOTE: Fixed the popup menu location that can be shown out of screen.
Thanks to Xavier

This issue was added when I remove a old workaround for multiple display
setup and didn't pay attention that it was also making the menu window
to fit on a display. I revert the commit and rewrote it.

It's not perfect for setups where the displays have different resolution.
In that situation if a window is shared by multiple displays in a location
where a window is scaled the correct dimensions can not be safely evaluated
and then we can still get the popup menu cropped.

NOTE: Fixed the popup menu location that can be shown out of screen.
Thanks to Xavier
@Micheus Micheus closed this Nov 9, 2023
@Micheus Micheus deleted the mv/v2.3-fix-menu-cropped branch November 9, 2023 16:45
@Micheus
Copy link
Collaborator Author

Micheus commented May 13, 2024

It seems the PR was closed when I inadvertently deleted the branch before it has been committed.

@Micheus
Copy link
Collaborator Author

Micheus commented May 13, 2024

So, lets reopen it again.

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

Successfully merging this pull request may close these issues.

1 participant