{"action":"created","issue":{"url":"https://api.github.com/repos/i3/i3/issues/2797","repository_url":"https://api.github.com/repos/i3/i3","labels_url":"https://api.github.com/repos/i3/i3/issues/2797/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/2797/comments","events_url":"https://api.github.com/repos/i3/i3/issues/2797/events","html_url":"https://github.com/i3/i3/issues/2797","id":233000059,"number":2797,"title":"Predictable bar ordering (when eg. 2 bars on bottom)","user":{"login":"AloisMahdal","id":217935,"avatar_url":"https://avatars2.githubusercontent.com/u/217935?v=3","gravatar_id":"","url":"https://api.github.com/users/AloisMahdal","html_url":"https://github.com/AloisMahdal","followers_url":"https://api.github.com/users/AloisMahdal/followers","following_url":"https://api.github.com/users/AloisMahdal/following{/other_user}","gists_url":"https://api.github.com/users/AloisMahdal/gists{/gist_id}","starred_url":"https://api.github.com/users/AloisMahdal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AloisMahdal/subscriptions","organizations_url":"https://api.github.com/users/AloisMahdal/orgs","repos_url":"https://api.github.com/users/AloisMahdal/repos","events_url":"https://api.github.com/users/AloisMahdal/events{/privacy}","received_events_url":"https://api.github.com/users/AloisMahdal/received_events","type":"User","site_admin":false},"labels":[{"id":477911496,"url":"https://api.github.com/repos/i3/i3/labels/4.13","name":"4.13","color":"009800","default":false},{"id":173539452,"url":"https://api.github.com/repos/i3/i3/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-01T20:26:16Z","updated_at":"2017-06-05T19:19:47Z","closed_at":null,"body":"I can have multiple bars, each with own purpose and different settings.\r\n\r\nHowever, if I have 2 bars, say, A and B both in dock mode in bottom, the relative position of one to another is not deterministic: sometimes A will end up above B, sometimes otherwise.  Even enabling and disabling one of them using i3-msg does not lead to reliable positioning (ie. it's not that the last enabled will be the \"innermost\" or \"outermost\".\r\n\r\nThis is problematic in my scenario where A is a \"traditional\" i3bar with workspace buttons, whereas B is just a custom status bar for media info (eg. current song).  For mouse control, I always want the workspace buttons be in the lower-left corner, ie. need A to always be nearest to the screen border. B, on the other hand, does not need to run at all.\r\n\r\nHere is how I want my screen to look like:\r\n\r\n  ![i3-2bars](https://cloud.githubusercontent.com/assets/217935/26699155/04df2170-4719-11e7-9aa3-9d4dc1ba45a8.png)\r\n\r\nCurrently (4.13-113-gd3901fe), I have no way of guarranteeing that. Closest I can get is to disable both and enable B, then A, but even that is not reliable (adding sleep helps).\r\n\r\nIt would be nice if i3 could at least make the positioning behave deterministically (eg. based on order in config or on `id` atttribute or order in which bars are enabled) or even make this explicitly configurable."},"comment":{"url":"https://api.github.com/repos/i3/i3/issues/comments/306277207","html_url":"https://github.com/i3/i3/issues/2797#issuecomment-306277207","issue_url":"https://api.github.com/repos/i3/i3/issues/2797","id":306277207,"user":{"login":"AloisMahdal","id":217935,"avatar_url":"https://avatars2.githubusercontent.com/u/217935?v=3","gravatar_id":"","url":"https://api.github.com/users/AloisMahdal","html_url":"https://github.com/AloisMahdal","followers_url":"https://api.github.com/users/AloisMahdal/followers","following_url":"https://api.github.com/users/AloisMahdal/following{/other_user}","gists_url":"https://api.github.com/users/AloisMahdal/gists{/gist_id}","starred_url":"https://api.github.com/users/AloisMahdal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AloisMahdal/subscriptions","organizations_url":"https://api.github.com/users/AloisMahdal/orgs","repos_url":"https://api.github.com/users/AloisMahdal/repos","events_url":"https://api.github.com/users/AloisMahdal/events{/privacy}","received_events_url":"https://api.github.com/users/AloisMahdal/received_events","type":"User","site_admin":false},"created_at":"2017-06-05T19:19:47Z","updated_at":"2017-06-05T19:19:47Z","body":"> It's special in the sense that it's a dock type window (_NET_WM_WINDOW_TYPE_DOCK).\r\n\r\nThanks for shining light on this. Looking at [freedesktop spec][1], it does not say much about these:\r\n\r\n> _NET_WM_WINDOW_TYPE_DOCK indicates a dock or panel feature. Typically a Window Manager would keep such windows on top of all other windows.\r\n\r\n  [1]: https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html\r\n\r\nAnyway, if this RFE was rephrased as more general \"add a way to control dock windows order\", would it make more sense?"}}
{"actor":{"display_login":"AloisMahdal"}}