mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: handling mstsc #131
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nascentt on GitHub (Aug 23, 2022).
Originally assigned to: @LGUG2Z on GitHub.
Describe the bug
I'm struggling to have komorebi correctly handle mstsc.
By default it tried to manage it but this leads to komorebi not tiling other windows correctly leaving half a workspace empty as if there's an invisible window. Closing mstsc fixed it.
If I try to add a manage rule for mstsc through komorebi.ahk I then get giant white artifacting covering my mstsc window.
To Reproduce
Open mstsc to reproduce invisible windows in workspaces.
RDP to host to reproduce white blanks after adding a manage rule.
Expected behavior
Either mstsc to be managed correctly where other windows tile around it, or just ignore mstsc and treat it as if it wasn't open at all.
Screenshots and Videos
Operating System
Windows 10 21h2
Additional context
@LGUG2Z commented on GitHub (Aug 23, 2022):
I think that this issue can be traced back to this commit.
While it made sense at the time, the WSLg team has since introduced even further breaking changes that render
mstsc.exebeing on the WSL GUI whitelist here useless.For anyone arriving here through Google who wants to use WSL GUI apps and have them managed properly with
komorebi, your only real option is to use a mature, tried and tested solution likeVcXsrv, because I don't have the time or the interest in playing this sort of cat and mouse game with WSLg.@nascentt I will remove
mstsc.exefromWSL2_UI_PROCESSESwhich will resolve the ghost tile situation.@nascentt commented on GitHub (Feb 6, 2023):
Just wanted to confirm I still have display issues using mstsc and komorebi. If I fullscreen an RDP connection I still get white blocks obscuring the window. If I close komorebi this doesn't happen.
@meicale commented on GitHub (Mar 26, 2023):
It is a cool app and I use this quite a lot. I came to the same problem as I use WSL2 as my daily driver to develop. I tried to use the
VcXsrvand setted everything to view the pdf, which turn out to be useless. Zathura which is installed by apt had changed nothing. Sioyek will is an appimage can sit in a frame and manage by komorebi, but it is just all black and give the errors like "QOpenGLWidget: Failed to make context current ... qt.qpa.backingstore: composeAndFlush: makeCurrent() failed ...".I do think there will be more and more devs using Windows and WSL2. This this app is quite helpful if it can have even better support for GUI things. Thank for your time.