[i3] layout file causes i3 to hang

2014-09-29 Thread Sargrad, Dave
I've got a layout file that cause i3 (version 4.8) to hang 100% consistently.

I use the i3-msg append_layout command to cause this. I've used it with other 
layout files just fine.

What is it about this file that causes i3 to hang?

I've included the layout file below:

{
border: normal, 
floating: auto_off, 
floating_nodes: [
{
border: normal, 
current_border_width: -1, 
floating: auto_off, 
floating_nodes: [], 
focus: [
29940496
], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 0, 
width: 0, 
x: 0, 
y: 0
}, 
id: 29940864, 
last_split_layout: splith, 
layout: splith, 
name: #aa, 
nodes: [
{
border: normal, 
current_border_width: -1, 
floating: user_on, 
floating_nodes: [], 
focus: [], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 820, 
width: 170, 
x: 0, 
y: 0
}, 
id: 29940496, 
last_split_layout: splith, 
layout: splith, 
name: Toolbox - Tool Options, 
nodes: [], 
orientation: none, 
percent: 1.0, 
rect: {
height: 822, 
width: 164, 
x: 753, 
y: 95
}, 
scratchpad_state: none, 
swallows: [], 
type: con, 
urgent: false, 
window: 37748871, 
window_properties: {
class: Gimp, 
instance: gimp, 
title: Toolbox - Tool Options, 
window_role: gimp-toolbox
}, 
window_rect: {
height: 820, 
width: 160, 
x: 2, 
y: 0
}, 
workspace_layout: default
}
], 
orientation: horizontal, 
percent: null, 
rect: {
height: 840, 
width: 164, 
x: 753, 
y: 77
}, 
scratchpad_state: none, 
swallows: [], 
type: floating_con, 
urgent: false, 
window: null, 
window_rect: {
height: 0, 
width: 0, 
x: 0, 
y: 0
}, 
workspace_layout: default
}, 
{
border: normal, 
current_border_width: -1, 
floating: auto_off, 
floating_nodes: [], 
focus: [
29637472
], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 0, 
width: 0, 
x: 0, 
y: 0
}, 
id: 29639104, 
last_split_layout: splith, 
layout: splith, 
name: #ff, 
nodes: [
{
border: normal, 
current_border_width: -1, 
floating: user_on, 
floating_nodes: [], 
focus: [], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 820, 
width: 210, 
x: 1679, 
y: 0
}, 
id: 29637472, 
last_split_layout: splith, 
layout: splith, 
name: Layers - Brushes, 
nodes: [], 
orientation: none, 
percent: 1.0, 
rect: {
height: 822, 
width: 214, 
x: 733, 
y: 113
}, 
scratchpad_state: none, 
swallows: [], 
type: con, 
urgent: false, 
window: 37748887, 
window_properties: {
class: Gimp, 
instance: gimp, 
title: Layers - Brushes, 

Re: [i3] layout file causes i3 to hang

2014-09-29 Thread Sargrad, Dave
Looking more closely. Its clear that the floating_nodes  portion of my layout 
is incorrect. Will fix by converting window_properties to swallows.

-Original Message-
From: Sargrad, Dave 
Sent: Monday, September 29, 2014 9:01 AM
To: i3-discuss@i3.zekjur.net
Subject: layout file causes i3 to hang

I've got a layout file that cause i3 (version 4.8) to hang 100% consistently.

I use the i3-msg append_layout command to cause this. I've used it with other 
layout files just fine.

What is it about this file that causes i3 to hang?

I've included the layout file below:

{
border: normal, 
floating: auto_off, 
floating_nodes: [
{
border: normal, 
current_border_width: -1, 
floating: auto_off, 
floating_nodes: [], 
focus: [
29940496
], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 0, 
width: 0, 
x: 0, 
y: 0
}, 
id: 29940864, 
last_split_layout: splith, 
layout: splith, 
name: #aa, 
nodes: [
{
border: normal, 
current_border_width: -1, 
floating: user_on, 
floating_nodes: [], 
focus: [], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 820, 
width: 170, 
x: 0, 
y: 0
}, 
id: 29940496, 
last_split_layout: splith, 
layout: splith, 
name: Toolbox - Tool Options, 
nodes: [], 
orientation: none, 
percent: 1.0, 
rect: {
height: 822, 
width: 164, 
x: 753, 
y: 95
}, 
scratchpad_state: none, 
swallows: [], 
type: con, 
urgent: false, 
window: 37748871, 
window_properties: {
class: Gimp, 
instance: gimp, 
title: Toolbox - Tool Options, 
window_role: gimp-toolbox
}, 
window_rect: {
height: 820, 
width: 160, 
x: 2, 
y: 0
}, 
workspace_layout: default
}
], 
orientation: horizontal, 
percent: null, 
rect: {
height: 840, 
width: 164, 
x: 753, 
y: 77
}, 
scratchpad_state: none, 
swallows: [], 
type: floating_con, 
urgent: false, 
window: null, 
window_rect: {
height: 0, 
width: 0, 
x: 0, 
y: 0
}, 
workspace_layout: default
}, 
{
border: normal, 
current_border_width: -1, 
floating: auto_off, 
floating_nodes: [], 
focus: [
29637472
], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 0, 
width: 0, 
x: 0, 
y: 0
}, 
id: 29639104, 
last_split_layout: splith, 
layout: splith, 
name: #ff, 
nodes: [
{
border: normal, 
current_border_width: -1, 
floating: user_on, 
floating_nodes: [], 
focus: [], 
focused: false, 
fullscreen_mode: 0, 
geometry: {
height: 820, 
width: 210, 
x: 1679, 
y: 0
}, 
id: 29637472, 
last_split_layout: splith, 
layout: splith, 
name: Layers - Brushes, 
nodes: [], 
orientation: none, 
percent: 1.0, 
rect: {
height: 822, 
width: 214, 
x: 733, 
y: 113
}, 
scratchpad_state: none, 
swallows