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

order of bar blocks in the config file is not respected #3491

Open
vivien opened this Issue Oct 31, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@vivien
Contributor

vivien commented Oct 31, 2018

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

With multiple bar blocks defined in the config file, the order they are drawn by i3 isn't deterministic.

With the following config, restarting i3 multiple times will display bars in non-deterministic orders:

bar {
  position top
  workspace_buttons yes
}

bar {
  position top
  workspace_buttons no
}

Expected Behavior

With the previous example, we expect the bar with workspace buttons to be always first, at the very top.

Reproduction Instructions

Test the previous example and trigger i3-msg restart multiple times while watching the workspace buttons at top of the screen.

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.15 (2018-03-10) © 2009 Michael Stapelberg and contributors
(Getting version from running i3, press ctrl-c to abort…Running i3 version: 4.15 (2018-03-10) (pid 1026)
Loaded i3 config: /home/vivien/.config/i3/config (Last modified: Wed 31 Oct 2018 11:21:34 AM EDT, 315 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3




- Linux Distribution & Version: 4.18.16-arch1-1-ARCH
- Are you using a compositor (e.g., xcompmgr or compton): no

@i3 i3 deleted a comment from i3bot Oct 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment