Observed on version 4.10.2 on an Ubuntu derivative.
Steps to Reproduce:
1. Add "Leave A Note" widget to the desktop.
2. Type any message and press "Leave Note" button.
3. An empty but dated note will appear immediately.
4. After a few seconds, the message you typed will appear too.
Useless empty note should not appear.
Created attachment 80599 [details]
Message at top left comes up first, followed a few seconds later by message to its right.
HTML formatting of message is addressed in another bug 321303.
Tried on 4.10.3 (raring), then added ppa and upgraded to 4.10.4. Same problem reproduces on these versions. To clarify: To reproduce, knotes must not be running when the message is sent. Furthermore, knotes must not have any notes already.
If knotes is already running, it will deliver the message immediately and there is no extra blank note. If knotes is not running and it has one or more previous notes, these will display immediately (if they were visible when knotes was last closed), and the sent message will come after the delay, and there will be no extra blank note.
(Incidentally, I'm not sure the reasoning on the delay, or if it's just a quirk of some underlying system. If you're watching when knotes starts it at least gives you a better indication that this is a "new" note. But in my mind, showing the newly delivered note(s) in a different style until clicked on would make it better.)
Git commit c6933322d76b435bf2d59f0931adcd2e6ca1b630 by Montel Laurent.
Committed on 10/10/2013 at 17:30.
Pushed by mlaurent into branch 'KDE/4.11'.
Fix Bug 321304 - Leave A Note widget: When note is delivered, blank note also appears
M +1 -1 applets/leavenote/leavenote.cpp
We can't show note directly
we must wait that knotes is registered.
I divided time by 2.
Now It will better.