-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 2025-06-17 at 23:43 +0200, Adam Chyła wrote:
> 
> xfwm4 crashes on switching between windows (ALT+TAB).
> 
> The workaround is to set the "Cycle through windows in a list" option in
> "Window
> Manager Tweaks", this will use a different ALT+TAB windows view.

Hey Adam, thanks for the report.

I can't reproduce this here (on 4.20.0-1), but I guess you might be on a
specific situation on your installation leading to that division by zero (nice
job on the investigation btw). 

I've added some debugging to an xfwm4 build to check my
monitor_width/monitor_height and yours are definitely suspicious:

DBG[tabwin.c:691] computeTabwinData(): tabwin->monitor_width = 1920; tabwin-
>monitor_height=1080

Could you report this directly upstream because while I think it might be
worth double-checking for division by zero, there's something fishy here
(maybe with GDK as you said) and I think upstream would be better to check
that.

Also not that in my case the monitor_width seems wrong (1920×1080 is the size
of my laptop display but I'm currently docked to a 3840x2160 display which
should be used for the calculation). Maybe it's something similar for you (in
case you have a smaller display attached)?

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmhVBsYACgkQ3rYcyPpX
RFvvJggApHzFkGLOCMb1DbYgt+8Y7CJNR9U//peI3JWKoOqI21x6hA0nG/82B2dR
26W9Z7VDbI6cqTkuYhl/LlhlnWiBp/6N92C7wZu7j0D40dWzWuXysejQ1fe4v7BM
py5JqxOc5U8XdK8CkjYKNdR/5CVNhCHP7fL1vY1aS+9pOtrlIcZRebp9RYOQbbDz
q3yfaK7lW6pq5ibt13ZyXHyLDiq/SDK1UkVh7SNHoGp2htUG2qcLVe6Xg9t0Rffy
RhJUV/IC7dPnFAwI+X4cRcDJv0Uk83Xp/w67bf+UrJzUt9IUP/eAN0CJ+aSjamPw
zhJY9N7IvN9eBm0rqXr98Nh2KouDqQ==
=KW5v
-----END PGP SIGNATURE-----

Reply via email to