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
WSL 2 GUI application is not aware of Windows screen dimensions #584
Comments
Could you please file this as an open item on the WSLg repo? The full team that works on WSLg monitors that repo instead at: microsoft/wslg You can file the issue here: https://github.com/microsoft/wslg/issues/new?assignees=&labels=bug&template=bug_report.md&title= And feel free to link back to this issue if you like. I'll close this one for bookkeeping purposes so it can be tracked on the wslg repo instead. Thanks! |
I transferred this over for you! |
@craigloewen-msft Thank you for moving the issue to the right repository, I was not aware of this. |
Adding the missing information about the WSLg version: I have "Windows Subsystem for Linux WSLg Preview" version 1.0.26. |
@smuehlst did you find a way to work around this? |
@gianmarcoodorizzi Unfortunately not, the problem is still bothering me. |
Any workarounds on this yet? |
Same request from my side. |
I take it there is no resolution for this yet? |
I have a kind of workaround for the pop-up menus disappearing off screen, but then I have issues with the find/replace dialog box disappearing to the back of the Z plane and hiding. The pop-up menus workaround is to set
To be honest, I think I'm going to disable Wayland and go back to using VcXsrv for the time being. |
Is there any solution or at least some progress with it? |
It's disappointing that this has still not been fixed. The only alternative (aside from not using WSLg) being "use X11" (by using the |
Version
Microsoft Windows [Version 10.0.22000.318]
WSL Version
WSL 2
Kernel Version
5.10.60.1
Distro Version
Debian GNU/Linux 11 64-bit from Microsoft Store
Other Software
Eclipse 2021-09 Linux 64-bit
Repro Steps
Expected Behavior
The "Team" sub-menu should be opened so that it is fully visible on the Windows screen.
This is a screenshot of running the Windows version of Eclipse, after right-clicking into the editor window to open a popup menu and after opening the sub-menu "Team":
Note that the "Team" sub-menu is popped up upwards so it can be fully displayed on the screen. If the sub-menu were popped up downwards it wouldn't fit on the screen
This is a screenshot of the Linux version of the same Eclipse version, when opening the same editor popup menu and "Team" sub-menu:
Note that the "Team" sub-menu is opened downwards, and extends beyond the screen so some of the sub-menu entries are invisible and cannot be clicked. This does never happen when running Eclipse under a real Linux graphical desktop.
Actual Behavior
The "Team" sub-menu is opened downwards so that it is not fully visible on the Windows screen, and some of the menu entries can't be clicked.
Apparently the Linux GUI application running under WSL 2 is not aware of the actual screen dimensions.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: