[BUG] wechat does not stay maximized
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 53/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker
- Lĩnh vực
- desktop
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Expected Behavior
the maximized button is engaged, so wechat should maximize when my window resizes
Steps To Reproduce
- Resize window to make it small/normal
- Maximize wechat
- 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.
- Ngôn ngữ chính
- Dockerfile
- Star
- 74
- Fork
- 14
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxserver/docker-weixin
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Tất cả issue của linuxserver/docker-weixin
Issue tương tự
-
bug fix packaging ui user-sprint
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Vondor/KassenSturz#1197 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
camcraft-ui --headless with a file argument ignores the fileCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:ui effort:low P7 source:agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
NeoTech/Camcraft#2648 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Width/height 0 in a rule shrinks the window to its minimum size instead of keeping the original sizeĐang mởBUG
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
linuxmint/cinnamon-spices-extensions#1241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
tinystream-dev/tinystream#132 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
microsoft/copilot-for-eclipse#522 ·