🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #176

Bug#1150267: zoitechat: ZoiteChat window often grows after system tray restore

#176
From: Awtul
Date: Thu, 08 Oct 2026 22:10
39 lines
3763 bytes
Package: zoitechat
Version: 2.19.1-1
Followup-For: Bug #1150267
X-Debbugs-Cc: awtulawtul@gmail.com



One final technical observation from my testing, in case it is useful for the upstream investigation.

I captured the Wayland protocol traffic with `WAYLAND_DEBUG=1` while reproducing the tray hide/restore behaviour.

The trace shows repeated `xdg_toplevel.configure` negotiations, together with repeated changes to the client's

`xdg_toplevel.set_min_size()` hints while the main window is being created/restored and while the connected channels and UI are changing.

The resulting geometry is not simply a maximized window: in the affected cases the restored window can become close to the available screen

size while still behaving as a normal, non-maximized window. Its resulting geometry is also not consistent between restores.

This seems relevant because ZoiteChat's `mg_configure_cb()` handles the main-window geometry from GTK configure events.

When geometry saving is enabled and the window is neither maximized nor fullscreen, it obtains the current position and

size using `gtk_window_get_position()` and `gtk_window_get_size()` and stores them in `hex_gui_win_left/top/width/height`.

GTK documents that `gtk_window_get_size()` returns the current negotiated window size and that, depending on the windowing

system and window-manager constraints, it may differ from a size previously requested by the application.

GTK also recommends obtaining the size in response to a size-change notification such as `configure-event` to avoid potential race conditions.

I therefore think the interaction between ZoiteChat's geometry save/restore logic, GTK window sizing, and the Wayland configure sequence is worth

investigating in the tray hide/restore path. I am not claiming this identifies the root cause; this is simply the part of the application/window-system

interaction that appears most relevant from the captured behaviour.


Thanks!
Technical Details
Message-ID: <NM4tj-4ljf-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NLFuV-48es-13@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Awtul <awtulawtul@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150267: zoitechat: ZoiteChat window often grows after system tray restore
Date: Fri, 09 Oct 2026 00:10:01 +0200
Message-ID: <NM4tj-4ljf-5@gated-at.bofh.it>
References: <NLFuV-48es-13@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <1150267@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 22:07:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: 2.515
Reply-To: Awtul <awtulawtul@gmail.com>, 1150267@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: awtulawtul@gmail.com, jesse@sney.ca
X-Debian-Pr-Message: followup 1150267
X-Debian-Pr-Package: zoitechat
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: zoitechat
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995773
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 39
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 08 Oct 2026 23:05:18 +0100
X-Original-Message-ID: <179149711826.16818.4065556467932707311.reportbug@xc-debian-xc.home>
X-Original-References: <179140081677.5395.9029924193769374851.reportbug@xc-debian-xc.home>