[knotes] [Bug 242407] no tray icon for knotes

Aurelien Gateau agateau at kde.org
Thu Feb 14 09:45:51 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=242407

Aurelien Gateau <agateau at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |NEEDSINFO
         Resolution|---                         |WAITINGFORINFO
           Assignee|kdepim-bugs at kde.org         |agateau at kde.org

--- Comment #7 from Aurelien Gateau <agateau at kde.org> ---
I can't reproduce this with KDE SC 4.10.

I added knotes to the applications launched at startup through System Settings
"Startup and Shutdown" then logged out and back: knotes icon was there. Same
result after a second logout and a reboot.

When you get this bug: is there an empty spot which can be right-clicked to get
knotes menu, or is the icon completely missing?

The StatusNotifierItem (SNI) code in knotes does not do anything fancy, I
suspect the bug might be caused by knotes registering itself before Plasma is
ready to show the icon. The Plasma code handling these icons have been
rewritten in 4.10, so it is possible the bug got fixed by this rewrite. Can you
still reproduce it with 4.10? 

If so, it would help a lot if you could do this:

- Start kdebugdialog, make sure "299 kdeui (KNotification)" is checked
- Logout and back to reproduce the bug
- Attach the file ~/.xsession-errors to this bug report

Now that the bug has been reproduced, do this:

1. Make sure qdbus is installed

2. Check knotes has registered an SNI. From the terminal, run this:

qdbus org.kde.StatusNotifierItem-$(pidof knotes)-1

It should print:

/
/MenuBar
/StatusNotifierItem

3. Check the SNI told the world about its icon. Run this:

qdbus org.kde.StatusNotifierItem-$(pidof knotes)-1 /StatusNotifierItem
org.kde.StatusNotifierItem.IconName

It should print:

knotes

4. Check the SNI told the world it is active. Run this:

qdbus org.kde.StatusNotifierItem-$(pidof knotes)-1 /StatusNotifierItem
org.kde.StatusNotifierItem.Status

It should print:

Active

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list