You are not logged in.

#1 2024-05-11 09:28:43

Factorial
Member
Registered: 2013-09-09
Posts: 11

[SOLVED] xmobar stopped working after upgrade

I've been using xmonad with xmobar since a long time, but after upgrading yesterday evening, xmobar stopped working. Then I saw that a new version of xmobar appeared last night, so I did another upgrade (to 0.48-2), but unfortunately it didn't fix the issue.

So, what is happening is that there is space reserved for xmobar at the top of my screen, but it's not drawing its contents. For example, here is a screenshot that I took after switching from a desktop showing Chrome to an empty desktop that has only xmobar but no other windows:
https://ibb.co/M2zyNpc
What is visible in the place of xmobar is what Chrome showed in that place before the desktop switch.

If I press my hotkey for ToggleStruts to make xmobar appear when there is some other window shown, then a similar thing happens:
https://ibb.co/cy7bydC
Here, gedit moves out of the space where xmobar should appear, but xmobar is not drawing there, so what gedit had there is still visible in the place of xmobar.

Also note that the following xmonad freeze also starts happening after a while, so I guess xmobar is not reading xmonad's log:
https://wiki.archlinux.org/title/Xmobar … sed_window

These are my xmonad and xmobar configs:
https://gist.github.com/ggevay/cf19a3f3 … f735a87e96

How could I debug this?

Last edited by Factorial (2024-05-12 14:21:42)

Offline

#2 2024-05-11 15:15:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,878

Re: [SOLVED] xmobar stopped working after upgrade

Was glib2 among the critical updates?
What if you downgrade that?

Offline

#3 2024-05-11 19:39:10

mjiricka
Member
Registered: 2017-04-20
Posts: 12

Re: [SOLVED] xmobar stopped working after upgrade

Hooray, I had this problem too but the latest update glib2 (2.80.0-2 -> 2.80.2-1) solved the problem for me!

Offline

#4 2024-05-12 14:18:44

Factorial
Member
Registered: 2013-09-09
Posts: 11

Re: [SOLVED] xmobar stopped working after upgrade

Thanks, I did another full system upgrade now, and it fixed the problem. The following packages were upgraded:

Packages (44) dbus-python-1.3.2-3 [removal]  haskell-adjunctions-4.4.2-92  haskell-aeson-2.1.2.1-45  haskell-assoc-1.0.2-262  haskell-attoparsec-aeson-2.1.0.0-29  haskell-bifunctors-5.6-73
              haskell-bitvec-1.1.3.0-92  haskell-comonad-5.0.8-257  haskell-conduit-1.3.5-50  haskell-conduit-extra-1.3.6-131  haskell-dbus-1.3.1-12  haskell-extra-1.7.14-36
              haskell-foldable1-classes-compat-0.1-73  haskell-free-5.1.10-68  haskell-http-4000.4.1-191  haskell-http-client-0.7.15-21  haskell-http-client-tls-0.3.6.3-55  haskell-http-conduit-2.3.8.3-51
              haskell-http-types-0.12.4-4  haskell-indexed-traversable-0.1.3-65  haskell-indexed-traversable-instances-0.1.1.2-42  haskell-invariant-0.6.3-4  haskell-kan-extensions-5.2.6-2  haskell-lens-5.2.3-41
              haskell-mono-traversable-1.0.17.0-5  haskell-profunctors-5.6.2-171  haskell-regex-tdfa-1.3.2.2-42  haskell-semialign-1.2.0.1-158  haskell-semigroupoids-5.3.7-140  haskell-strict-0.4.0.1-236
              haskell-these-1.1.1.1-263  haskell-unordered-containers-0.2.20-16  haskell-vector-algorithms-0.9.0.1-92  haskell-witherable-0.4.2-99  haskell-xml-conduit-1.9.1.3-50  libpsl-0.21.5-2
              osinfo-db-20240510-1  python-dbus-1.3.2-4  shellcheck-0.10.0-4  vim-9.1.0408-1  vim-runtime-9.1.0408-1  xmobar-0.48.1-1  xmonad-0.18.0-9  xmonad-contrib-0.18.0-9

xmobar-0.48.1-1  xmonad-0.18.0-9  xmonad-contrib-0.18.0-9 are among the upgraded ones, but glib2 was not upgraded now. My glib2 is 2.80.2-1, and it was installed at Fri 10 May 2024 07:31:15 PM CEST, which is that system upgrade which broke my xmobar. (I didn't try downgrading glib2, because the full upgrade now fixed my issue.) So, based on mjiricka's comment and my experience, it's not really clear what was the role of glib2, but I'm just happy that the problem is fixed now.

Offline

#5 2024-05-12 14:20:39

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,878

Re: [SOLVED] xmobar stopped working after upgrade

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#6 2024-05-12 15:12:26

mjiricka
Member
Registered: 2017-04-20
Posts: 12

Re: [SOLVED] xmobar stopped working after upgrade

To make things 100% clear: I also upgraded other packages besides glib2, but I though these are transitively dependent on it and glib2 was the main issue. But it apparently wasn't.

Last edited by mjiricka (2024-05-12 15:12:49)

Offline

Board footer

Powered by FluxBB