Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1037020: xfce4-panel: workspace switcher extremely wide after bookworm upgrade

54 views
Skip to first unread message

Marc Lehmann

unread,
Jun 1, 2023, 4:00:05 PM6/1/23
to
Package: xfce4-panel
Version: 4.18.2-1
Severity: normal

Dear Maintainer,

after upgrading to xfce4-panel from bookworm, the workspace switcher has
become unusably large (wider than my screen).

after realising this is not configurable, I dug a bit into the code and
found that plugin->ratio is set to 7.1, which explains why the switcher
displays extremely elongated miniature views - it apparently assumes my
display has an aspect ratio of 7.1, when it actually has a ratio of 1.78
(standard full hd).

I found that the ratio is calculated differently in bookworm's panel:
before, it was screen width / screen height (which is 1.777.. on
my system). Now it takes the workspace width divided by workspace
height. Since my workspace is 8x2 screens in size, this results in 15360 / 2160,
or 7.1.

So it seems to apply the full workspace aspect ratio as if it were a
single screen inside the workspace.

I think either the ratio calculation is wrong, or some other code uses
this in the wrong way (workspace vs. single screen).

-- System Information:
Debian Release: 11.7
APT prefers stable-updates
APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 6.1.29-schmorp (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xfce4-panel depends on:
ii exo-utils 4.16.0-1+deb11u1
ii libatk1.0-0 2.36.0-2
ii libc6 2.31-13+deb11u6
ii libcairo2 1.16.0-5
ii libdbusmenu-gtk3-4 18.10.20180917~bzr492+repack1-2
ii libexo-2-0 4.16.0-1+deb11u1
ii libgarcon-1-0 4.16.1-1
ii libgarcon-gtk3-1-0 4.16.1-1
ii libgdk-pixbuf-2.0-0 2.42.2+dfsg-1+deb11u1
ii libglib2.0-0 2.66.8-1
ii libgtk-3-0 3.24.24-4+deb11u3
ii libpango-1.0-0 1.46.2-3
ii libpangocairo-1.0-0 1.46.2-3
ii libwnck-3-0 3.36.0-1
ii libx11-6 2:1.7.2-1
ii libxext6 2:1.3.3-1.1
ii libxfce4panel-2.0-4 4.16.2-1
ii libxfce4ui-2-0 4.16.0-1
ii libxfce4util7 4.16.0-1
ii libxfconf-0-3 4.16.0-2

xfce4-panel recommends no packages.

xfce4-panel suggests no packages.

-- no debconf information

Yves-Alexis Perez

unread,
Jul 18, 2023, 7:40:05 AM7/18/23
to
control: tag -1 unreproducible morinfo
On Thu, Jun 01, 2023 at 09:47:23PM +0200, Marc Lehmann wrote:
> Package: xfce4-panel
> Version: 4.18.2-1
> Severity: normal
>
> Dear Maintainer,
>
> after upgrading to xfce4-panel from bookworm, the workspace switcher has
> become unusably large (wider than my screen).
>
> after realising this is not configurable, I dug a bit into the code and
> found that plugin->ratio is set to 7.1, which explains why the switcher
> displays extremely elongated miniature views - it apparently assumes my
> display has an aspect ratio of 7.1, when it actually has a ratio of 1.78
> (standard full hd).
>
> I found that the ratio is calculated differently in bookworm's panel:
> before, it was screen width / screen height (which is 1.777.. on
> my system). Now it takes the workspace width divided by workspace
> height. Since my workspace is 8x2 screens in size, this results in 15360 / 2160,
> or 7.1.
>
> So it seems to apply the full workspace aspect ratio as if it were a
> single screen inside the workspace.
>
> I think either the ratio calculation is wrong, or some other code uses
> this in the wrong way (workspace vs. single screen).

Hi Marc,

thank you for your report, but I'm not sure I understand and/or
can reproduce it.

Using a fairly standard Bookworm install with Xfce, the workspace switch
seems just fine for me. I tried to configure the plugin to display using
two rows, then added 16 workspaces (to get a 8x2 layout like you) but it
seems to display just fine.

Could you take a screenshot or something to help us investigate?

Regards,
--
Yves-Alexis Perez

Maxim Medvedev

unread,
Nov 5, 2023, 6:00:05 PM11/5/23
to
Hello,

There is a problem. It is very easy to reproduce it. Just install compiz and specify Desktop size => Horizontal Virtual Size = 4 (for example). After that, add the Workspace Switcher applet. After that, each cell of the desktop will be equal to the virtual size.

--
Best regards,
Maxim Medvedev

0 new messages