Comment 9 for bug 1646437

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

When opening the second or subsequent window via "terminator" from cmdline, this happens:

First a new_window() is executed (not sure via which method calls exactly) which ends up calling window.py's show() with startup=True. This is okay.

Then terminator.py's layout_done() is called (again not sure about the entire path leading here). The very end of this method loops through all the windows and if finds the last active one then calls window.show() (with the implicit default startup=False) on that.

Either commenting out these four lines at the end of layout_done, or (probably equivalent) modifying window.py show() to prefix "self.present()" with "if startup:" seems to a be a big improvement and seems to fix the current problem.

Not sure about other side effects though, and other code paths that do requires this segment of code here. This would need a deeper understanding of the situation (for which I sure won't have time in the foreseeable future, sorry).