mako icon indicating copy to clipboard operation
mako copied to clipboard

Mako stops showing notification

Open sunox1 opened this issue 2 years ago • 8 comments

I seem to be having the same issue that is described in this closed issue:

https://github.com/riverwm/river/issues/226

In short, mako displays notifications for a while, and then stops. makoctl reload revives it.

I am running mako on Gentoo using the latest build (version 1.6). I raised this issue on the Gentoo forums, and the people I spoke to there redirected me here as they did not feel it was a Gentoo issue.

I start mako with exec sway in sway's config. I use elogind - not systemd - and start sway with dbus-run-session sway. I'm not sure if this is even relevant, but dbus seems to work perfectly well on my system.

I also run mako on a Debian machine, using the same config, and starting mako in the same way. mako works flawlessly on this machine now, although I seem to recall it having the same issue described above at some point, and it eventually went away.

Does anyone know what might cause mako to stop showing notifications?

sunox1 avatar Mar 10 '22 21:03 sunox1

No clue on whether this is the cause or not, but just want to mention that the TODO which ifreund pointed out in that thread is still there:

https://github.com/emersion/mako/blob/0e1a3637df6f85bdb931aa0aa27d645420803b77/wayland.c#L720-L722

fluix-dev avatar Mar 12 '22 05:03 fluix-dev

Duplicate of https://github.com/emersion/mako/issues/404 (also what a fitting issue number for that one…)

nagisa avatar Mar 13 '22 22:03 nagisa

Thanks for the comments @fluix-dev and @nagisa.

I'm not sure how exactly to interpret the TODO, but it sounds like something I can't control. Still interesting to know.

And it seems I missed the earlier message - my mistake. Please let me know if I should close this one.

sunox1 avatar Mar 14 '22 02:03 sunox1

Updating to mako git fixed this issue for me. @sunox1 Did you try that?

CameronNemo avatar Apr 10 '22 02:04 CameronNemo

I have the same issue with the community package of mako on Archlinux.

If mako-git fixes the issue, can there be a release/version-increment so that the community package in archlinux gets updated with the fix?

loserMcloser avatar Apr 11 '22 18:04 loserMcloser

I cannot tell if you actually tested mako built from git. If you did and it solves the issue feel free to pester the maintainer here to do a release, then Arch should pick it up promptly.

I just did not want to bother if my system is simply a fluke.

CameronNemo avatar Apr 11 '22 19:04 CameronNemo

I cannot tell if you actually tested mako built from git.

I hadn't when I commented, but I have now and it seems like it fixes the problem for me. It's not certain though because it's not consistently reproducible for me --- it seems to occur after my system has been sitting locked for a while, and then I no longer get notifications showing up after I unlock until I run makoctl reload. I thought the cause might be notifications being received while locked (from an open GMail tab, for example), but if I do something like sleep 5; notify-send test and then lock my screen during the sleep it doesn't seem to trigger the problem.

I've built and installed mako-git and haven't had the issue since. I'll report back if it crops up again.

If you did and it solves the issue feel free to pester the maintainer here to do a release, then Arch should pick it up promptly.

I hoped that commenting here on the issue with the specific suggestion of putting out a release would count as "pester[ing] the maintiner." ;)

loserMcloser avatar Apr 14 '22 01:04 loserMcloser

I think this is fixed by https://github.com/emersion/mako/commit/6caaa557d1bb767a037b36bb294bcb78059fb2ba or a related change. It seems to happen sometimes when my screen is off (so when I have 0 outputs).

aereaux avatar Apr 19 '22 17:04 aereaux