#1033501 libwnck-3-0: Bug in libwnck3 breaks aspect ratio in mate-panel workspace switcher

Package:
libwnck-3-0
Source:
libwnck-3-0
Description:
Window Navigator Construction Kit - runtime files
Submitter:
Norbert
Date:
2026-09-27 11:33:01 UTC
Severity:
normal
Tags:
#1033501#5
Date:
2023-03-26 09:32:19 UTC
From:
To:
Dear Maintainer,

Steps to reproduce:
1. Install task-mate-desktop
2. Launch mate-display-properties to set display resolutions
3. Visually compare display proportions with mate-panel workspace switcher

Expected results:
* display ratios in mate-panel workspace switcher and mate-display-properties
are equal

Actual result:
* display ratios in mate-panel workspace switcher and mate-display-properties
are not equal

There is no such bug in Debian 10 and 11.

Upstream bug report is at https://github.com/mate-desktop/mate-
panel/issues/1230 .

#1033501#10
Date:
2023-03-26 09:53:20 UTC
From:
To:
Control: retitle -1 wrong aspect ratio in mate-panel workspace switcher
Control: reassign -1 mate-panel 1.27.0-1
Control: forwarded -1 https://github.com/mate-desktop/mate-panel/issues/1230
the previous libwnck behaviour was not consistent with GTK's API
requirements, causing warnings from GTK.
https://gitlab.gnome.org/GNOME/gnome-panel/-/commit/dc1100165a840c39b4acd6fb533373e5f7594910
seems to be the fix for an equivalent bug in gnome-panel.

    smcv

#1033501#27
Date:
2026-09-27 11:23:01 UTC
From:
To:
Hi,

this bug still affects trixie (mate-panel 1.27.1-4.1): the workspace
switcher applet shows each workspace with a 1:1 aspect ratio instead of
the aspect ratio of the screen.

It has been fixed upstream by this commit, which is part of mate-panel
1.27.3 and later:

   wnck-pager: Fix workspace switcher aspect ratio

https://github.com/mate-desktop/mate-panel/commit/cb1a440f1f3f740bbaeb9577465c999c67f5c80a

The change touches a single file (applets/wncklet/workspace-switcher.c,
+153/-1). It wraps the WnckPager in a small container widget that
requests the pager's width for the panel height. Earlier in this bug,
smcv pointed to the equivalent fix in gnome-panel.

Attached is the commit as a patch with DEP-3 headers. To test it within
the Debian packaging, I built a local package from the trixie source
(1.27.1-4.1+armin1), with the patch added to debian/patches after 0006.
The whole series applies cleanly, and on trixie with libwnck 43.2-1 the
workspace switcher shows the correct aspect ratio again.

As a workaround I currently pin libwnck 3.36.0-1 from bullseye, which
is increasingly out of date. Would you consider applying the patch in
unstable, and possibly proposing it for a trixie point release?

Thanks,
Armin Fuerst