🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Awtul Wed, 07 Oct 2026 19:30
Bug#1150267: zoitechat: ZoiteChat window often grows after system tray restore
#79
Author: Awtul
Date: Wed, 07 Oct 2026 19:30
77 lines
4324 bytes
Package: zoitechat
Version: 2.19.1-1
Severity: important
X-Debbugs-Cc: awtulawtul@gmail.com

Dear Maintainer,

ZoiteChat's main window can unexpectedly increase in size when it is hidden to the system tray and then restored.
The problem occurs very frequently, although it does not happen on every hide/restore cycle.

Steps to reproduce:

Enable "minimize to tray when closing the window".
Open ZoiteChat and resize the window to a relatively small size.
Press the title-bar close button. ZoiteChat is hidden to the system tray instead of exiting.
Restore ZoiteChat by clicking its system-tray icon.
Repeat steps 3-4 several times.

Actual result:

The window often becomes bigger after being restored, particularly vertically;and frequently it extends beyond the screen.
In some cases, the window also becomes impossible or very difficult to resize manually.

The issue is intermittent: it occurs frequently, but not on every restore.


* Restoring the window from the system tray should preserve its previous size and position.


* Normal window-manager minimize/restore through the taskbar does not reproduce the problem.

* The issue happens under LXDE (lxpanel) and Labwc (waybar).

The problem appears to be specific to ZoiteChat's system-tray hide/restore path.

Bye!


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.9+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to es_ES.UTF-8), LANGUAGE=es_ES:es
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zoitechat depends on:
ii  libarchive13t64             3.8.9-1
ii  libayatana-appindicator3-1  0.5.94-1.1
ii  libc6                       2.43-7
ii  libcairo2                   1.18.4-3+b1
ii  libcanberra0                0.30-20+b1
ii  libgdk-pixbuf-2.0-0         2.44.8+dfsg-1
ii  libglib2.0-0t64             2.90.0-1
ii  libgtk-3-0t64               3.24.52-2
ii  libpango-1.0-0              1.58.2-1
ii  libpangocairo-1.0-0         1.58.2-1
ii  libssl3t64                  3.6.5-1
ii  zoitechat-common            2.19.1-1

Versions of packages zoitechat recommends:
ii  ca-certificates    20260816
ii  libglib2.0-bin     2.90.0-1
ii  zoitechat-lua      2.19.1-1
ii  zoitechat-perl     2.19.1-1
ii  zoitechat-plugins  2.19.1-1
pn  zoitechat-python3  <none>

Versions of packages zoitechat suggests:
pn  fonts-noto-color-emoji  <none>

-- no debconf information
Bug#1150267: zoitechat: ZoiteChat window often grows after system tray restore
#164
Author: Awtul
Date: Thu, 08 Oct 2026 19:00
28 lines
2643 bytes
Package: zoitechat
Version: 2.19.1-1
Followup-For: Bug #1150267
X-Debbugs-Cc: awtulawtul@gmail.com

Hi!

I tested this with a completely fresh user account, using the default Labwc and Waybar configurations.

The problem is still reproducible.

With the new user, I launched ZoiteChat, set the window to a diferent specific sizes, and then repeatedly

minimized/closed it to the system tray and restored it. On restoration, the window becomes mostly maximized.

The only ZoiteChat settings I changed were:

"Close and minimize to tray" and some settings related to file transfers.

No other desktop or window-manager configuration was changed.

This makes it unlikely that the problem is caused by configuration cruft in my original user profile.

* I don't use Lxde/X anymore. I'm on a pure Labwc Wayland.

Bye!

Awtul (awal1)
Bug#1150267: zoitechat: ZoiteChat window often grows after system tray restore
#176
Author: 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads