KNotificationItem specification - first draft

Aaron J. Seigo aseigo at kde.org
Fri Sep 18 20:44:31 BST 2009


On September 18, 2009, Michael Pyne wrote:
> On Friday 18 September 2009 13:43:15 Aaron J. Seigo wrote:
> > >  in the event of a complex tooltip
> >
> > what sort of complex tooltip?
> 
> A tooltip with a description of the track and the cover art.  The cover art
> itself may be embedded in the music and not a separate file so it would be
> best to have a way to provide the image data directly instead of requiring

such as: void KNotificatonIte::setToolTip(const QPixmap &icon, const QString 
&title, const QString &subTitle); ?

> > > t I can certainly workaround it in the application
> >
> > if you can provide use cases, we can work on solutions.
> 
> For the track announcement popup, the use case is that when the track
>  changes (and the popup is enabled), a window shows up with a description
>  of the newly playing track, its cover art, and a Next and Previous button
>  so that the user can quickly switch tracks if they don't like what's
>  currently playing. Workarounds include the system tray context menu (which
>  requires two clicks and quite a bit of motion) or keyboard shortcuts.

ah, you have interaction elements in there. hm..... extra tricky.
  
> It is important in our case to be able to know what side of the systray
>  icon is is best to show the dialog on, as that determines the ideal
>  placement of the buttons in the popup.  

realize that there may be no icon and no side. the tray can now just as easily 
be spoken audio as it is visual elements, for instance.

still, interesting use case. i will think on it.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090918/ad053aa0/attachment.sig>


More information about the kde-core-devel mailing list