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).