byobu-layout save not work on tmux v1.8

Bug #1278277 reported by wzt123 on 2014-02-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Low
Unassigned

Bug Description

On my laptop 3.10.7-gentoo-r1, I emerged byobu-5.70 tmux-1.8

the saved layout contained "1793,128x47,0,0{64x47,0,0,1,63x47,65,0,2}] @1 (active)"

I think the correct content is "1793,128x47,0,0{64x47,0,0,1,63x47,65,0,2}"

Maybe the tmux list-windows output format changed in tmux new version ?

the layout setting string are generated from /usr/bin/byobu-layout:Ln50
$(tmux list-windows | grep "(active)$" | sed -e "s/.*\[layout //" -e "s/\] (active)$//")

Changed in byobu:
importance: Undecided → Low
status: New → In Progress
Changed in byobu:
status: In Progress → Fix Committed
Dustin Kirkland  (kirkland) wrote :

bzr commit -m '* usr/bin/byobu-layout.in: LP: #1278277
  - fix layout saving, which broke in tmux 1.8
  - incrementally rearrange while building our windows up to restore,
    as sometimes we run out of room; tiling in between seems to work' --fixes 'lp:1278277'
Committing to: /local/media/src/byobu/byobu/
modified debian/changelog
modified usr/bin/byobu-layout.in
Committed revision 2315.

Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers