Public bug reported: When using a custom image with the notify-send command (e.g. notify-send -i /home/<username>/images/test.png "test") the image, once loaded, is not refreshed. This can be tested by running a command such as the example one, then overwriting "current.png" with a different image, and running the command again. The images shown in the two notifications will both be the original image. I would expect the second image to be different.
Example "code": cd home/<username>/images/ cp image1.png test.png notify-send -i /home/<username>/images/test.png "test" cp image2.png test.png notify-send -i /home/<username>/images/test.png "test" Of note is that this appears to affect both the notification shown on an unlocked desktop and one shown on the lock screen; however, these can be "stuck" on different versions of the image, although they will remain stuck. That is, the notification bubble shown on the lock screen will always shown one version of an image, and the desktop notification will always show one version of the image, but these are not necessarily the same image. So a notification generated with "sleep 5; <command>" (and you locking your desktop in the 5 seconds) will show one image, and then when you unlock your desktop the same notification can be a different image. Ubuntu 20.04.04 LTS GNOME 3.36.8 libnotify-bin 0.7.9-1ubuntu2 notify-osd <not installed> notification-daemon <not installed> ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: libnotify-bin 0.7.9-1ubuntu2 ProcVersionSignature: Ubuntu 5.15.0-52.58~20.04.1-generic 5.15.60 Uname: Linux 5.15.0-52-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.24 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Wed Oct 26 21:02:54 2022 InstallationDate: Installed on 2022-04-06 (204 days ago) InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: libnotify UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: libnotify (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal third-party-packages -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libnotify in Ubuntu. https://bugs.launchpad.net/bugs/1994912 Title: Custom image is not refreshed on new calls to notify-send Status in libnotify package in Ubuntu: New Bug description: When using a custom image with the notify-send command (e.g. notify- send -i /home/<username>/images/test.png "test") the image, once loaded, is not refreshed. This can be tested by running a command such as the example one, then overwriting "current.png" with a different image, and running the command again. The images shown in the two notifications will both be the original image. I would expect the second image to be different. Example "code": cd home/<username>/images/ cp image1.png test.png notify-send -i /home/<username>/images/test.png "test" cp image2.png test.png notify-send -i /home/<username>/images/test.png "test" Of note is that this appears to affect both the notification shown on an unlocked desktop and one shown on the lock screen; however, these can be "stuck" on different versions of the image, although they will remain stuck. That is, the notification bubble shown on the lock screen will always shown one version of an image, and the desktop notification will always show one version of the image, but these are not necessarily the same image. So a notification generated with "sleep 5; <command>" (and you locking your desktop in the 5 seconds) will show one image, and then when you unlock your desktop the same notification can be a different image. Ubuntu 20.04.04 LTS GNOME 3.36.8 libnotify-bin 0.7.9-1ubuntu2 notify-osd <not installed> notification-daemon <not installed> ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: libnotify-bin 0.7.9-1ubuntu2 ProcVersionSignature: Ubuntu 5.15.0-52.58~20.04.1-generic 5.15.60 Uname: Linux 5.15.0-52-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.24 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Wed Oct 26 21:02:54 2022 InstallationDate: Installed on 2022-04-06 (204 days ago) InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: libnotify UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1994912/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp