This quick follow-up release contains a single fix contributed by "Coacher": proper border drawing when compositing is disabled (bug #10021). It also contains a few updated translations: Bulgarian, Chinese (China), Chinese (Taiwan), Flemish and Indonesian.
For the next release, I'm considering implementing (as time allows) notification filtering so that you can turn off notifications from applications which annoy you.
I'm glad to announce this new release of xfce4-notifyd which ships mostly bug fixes and code cleanups. Theming has also been improved with additional style properties and drawing fixes. Xfce4-notifyd themes may need to be updated to take advantage of those new style properties and to adapt to the theming changes. Sorry for the inconvenience.
Thanks a lot to all the persons who contributed to this release and kept me motivated! This is the result of your work!
libnotify is now required as a dependency to build a test suite and to show improved notification previews.
Add a category to the settings dialog for Xfce4 Settings Manager.
Add widget names to summary ("summary") and body ("body") widgets to allow easier theming. Remove the redundant / buggy summary-bold style property (bug #8431). Themes will have to be updated accordingly.
Fix notifications not disappearing after clicking an action button.
Handle timeout correctly when smaller than fading time (bug #8580).
Avoid flickering of the notifications.
Accept uri of images in icon_name parameter.
Parse body with g_markup_escape_text which allows us to handle span attributes misused by some clients and to parse strings with "unusual" characters such as & (bug #7773, #8187).
Respect border-width when drawing the notification (bug #9475).
Do not kill notification daemon to apply new theme. Instead, handle style updates of existing notifications.
Show a button in the notification preview (bug #9982).
Almost exactly two years after the first release of Xfce4 Notifyd, sorry for missing that, 0.2.0 is out.
Most of the work was done by Brian Tarricone, who allowed me to co-maintain this application due to his very limited free time.
The biggest change must be smart notification placement: when there are several notifications, they are placed in a grid-like way, instead of overlapping as they did with the previous version. This also comes with improved support for multiple monitors setups.
We also now support 'gauge' and 'icon-only' notifications as in Canonical's Notify OSD. Xfce4-volumed already uses this to provide a beautiful notification on volume change.
Finally, we are now compatible with the latest specification (0.9) which should fix a great number of issues which happened when applications expected us to be already doing so.
Back in June, I started to hack on xfce4-notifyd to implement a smart notification placement. In the current stable version, if more two notifications are triggered at the same time, the new ones overlap with the old ones which makes them unreadable. My goal was to shift the notifications so that they would be all visible at the same time.
This turned out to be far more complicated than I had first thought, particularly because of multiple monitors support, but this has finally been committed to the master branch of xfce4-notifyd. I would like to thank Brian who took a lot of time to review my patch and gave me a lot of kicks advises on how to make things work or improve them.
Today, Brian also implemented a cool feature: it is now possible to display gauges (progress bars) or only an icon in a notification, as with notify-osd. Steve Dodier already took advantage of that in xfce4-volumed, which allows you to change the volume using the volume keys of your keyboard and displays beautiful notifications.
The following screen cast shows how things look currently:
As you can see notifications are displayed using columns. If a side of the screen is reached, another column is started. That way, you never get two overlapping notifications (well, in fact this can happen if the screen is full of notifications, but that shouldn't happen very often!). If you have several monitors, notifications are displayed on the active one. If a monitor is unplugged, notifications are moved to the other one.