-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Floating sub-windows move around on their own? #196
Comments
Thank you for the quick response! I was able to somewhat address this in Xmonad by using the SinkAll function: it forces all the windows on the current workspace to tile (and since I use a tabbed layout, basically turns them all into tabs). I'll try your method out as well, but I wanted to throw this out there for anyone else who might have the same issue if emulate-desktop fails them for whatever reason! I'll edit this comment with my results once I try it out and you/I can close the issue at that point, if you think that would be appropriate :) |
Thanks for the tip on SinkAll, I'll give a try as well! |
Actually, I have a follow up question (not sure if I should ask it here, or add another issue). Basically, what volumes are mounted for the docker container for MTGO, and what external processes can the container see, if you don't mind me asking? Clearly it can access networking, but can it see anything else on the host machine or is the container fully isolated other than that? |
You can decipher most of the information from the docker command line which is printed by ./run-mtgo.
In our case, the isolation is not very strong (the container also has access to the host network and do inter-process communication with it + it runs in privileged mode). Note that you should be able to run it using podman instead of docker thanks to #187, which may be a bit simpler in terms of security. |
Okay, so it can access the X server for making windows and such (totally makes sense), the network, and those two directories. Could you explain a bit of what it means to run in privileged mode if you don't mind? |
https://docs.docker.com/reference/cli/docker/container/run/#privileged That being said, maybe that mode is no longer necessary for running MTGO within Docker (it was several years ago, but I cannot recall why). I'll give a try soon. |
Thanks for the reference and being willing to investigate this! I'll try it as well after taking a quick look into the link you sent! |
Hi there,
I've had a few issues when trying to play and chat where the various floating windows want to move on me (diagonally toward the bottom right of my screen), and I'm unsure why this keeps happening. It doesn't matter whether I have Xmonad in floats or tabs tiling mode for the sub-windows, but if I have the main window in a float, it does the same thing.
Even if I could just force these smaller windows to tile, that would be great because they would then be fixed in place and not jump around and screw up my inputs when trying to click some of the small buttons.
Would you happen to have any ideas as to what's going on?
Edit: this appears to be an issue when mousing over input fields specifically, such as buttons and dropdown menus, but not textboxes or window headers. Also, if you switch focus from the container to another window and back, it doesn't matter where you put your mouse it still causes a jitter by some number of pixels, but always in a consistent direction. Oh, also, if you leave a cursor blinking in a text box, it does it as well (e.g. click on a text box, and as the cursor blinks to indicate you can provide input, each blink produces the same motion, but hovering over it does not).
Edit 2: It seems like re-drawing certain features (e.g blinking cursor, and the highlight-on-hover effect of the buttons is what causes the issue).
Best,
johnabs
OS: Linux (Gnu Guix)
Desktop environment: XMonad
Graphics card: Intel Integrated Graphics
Output of
docker info
:<output of './run-mtgo &>output.log'>
The text was updated successfully, but these errors were encountered: