Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67112 - [spectrwm] Removal of max_stack breaks existing configs.

Attached to Project: Community Packages
Opened by jim (jimnvox) - Thursday, 25 June 2020, 19:55 GMT
Last edited by Kyle Keen (keenerd) - Saturday, 27 June 2020, 02:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In version 3.4.0-2 we have:
+ # max_stack went from buggy (3.3.0) to instant crash (3.4.0), so disable it
+ sed -i 's-{ max_stack-//&-' spectrwm.c
+ sed -i 's-SWM_L_MAPONFOCUS | SWM_L_-//&-' spectrwm.c

This breaks any config that has a layout set with, for example:
layout = ws[1]:0:0:0:0:fullscreen
in their config file.

Note that this setup works just fine in version 3.4.0-1 without crashing, and I haven't been able to get it to crash as indicated in the PKGBUILD above.

This might be well intended and solve someone's issue, but it causes issues elsewhere and should be handled upstream or needs to be modified differently so as not to break existing configs.

Steps to reproduce:
Add the following line to ~/.spectrwm.conf and start spectrwm:
layout = ws[1]:0:0:0:0:fullscreen
This task depends upon

Closed by  Kyle Keen (keenerd)
Saturday, 27 June 2020, 02:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  spectrwm 3.4.1-1

Loading...