[BUG] wechat does not stay maximized

オープン
#10 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
53/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker
領域
desktop

調査の方向性

Start by reproducing the reported sequence: resize the browser window, maximize WeChat, then maximize the browser window again. The issue includes display resize logs but names no source files or tests, so first trace how browser resize events reach the WeChat window and check whether its maximized state is preserved. Done means WeChat fills the resized display while maximized.

索引モデルが issue の本文から書いたものです。

説明

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior
Image
Expected Behavior

the maximized button is engaged, so wechat should maximize when my window resizes

Steps To Reproduce
  1. Resize window to make it small/normal
  2. Maximize wechat
  3. Maximize window and see that wechat remain at the previous size
Environment
- OS: 22.04
- How docker service was installed: apt
CPU architecture

x86-64

Docker creation
services:
  wechat:
    # :28c4be04-ls19 - does not work
    image: lscr.io/linuxserver/weixin:latest
    # ls18 last working image w/o wayland 
    # image: lscr.io/linuxserver/weixin:1e594ff0-ls18
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Singapore
    volumes:
      - ../../../wechat/data-docker/config:/config
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: 1gb
    restart: always
Container logs
...
wechat-1  | INFO:display:Resize requested for display 'primary' with resolution: 718x418
wechat-1  | [Wayland] Readback capture: output 1 718x418 rendered in software (Pixman), read back for the encode thread (no GPU renderer).
wechat-1  | INFO:ws:Wayland realized geometry for 'primary': 718x418 @ scale 1.0
wechat-1  | [Wayland] Output 0 resized to 718x418 scale 1.00.
wechat-1  | INFO:input:Session compositor screen 0 ('primary') scaled to 1.0.
wechat-1  | [Wayland] Encoder: software H264 (x264) 4:2:0 8-bit, 4 threads.
wechat-1  | [Wayland] Readback encode: no hardware encoder opened; encoding in software (x264).
wechat-1  | [Wayland] Stream settings active -> Res: 718x418 | FPS: 60.0 | Stripes: 1 | Mode: H264 (x264) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-1  | INFO:display:Resize requested for display 'primary' with resolution: 1666x1346
wechat-1  | [Wayland] Output 0 resized to 1666x1346 scale 1.00.
wechat-1  | [Wayland] Readback capture: output 1 1666x1346 rendered in software (Pixman), read back for the encode thread (no GPU renderer).
wechat-1  | INFO:ws:Wayland realized geometry for 'primary': 1666x1346 @ scale 1.0
wechat-1  | [Wayland] Encoder: software H264 (x264) 4:2:0 8-bit, 4 threads.
wechat-1  | [Wayland] Readback encode: no hardware encoder opened; encoding in software (x264).
wechat-1  | [Wayland] Stream settings active -> Res: 1666x1346 | FPS: 60.0 | Stripes: 1 | Mode: H264 (x264) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-1  | INFO:input:Session compositor screen 0 ('primary') scaled to 1.0.
wechat-1  | INFO:ws:Client for 'primary' disconnected (code 0). Deferring display teardown by 3s for a possible reconnect.
wechat-1  | INFO:ws:Client for 'primary' did not return within the grace period. Removing and triggering full display reconfiguration.
wechat-1  | INFO:ws:Stopping all streams for display 'primary'...
wechat-1  | WARNING:ws:No display clients connected. Video pipelines remain stopped.
wechat-1  | INFO:ws:Last client gone after the grace period. Tearing down singleton collectors and pipelines.
wechat-1  | WARNING:ws:No display clients connected. Video pipelines remain stopped.
wechat-1  | INFO:ws:Stopping pcmflux audio pipeline...
wechat-1  | [pcmflux] Stop requested. Cleaning up capture loop...
wechat-1  | [pcmflux] Audio capture loop finished. Resources released.
wechat-1  | INFO:ws:Client ('127.0.0.1', 46368) connected (legacy, role controller, slot None).
wechat-1  | INFO:ws:Sound server control ready for the microphone (pulsectl).
wechat-1  | INFO:input:Session compositor screen 0 ('primary') scaled to 1.0.
wechat-1  | INFO:ws:Layout calculated: Total Size=1672x1346. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1666, 'h': 1346}}
wechat-1  | [Wayland] Readback capture: output 1 1666x1346 rendered in software (Pixman), read back for the encode thread (no GPU renderer).
wechat-1  | INFO:ws:Capture started for 'primary': 1666x1346 at +0+0.
wechat-1  | [Wayland] Encoder: software H264 (x264) 4:2:0 8-bit, 4 threads.
wechat-1  | [Wayland] Readback encode: no hardware encoder opened; encoding in software (x264).
wechat-1  | [Wayland] Stream settings active -> Res: 1666x1346 | FPS: 60.0 | Stripes: 1 | Mode: H264 (x264) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-1  | INFO:ws:Wayland realized geometry for 'primary': 1666x1346 @ scale 1.0
wechat-1  | INFO:ws:Client ('127.0.0.1', 46368) settings applied for 'primary': 1666x1346, h264enc crf 25, 60 fps.
wechat-1  | INFO:input:Session compositor laid 1 screen(s) out at [(0, 0, 1666, 1346)].
wechat-1  | INFO:ws:Starting pcmflux audio pipeline: device 'output.monitor', 320000 bps, 2 ch, RED distance 2.
wechat-1  | [pcmflux] SUCCESS: Opus encoder created (2 ch).
wechat-1  | [pcmflux] Capture loop started. Device: output.monitor, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: On
wechat-1  | INFO:display:Resize requested for display 'primary' with resolution: 718x418
wechat-1  | [Wayland] Readback capture: output 1 718x418 rendered in software (Pixman), read back for the encode thread (no GPU renderer).
wechat-1  | INFO:ws:Wayland realized geometry for 'primary': 718x418 @ scale 1.0
wechat-1  | [Wayland] Output 0 resized to 718x418 scale 1.00.
wechat-1  | INFO:input:Session compositor screen 0 ('primary') scaled to 1.0.
wechat-1  | [Wayland] Encoder: software H264 (x264) 4:2:0 8-bit, 4 threads.
wechat-1  | [Wayland] Readback encode: no hardware encoder opened; encoding in software (x264).
wechat-1  | [Wayland] Stream settings active -> Res: 718x418 | FPS: 60.0 | Stripes: 1 | Mode: H264 (x264) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-1  | INFO:display:Resize requested for display 'primary' with resolution: 1666x1346
wechat-1  | [Wayland] Output 0 resized to 1666x1346 scale 1.00.
wechat-1  | [Wayland] Readback capture: output 1 1666x1346 rendered in software (Pixman), read back for the encode thread (no GPU renderer).
wechat-1  | INFO:ws:Wayland realized geometry for 'primary': 1666x1346 @ scale 1.0
wechat-1  | [Wayland] Encoder: software H264 (x264) 4:2:0 8-bit, 4 threads.
wechat-1  | [Wayland] Readback encode: no hardware encoder opened; encoding in software (x264).
wechat-1  | [Wayland] Stream settings active -> Res: 1666x1346 | FPS: 60.0 | Stripes: 1 | Mode: H264 (x264) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-1  | INFO:input:Session compositor screen 0 ('primary') scaled to 1.0.
wechat-1  | INFO:ws:Client for 'primary' disconnected (code 0). Deferring display teardown by 3s for a possible reconnect.
wechat-1  | INFO:ws:Client for 'primary' did not return within the grace period. Removing and triggering full display reconfiguration.
wechat-1  | INFO:ws:Stopping all streams for display 'primary'...
wechat-1  | WARNING:ws:No display clients connected. Video pipelines remain stopped.
wechat-1  | INFO:ws:Last client gone after the grace period. Tearing down singleton collectors and pipelines.
wechat-1  | WARNING:ws:No display clients connected. Video pipelines remain stopped.
wechat-1  | INFO:ws:Stopping pcmflux audio pipeline...
wechat-1  | [pcmflux] Stop requested. Cleaning up capture loop...
wechat-1  | [pcmflux] Audio capture loop finished. Resources released.
wechat-1  | WARNING:ws:Backpressure task for 'primary' exiting: display no longer exists.
wechat-1  | WARNING:ws:Backpressure task for 'primary' exiting: display no longer exists.
主要言語
Dockerfile
スター
74
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxserver/docker-weixin のほかの issue

linuxserver/docker-weixin の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。