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

Launching a browser assigned to one workspace from another workspace crashes i3 #1338

Closed
i3bot opened this issue Aug 5, 2014 · 7 comments
Closed
Assignees
Labels

Comments

@i3bot
Copy link

i3bot commented Aug 5, 2014

[Originally reported by the.changing.side@…]
(When opening a browser assigned to a workspace (e.g. 2 web), and opening it from another (e.g 1 term), i3 crashes. I can reproduce it every time with Firefox and Chrome.

Arch Linux, 64bit

@i3bot
Copy link
Author

i3bot commented Aug 5, 2014

[Original comment by anonymous]

When on workspace other than 1 and launching Chromium, can reproduce with:

assign [class="Chromium"] 1
for_window [class="Chromium"] focus child, layout tabbed, focus

@i3bot
Copy link
Author

i3bot commented Aug 5, 2014

[Original comment by TonyC]

This same crash is on the bug tracker about 3 times now.

I still can't reproduce any of them. They all work perfectly fine for me.

Also, update to the development version and try to reproduce it there.

@i3bot
Copy link
Author

i3bot commented Aug 5, 2014

[Original comment by the.changing.side@…]

for_window [class="Chromium"] focus child, layout tabbed, focus

crashes

for_window [class="Chromium"] focus

does not crash

And I use the latest development version, unless there's a "next-next" branch I'm missing

@i3bot
Copy link
Author

i3bot commented Aug 8, 2014

[Original comment by the.changing.side@…]

Hi,

I've attached a more meaningful backtrace. Hope it helps

@stapelberg
Copy link
Member

I can reproduce this (with a testcase). Let’s see if I can come up with a fix…

@stapelberg
Copy link
Member

The problematic command here is layout tabbed, which sets focus to a container on an invisible workspace, which violates the assumption in con_fullscreen_permits_focusing.

@stapelberg
Copy link
Member

This ticket was fixed in commit http://c.i3wm.org/fc886315:

Bugfix: don’t set focus in con_set_layout() on invisible workspaces

fixes #1338

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants