FS#68600 - [wofi] Backport patch to fix incompatibility with wlroots 0.12.0

Attached to Project: Community Packages
Opened by Jonas Witschel (diabonas) - Thursday, 12 November 2020, 19:59 GMT
Last edited by Maxim Baz (maximbaz) - Thursday, 12 November 2020, 21:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxim Baz (maximbaz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

wofi 1.2.2 doesn't work with wlroots 0.12.0 due to a change in the wlr-layer-shell protocol (https://github.com/swaywm/wlroots/commit/8dec751a6d84335fb04288b8efab6dd5c90288d3): no window is opened at all (unless "wofi --normal-window" is used).

The issue has been fixed upstream by commit https://hg.sr.ht/~scoopta/wofi/rev/ea517e724b07716986fd2c6a6e321e1b5cb08682 but no new release has been cut since then. I therefore suggest backporting this fix to the current stable version.

Link to upstream bug report: https://todo.sr.ht/~scoopta/wofi/137

Steps to reproduce:
- Try starting WAYLAND_DEBUG=1 wofi
- No window is opened, instead the following error message appears on stdout:
wl_display@1.error(zwlr_layer_surface_v1@33, 1, "width 0 requested without setting left and right anchors")
This task depends upon

Closed by  Maxim Baz (maximbaz)
Thursday, 12 November 2020, 21:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added in 1.2.2-2
Comment by Jonas Witschel (diabonas) - Thursday, 12 November 2020, 20:08 GMT
A diff for the PKGBUILD to backport the patch is attached to this comment. I verified that the updated package works with wlroots 0.12.0 on my system.
Comment by Maxim Baz (maximbaz) - Thursday, 12 November 2020, 21:24 GMT
Thanks Jonas, although I couldn't reproduce it even before, I trust your testing - I pushed wofi-1.2.2-2 now that contains the patch.

Loading...