qtile: Bar not showing up on reload

Currently using this config

When I reload qtile with qtile.cmd_reload_config or lazy.reload_config, the windows reload, but the bar doesn’t.

2022-02-23 11:09:33,846 WARNING libqtile lifecycle.py:_atexit():L33 Restarting Qtile with os.execv(...)
2022-02-23 11:09:35,154 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to image_1 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['image_1']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,155 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_1 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_1']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,156 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_2 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_2']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,158 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to clock_1 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['clock_1']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,161 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_3 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_3']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,164 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_4 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_4']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,165 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_5 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_5']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,196 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_6 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_6']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,196 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_7 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_7']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,197 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_8 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_8']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,198 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_9 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_9']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,198 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to spacer_1 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['spacer_1']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,199 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_10 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_10']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,201 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_11 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_11']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,202 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to genpolltext_1 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['genpolltext_1']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,203 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to genpolltext_2 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['genpolltext_2']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,203 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_12 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_12']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,203 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_13 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_13']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,204 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to spacer_2 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['spacer_2']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,204 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to genpolltext_3 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['genpolltext_3']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,204 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to spacer_3 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['spacer_3']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,205 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to textbox_14 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['textbox_14']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.
2022-02-23 11:09:35,205 WARNING libqtile manager.py:register_widget():L571 Widget was renamed to spacer_4 in qtile.widgets_map. To bind commands, rename the widget or use lazy.widget['spacer_4']. A duplicate widget was also found in the same bar or screen. If you wish to access the widget via lazy.bar[position].widget or lazy.screen.widget, you should rename the widget in your config.

This is after restarting. I don’t think it’s related to the issue though.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 47 (44 by maintainers)

Commits related to this issue

Most upvoted comments

OK, the PR approach looks good if this is going to work out this issue 😃

Ok - so there is something in your config that’s triggering the issue.

What you could try is starting with the default config and gradually replace parts with bits from your own config until you find which bit causes the break. At that point we can then see if this is a qtile bug or whether it’s an error in your config.

I did the bisect with the good revision being v0.20.0 and nothing useful came through.

$ git bisect log

git bisect start
# bad: [77589e7eb2dbefb6d1a09ab2aa8794265fb499d9] WL: support libinput configs for type:touchpad
git bisect bad 77589e7eb2dbefb6d1a09ab2aa8794265fb499d9
# bad: [77589e7eb2dbefb6d1a09ab2aa8794265fb499d9] WL: support libinput configs for type:touchpad
git bisect bad 77589e7eb2dbefb6d1a09ab2aa8794265fb499d9
# good: [6bb5520c3d9168fc3d495ed902c36a304ac182aa] v0.20.0
git bisect good 6bb5520c3d9168fc3d495ed902c36a304ac182aa
# bad: [5f6ab4bcafbcb31e45dbd178a77f49eb647505a6] WL: transform internal windows and wallpapers correctly on outputs
git bisect bad 5f6ab4bcafbcb31e45dbd178a77f49eb647505a6
# bad: [7f451f901f92bdeca2ce186e3e3f3054c35e832f] Fix creation of mirrors in same Bar
git bisect bad 7f451f901f92bdeca2ce186e3e3f3054c35e832f
# bad: [7056c1f3013bedd4601456930aec35cd85f7b88c] WL: Don't die when some XWayland clients close their window
git bisect bad 7056c1f3013bedd4601456930aec35cd85f7b88c
# bad: [77bcbc3f651561c5288c269339c807b0eb29b121] Fix Systray crash when screens are reconfigured
git bisect bad 77bcbc3f651561c5288c269339c807b0eb29b121
# bad: [0ed2c76f05a705cd0d5c79ee084abe465284bf88] fix changelog errors
git bisect bad 0ed2c76f05a705cd0d5c79ee084abe465284bf88
# bad: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
git bisect bad 366017b95d796ba4923d713d4718e9e108c7dd55
# first bad commit: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
# bad: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
git bisect bad 366017b95d796ba4923d713d4718e9e108c7dd55
# first bad commit: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
# first bad commit: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
# first bad commit: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
# skip: [6bb5520c3d9168fc3d495ed902c36a304ac182aa] v0.20.0
git bisect skip 6bb5520c3d9168fc3d495ed902c36a304ac182aa
# first bad commit: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
# bad: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
git bisect bad 366017b95d796ba4923d713d4718e9e108c7dd55
# first bad commit: [366017b95d796ba4923d713d4718e9e108c7dd55] Add command to centre floating windows
$ git log 366017b9

commit 366017b95d796ba4923d713d4718e9e108c7dd55 (HEAD, refs/bisect/bad)
Author: elParaguayo <elparaguayocode@gmail.com>
Date:   Fri Dec 31 13:32:22 2021 +0000

    Add command to centre floating windows

    This is from a discussion in the qtile-dev group: add a new
    `cmd_center` to position a floating window in the middle of the
    screen.

 CHANGELOG                |  1 +
 libqtile/backend/base.py | 24 ++++++++++++++++++++++++
 test/test_window.py      | 21 +++++++++++++++++++++
 3 files changed, 46 insertions(+)

commit 6bb5520c3d9168fc3d495ed902c36a304ac182aa (tag: v0.20.0, refs/bisect/skip-6bb5520c3d9168fc3d495ed902c36a304ac182aa, refs/bisect/good-6bb5520c3d9168fc3d495ed902c36a304ac182aa)
Author: mcol <mcol@posteo.net>
Date:   Mon Jan 24 19:53:56 2022 +0000

    v0.20.0

Now I’m building from the AUR. I don’t think the results should be any different than the sudo pip install . though.