Skip to content

Order of Groups in External Bar not Constant in Multi Monitor Setup #3375

@scaramangado

Description

@scaramangado

Summary

My setup consists of 9 groups which can be active on either of my two screens. On launch my primary screen shows the first group, the secondary screen the second group. In my Polybar the order of groups is now "1, 3, 4, 5, 6, 7, 8, 9, 2". When cycling through the groups using lazy.screen.next_group() the display-order of the groups sometimes changes.

Caveats

Now I can't be 100% sure this is a qtile issue and not one of Polybar, however I did downgrade to qtile 0.19 and the issue was not present.

Using xprop I can see, that the order in _NET_DESKTOP_NAMES seems to be correct.

Steps to Reproduce

Two screens are needed.

I uploaded a more or less minimal configuration which lets me reproduce the issue with the latest qtile and Polybar: Gist.

  1. Copy the files from the Gist above to the qtile config directory. Make sure to have at least the defined terminal installed or change the config to an installed one.
  2. Launch qtile 0.20.0.
  3. If Polybar doesn't launch, run ~/.config/qtile/polybar.sh (I can't be bothered to figure out why the startup hook isn't working in this example). meta + Enter launches a terminal.
  4. Take note of the order of groups in the bar and watch it while cycling through them using meta + Right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions