Awesome: Notification isn't replaced

Created on 10 Jun 2019  Â·  3Comments  Â·  Source: awesomeWM/awesome

Output of awesome --version:

awesome v4.3-274-g140f11b10 (Too long)
 • Compiled against Lua 5.3.5 (running with Lua 5.3)
 • D-Bus support: ✔
 • xcb-errors support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: 0.9.2

How to reproduce the issue:

  • Use the new notification API (merged in #2726 )
naughty.connect_signal("request::display", function(n)
      naughty.layout.box { notification = n }
end)
  • Open Spotify
  • Start a song (notification is displayed)
  • Before the notification is destroyed, play a new song

Actual result:

Notification has the previous song info

Expected result:

Notification should be replaced. This happens with the older system.

Most helpful comment

Can someone try https://github.com/awesomeWM/awesome/pull/2816 to see if it solves this problem?

All 3 comments

I can confirm this.

With naughty.notify:
Same notification with old data.

With naughty.notification:
New notification. Does not get replaced.

I'm interested in contributing, so if you can give me some pointers I can try to hunt down the issue.

Can someone try https://github.com/awesomeWM/awesome/pull/2816 to see if it solves this problem?

@Elv13 It solved my issue. Closing since resolved by merged PR.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rookah picture rookah  Â·  4Comments

batmanm0b1E picture batmanm0b1E  Â·  6Comments

Fybe picture Fybe  Â·  5Comments

1096283585 picture 1096283585  Â·  3Comments

ghost picture ghost  Â·  4Comments