small HowTo for notifications

Although the page about notification development guidelines isn’t done yet, I’ve finished the C, Python and C#-examples provided there. These examples are self-contained and act as a good copy&paste source for anybody who wants to adapt existing or new code to the jaunty notifications. You’ll see correct checking of daemon capabilities and name. For a better overview of the different layout-cases screenshots are shown too. I’ll try to complete that page this week.

4 Responses to “small HowTo for notifications”

  1. Milho Says:

    Great progress MacSlow,

    I just read through the wiki page and one thing that pop to my eye is the already discussed interaction issue.

    The design thesis was: a notification should not interfere with what you do. That’s why you can’t click it.
    That’s ok. I would like to be able to click it since it is my decision but I get the point that a notification should not be a distraction because distraction cost valuable time and interrupt your work (reference to Randy Pausch’s time-management lecture).

    Now that I read on I read something like:
    "…should open unfocused directly, and request attention."

    Now that is a big distraction to me. Plus it is a even worse design flaw - to my mind - if windows open them self without prior (direct, "virtual") action of the user. Just take the M$ USB drive behavior. The autosearch dialog comes, and when you "kill it dead" then there are (brainless) options you can do with your drive. Very annoying since a user normally knows why he did plug something into something. So he might also know if he want to configure something or work with something in a way. Why is this dialog saying: "I’m smarten then you, because I know what you want".
    A notification with a proposing to interact is design wise the best way to handle this. While still in contrast to the "non-disturbing" design of notifications. But you have to stick to one side, Luke :-)

    My 0.5 cent.

  2. VM Says:

    Hi!

    I cant’t find any info about how to draw a progress bar in notifications, can you give a brief example in python or C ?

  3. hellzou Says:

    what i dislike about those notifications :
    - just one notification at a time
    - slow to show up
    - too much space on the top of it (space for a panel i don’t have)

  4. MacSlow Says:

    @ hellzou: This is not the place for bug-reports or wishlist items. Please do that at: https://bugs.launchpad.net/notify-osd

Leave a Reply