Giter Club home page Giter Club logo

Comments (16)

wangyuhuiever avatar wangyuhuiever commented on July 21, 2024 4

@huan I found a silly way to fix this bug.

Refer to https://blog.csdn.net/weixin_34419326/article/details/94345055 this may be an old bug on GNOME.

Fix this with the following step:

  1. change the display mode to mirrors, use xrandr --output HDMI-1-2 --same-as eDP-1-1, HDMI-1-2 is the external display, and another is the built-in display.

  2. dochat.sh

  3. change display mode back, use xrandr --output HDMI-1-2 --right-of eDP-1-1.
    I made a new shell script to do this.

xrandr --output HDMI-1-2 --same-as eDP-1-1
DOCHAT_SKIP_PULL=true /home/yuhui/App/wechat/dochat.sh &
sleep 5
xrandr --output HDMI-1-2 --right-of eDP-1-1

During sleep time, you must drag the dialog left, otherwise, it may be stuck on the external display

from docker-wechat.

wangyuhuiever avatar wangyuhuiever commented on July 21, 2024 1

@huan I found some interesting.... I don't know if you have a 21:9 display, app won't work when the external display connection, but view will appear when I disconnect the external display.

from docker-wechat.

wangyuhuiever avatar wangyuhuiever commented on July 21, 2024 1

I change the display mode, disapper just happened when I use Join Displays mode, and will stuck if drag the view to external display even it started, so maybe read the display config error?

from docker-wechat.

wangyuhuiever avatar wangyuhuiever commented on July 21, 2024 1

A new discover, I also use your wxwork, but it works fine.

from docker-wechat.

jackielii avatar jackielii commented on July 21, 2024 1

@wangyuhuiever Indeed! Using one screen it starts up perfectly. in 2 or more monitor setups, it won't start up.

I managed to start it with one monitor, and then switch to multiple monitors. This does work, but after dragging the window to other monitors, it disappears mysteriously

from docker-wechat.

huan avatar huan commented on July 21, 2024

Hmm... interesting...

Please definitely let me know the reason if you can make it work!

from docker-wechat.

wangyuhuiever avatar wangyuhuiever commented on July 21, 2024

Hmm... interesting...

Please definitely let me know the reason if you can make it work!

I have this problem, show the scale resolution dialog first, then disapper,without top icon showed.
I rewrite the dochat.sh, use the docker image bestwu/wechat, then it work.
test in Ubuntu 19.10

from docker-wechat.

yuluobin avatar yuluobin commented on July 21, 2024

Same problem here.
Manjaro & dsiplay scale = 100%
It keeps showing starting but cannot show the window

from docker-wechat.

huan avatar huan commented on July 21, 2024

@wangyuhuiever It should work under Ubuntu 19.10 because I'm right using this version. If you can reproduce on another Ubuntu 19.10 box, please let me know how to reproduce it.

@yuluobin Linux Manjaro distribution should be another issue. Please feel free to create a new issue for the Manjaro distribution problem. Thank you very much.

from docker-wechat.

kenbing avatar kenbing commented on July 21, 2024

same
ubuntu 20.04

from docker-wechat.

huan avatar huan commented on July 21, 2024

@wangyuhuiever Thank you very much for sharing the solution of using DoChat with a dual monitor!

Cloud you please add an FAQ entry in our README by sending a PR, so that the future dual monitor users like you can be easily found the solution?

from docker-wechat.

ZhangTianrong avatar ZhangTianrong commented on July 21, 2024

Same problem here. It says starting but I see no window turning up.

from docker-wechat.

shuheng-liu avatar shuheng-liu commented on July 21, 2024

The above fix doesn't help in my case.
I am trying DoChat out on Ubuntu 18.04 on Parallels virtual machine with an external display connected via HDMI to my physical machine (MacBook pro 15-inch)

I don't think this problem is specific to gnome because I tried on two desktop environments: gnome and deepin. After running the script, there is output Starting Dochat xxxx and I can see a DoChat container running using sudo docker ps. However, there is no GUI window that shows up.

from docker-wechat.

shuheng-liu avatar shuheng-liu commented on July 21, 2024

Just tried on a real Ubuntu 18.04 machine. The problem persists. The above fix doesn’t help since I don’t have any external display connected at all.

from docker-wechat.

huan avatar huan commented on July 21, 2024

Today I run into this issue after I added a new 4K monitor for my Ubuntu 19.10.

And I found that this issue is related to the zixia/wechat:2.7.1.85: when I run the v2.7.1.85 in my dual monitor system, the CPU got 100% usage and no window shows up.

However, after I decide to dive into it with my development environment, I found that the v2.8.0.112 works without any problem.

To use 2.8.0.112, you can try the following command by specifying DOCHAT_WECHAT_VERSION=2.8.0.112:

curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh \
  | DOCHAT_WECHAT_VERSION=2.8.0.112 DOCHAT_DPI=200 bash

At last, I found that the input editor in 2.8.0.112 does not show any characters at all, no matter whether it's English or Chinese.

Please feel free reply to this issue if you have any experiences to share, thank you very much.

from docker-wechat.

onichandame avatar onichandame commented on July 21, 2024

Today I run into this issue after I added a new 4K monitor for my Ubuntu 19.10.

And I found that this issue is related to the zixia/wechat:2.7.1.85: when I run the v2.7.1.85 in my dual monitor system, the CPU got 100% usage and no window shows up.

However, after I decide to dive into it with my development environment, I found that the v2.8.0.112 works without any problem.

To use 2.8.0.112, you can try the following command by specifying DOCHAT_WECHAT_VERSION=2.8.0.112:

curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh \
  | DOCHAT_WECHAT_VERSION=2.8.0.112 DOCHAT_DPI=200 bash

At last, I found that the input editor in 2.8.0.112 does not show any characters at all, no matter whether it's English or Chinese.

Please feel free reply to this issue if you have any experiences to share, thank you very much.

After scanning the QR code it shows that the version of the wechat client is too low and it just don't start.

from docker-wechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.