Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scratchpad crashing when created with parent of parent #1781

Closed
dirjax opened this issue Jul 3, 2015 · 7 comments
Closed

scratchpad crashing when created with parent of parent #1781

dirjax opened this issue Jul 3, 2015 · 7 comments
Labels
4.10 bug missing-log Read the CONTRIBUTING.md file for instructions needs info

Comments

@dirjax
Copy link

dirjax commented Jul 3, 2015

i3 --version : i3 version 4.10.2 (2015-04-16, branch "4.10.2") © 2009-2014 Michael Stapelberg and contributors
/etc/issue : Debian GNU/Linux stretch/sid \n \l
uname -a : Linux pc150002075 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

reproduce crash:
With i3-save-tree found below:
select top window,
select parent
select parent (again, although this is outside the saved tree < I guess issue lies here)
make this go to scratchpad
bring back from scratchpad
bring each child outside scratchpad container
on the last child i3 crashes

// vim:ts=4:sw=4:et
{
// tabbed split container with 1 children
"border": "pixel",
"floating": "auto_off",
"layout": "tabbed",
"percent": 1,
"type": "con",
"nodes": [
{
// splitv split container with 2 children
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"percent": null,
"type": "con",
"nodes": [
{
"border": "none",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 242,
"width": 402,
"x": 0,
"y": 0
},
"name": "Terminal",
"percent": 0.5,
"swallows": [
{
// "class": "^Xfce4-terminal$",
// "instance": "^xfce4-terminal$",
// "title": "^Terminal$",
// "transient_for": "^$",
// "window_role": "^xfce4-terminal-1435907735--1455237762$"
}
],
"type": "con"
},
{
// splith split container with 2 children
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "none",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 242,
"width": 402,
"x": 0,
"y": 0
},
"name": "Terminal",
"percent": 0.5,
"swallows": [
{
// "class": "^Xfce4-terminal$",
// "instance": "^xfce4-terminal$",
// "title": "^Terminal$",
// "transient_for": "^$",
// "window_role": "^xfce4-terminal-1435907736--630166200$"
}
],
"type": "con"
},
{
"border": "none",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 242,
"width": 402,
"x": 0,
"y": 0
},
"name": "Terminal",
"percent": 0.5,
"swallows": [
{
// "class": "^Xfce4-terminal$",
// "instance": "^xfce4-terminal$",
// "title": "^Terminal$",
// "transient_for": "^$",
// "window_role": "^xfce4-terminal-1435907737-2095549422$"
}
],
"type": "con"
}
]
}
]
}
]
}

@i3bot
Copy link

i3bot commented Jul 3, 2015

I don’t see a link to logs.i3wm.org. Did you follow http://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added missing-log Read the CONTRIBUTING.md file for instructions 4.10 labels Jul 3, 2015
@Airblader Airblader added the bug label Jul 3, 2015
@Airblader
Copy link
Member

make this go to scratchpad
bring back from scratchpad
bring each child outside scratchpad container

Sorry, I don't understand. If I brought everything out of the scratchpad already, how do I now bring every container out of it? Can you please write down the actual i3 commands you are using?

@dirjax
Copy link
Author

dirjax commented Jul 3, 2015

make the container seen from i3-save-tree
select top window:

  • focus parent
  • focus parent
  • move scratchpad
  • scratchpad show

select any window visible in the shown scratchpad

  • focus mode_toggle
  • focus mode_toggle

select any window visible in the shown scratchpad

  • focus mode_toggle
  • focus mode_toggle

select any window visible in the shown scratchpad

  • focus mode_toggle

at this point i3 crash occurs

@stapelberg
Copy link
Member

@dirjax “focus mode_toggle” only changes focus, it doesn’t bring windows in/out of the scratchpad.

Can you please attach a debug log file? This will make things so much clearer for us. See http://i3wm.org/docs/debugging.html

@Airblader
Copy link
Member

I'm pretty convinced this is the same or at least closely related to #1875.

@Airblader
Copy link
Member

@dirjax Can you provide the log file please?

@Airblader
Copy link
Member

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.10 bug missing-log Read the CONTRIBUTING.md file for instructions needs info
Projects
None yet
Development

No branches or pull requests

4 participants