Bug#1037020: xfce4-panel: workspace switcher extremely wide after bookworm upgrade
- To: Marc Lehmann <debian-reportbug@plan9.de>, 1037020@bugs.debian.org
- Subject: Bug#1037020: xfce4-panel: workspace switcher extremely wide after bookworm upgrade
- From: Yves-Alexis Perez <corsac@debian.org>
- Date: Tue, 18 Jul 2023 13:26:55 +0200
- Message-id: <ZLZ2//sXigaj0rfb@corsac.net>
- Reply-to: Yves-Alexis Perez <corsac@debian.org>, 1037020@bugs.debian.org
- In-reply-to: <168564884398.8002.18333978626821480723.reportbug@cerebro.laendle>
- References: <168564884398.8002.18333978626821480723.reportbug@cerebro.laendle> <168564884398.8002.18333978626821480723.reportbug@cerebro.laendle>
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
Reply to: