pauleve / docker-mtgo

Docker image with ready-to-play MTGO (Magic Online) for Linux and macOS
https://hub.docker.com/r/panard/mtgo/
487 stars 34 forks source link

Pop-up windows cause strange visual issues #184

Open Mycheze opened 1 year ago

Mycheze commented 1 year ago

Hello! I've been using this to play MTGO for the last few months, and it's fantastic. There are just a few cosmetic/minor bugs (or I did something wrong maybe? If that's the case, I'm sorry for opening a ticket) that I wanted to comment on.

Issue: Pop-ups (modal spells, confirmation boxes, etc) cause the window to change size. The pop-ups work just fine, but it's very jarring visually.

MTGODocker_brokenpopups

On my system, this happens with 100% of the pop-ups, but only occasionally (maybe 1 in 10-15) does it actually resize the window. As in, it sometimes shrinks things down and then leaves the window like that. But all I need to do is full screen it again.

OS: Pop!_OS Desktop environment (for Linux): Gnome Graphics card: NVIDIA GeForce RTX 3060 Output of docker info:

Client: Docker Engine - Community
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.21.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 4
  Running: 1
  Paused: 0
  Stopped: 3
 Images: 5
 Server Version: 24.0.6
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
 runc version: v1.1.9-0-gccaecfc
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.4.6-76060406-generic
 Operating System: Pop!_OS 22.04 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 31.22GiB
 Name: pop-os
 ID: 8ad9488a-c95c-46ae-94fc-46cea79cec09
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

output.log

Mycheze commented 1 year ago

I don't feel like it was made clear with my comments, but this Docker program is truly amazing, and I appreciate all the work on it. The issues I reported aren't dealbreakers, I just want to help in the teensy tiny way I can (since I'm not a dev of any kind) to possibly make this project even better,

pauleve commented 1 year ago

Thanks for your feedback! Most of the issues I have with pop-up windows and resizing have been solved using Desktop Emulation feature of wine:

./run-mtgo --winecfg

Go to tab "Graphics" and select "Emulate a virtual desktop" and pick the desired desktop size (usually your screen size).

Let me know if that works for you as well.