bbfa6006f3
The index was updated on an unordered table. As the elements order did not match the relative indices once they have been changed, further calls to set_index produced garbage. The default taglist didn't notice because it use screen.tags table index instead of the tag index. A debug using echo 'for _,t in ipairs(mouse.screen.tags) do print("INDEX:", _, t.index, t.name) end' | awesome-client Would have shown two or more elements with the same index. To debug issues related to tag indices, this bash script can be enabled: while true; do echo 'for _,t in ipairs(mouse.screen.tags) do assert( _==t.index) end' | awesome-client sleep 0.5 done |
||
---|---|---|
.. | ||
awful | ||
beautiful | ||
gears | ||
menubar | ||
naughty | ||
wibox |