mviereck / x11docker

Run GUI applications and desktops in docker and podman containers. Focus on security.
MIT License
5.62k stars 378 forks source link

The very narrow chat window can't be enlarged by dragging with mouse when using xpra v4.1.2. #347

Closed hongyi-zhao closed 3 years ago

hongyi-zhao commented 3 years ago

On Ubuntu 20.04, I use the git master version of x11docker to run my docker image with the xpra v4.1.2:

$ xpra --version
xpra v4.1.2

But I found that the height of the qq's chat window is very narrow, and can't be enlarged by dragging with mouse, as shown below:

image

Any hints for solving this problem?

Regards, HY

totaam commented 3 years ago

I believe that this has been fixed in xpra 4.1.3. Try updating.

hongyi-zhao commented 3 years ago

Really. The following steps fixed this problem:

$ sudo apt update
$ sudo apt install --reinstall xpra
$ xpra --version
xpra v4.1.3

But it seems that the initialization/starting progress of the latest xpra version is very slow.

totaam commented 3 years ago

But it seems that the initialization/starting progress of the latest xpra version is very slow.

The initialization time has not changed since 4.1.2. You should be able to see what stage is taking too long on the splash screen's progress output. Perhaps you have some leftover socket, or a GPU that takes too long to initialize. On my reference system, this takes 7 seconds on average:

xpra start --start=xterm --attach=yes

In any case, that's unrelated to this ticket, which can be closed.

hongyi-zhao commented 3 years ago

$ xpra start --start=xterm --attach=yes

For my case, it needs around 25 seconds before the xterm apprears.

mviereck commented 3 years ago

@totaam Thank you!

totaam commented 3 years ago

For my case, it needs around 25 seconds before the xterm apprears.

Yes, then there's something wrong. 25 seconds is waaaaaaay too long.

hongyi-zhao commented 3 years ago

I tried with other X server options, as depicted below:

--xephyr option doesn't have this problem. --nxagent option failed to start qq.