I've added this to the spec <https://wiki.ubuntu.com/NotifyOSD?action=diff&rev2=72&rev1=71>, but I don't think it's a good idea. Even if a client wants to cater for poorly-presented servers by handling truncation itself, *how much* it needs to truncate is dependent on the particular notification server. For example, a notification server designed specifically for mobile phones would have notifications much smaller than those displayed by notification-daemon, so they would need to be truncated much more.
Therefore, I think clients that want to bother handling truncation themselves (such as pidgin-libnotify) should use GetServerInformation to target specific servers (e.g. "if notification-daemon, truncate to X characters"), rather than assuming they'll all be the same size. -- Notify-OSD should advertise "truncation" capability https://bugs.launchpad.net/bugs/337389 You received this bug notification because you are a member of Notify OSD Developers, which is subscribed to Notify OSD. Status in Notify OSD: Fix Committed Bug description: Notify-OSD has a unique ability compared to the traditional notification daemon in that it can handle longer strings in a useful manner. It should advertise this ability to ensure that applications know whether they need to truncate the strings on the application side or the notification daemon can do that for them. I think the capability should be called "truncate-string" _______________________________________________ Mailing list: https://launchpad.net/~dx-team Post to : [email protected] Unsubscribe : https://launchpad.net/~dx-team More help : https://help.launchpad.net/ListHelp

