window switches to floating layout on restart [closed]
UPDATE: Reported to Github (with more details and against 4.10.1 which is exposing slightly different behavior,)
Sometimes, probably related to non-standard or buggy behavior of some clients, it happens that on restart, i3 will arbitrarily switch current window to floating mode --- if another window exists in particular (buggy) state.
So far I was able to observe this with owncloud client, but probably it will not be the only client that can trigger this.
Steps:
- Open any window, e.g. terminal.
- Run owncloud client. The client hides itself in notification area.
- Click owncloud icon in the notification area twice to open it and hide it back again. You should now see only the terminal window again as focused
- Restart i3 (e.g.
$mod+Shift+r
ori3-msg restart
)
After restart, you will find that the terminal window is switched to floating mode.
Note that this will not happen if you omit step 3, i.e. if the owncloud window has never existed in the session. Apparently there is something funny about the way owncloud hides the window, and there may be need to file a bug there. On the other hand, clients will misbehave so i3 should be more robust here as well.
i3 is built from 4.9.1 tag in github repo, owncloud client is 1.8.0 from the official repos (1.8 is fairly new and I don't think I have seen this with 1.7).
The FAQ is not the right place for bug reports. Please use [the issue tracker on *i3*'s GitHub page](https://github.com/i3/i3/issues) for that.