Bug 256836 - Notifications by some applications only show a question mark as icon
Summary: Notifications by some applications only show a question mark as icon
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: notifications (show other bugs)
Version: 4.6.1
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-13 19:58 UTC by denk
Modified: 2013-04-12 07:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of notification with question mark as icon (30.08 KB, image/png)
2010-11-13 19:58 UTC, denk
Details
Notification of radiotray as of KDE 4.10.2 (23.45 KB, image/png)
2013-04-11 17:17 UTC, Romário Rios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description denk 2010-11-13 19:58:25 UTC
Created attachment 53399 [details]
screenshot of notification with question mark as icon

Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

Some applications (hplip, radiotray etc.) don't show a specific icon in the title area of the notification. Instead only a question mark is shown. Attached screenshot should make it more clear.

I know that applications like hplip or radiotray are not kde applications but, how can it be achieved that such applications produce nice notifications?

Proposed solutions:
1. Change the look of notifications so there is no more icon in the title area.
2. The icon for the title area of a notification is retrieved by notification system automatically dependend on the icon which is specified for the application in the .desktop file.
3. Developers of applications which show a question mark in notifications have to adapt their calls for a notification.

The third solution leads me to the question: How to do that and where to find documentation about that? I'm not a developer of the mentioned applications but, nevertheless I would like to get some information myself to help the developers of that programs in finding a solution for the problem.

My proposed solutions are only ideas and should encourage discussion about this.

Regards

denk

Reproducible: Always

Steps to Reproduce:
Start a print job over hplip or start playing a radio station in radiotray.

Actual Results:  
Occuring notifications show a question mark in upper part of notification.

Expected Results:  
Show either no icon or the icon of the alerting application in upper part of notification.
Comment 1 Kai Uwe Broulik 2010-11-14 01:58:18 UTC
I don‘t know exactly if it is but can be fixed in 4.6 because the notification system has changed a bit and the icon in the titlebar will be displayed in a big variant when the message is displayed. So maybe there will be no question mark at all but only this radio station icon.
Removing the icons altogether would be a regression. 
It is possible as there is an API that enables programmers accessing/creating notifications. The blame is more on the application developer‘s side than on KDE.
But a detection for a missing icon would be nice. I‘ll do some further researches with your programs.
Comment 2 denk 2010-11-14 12:30:18 UTC
Thanks for your support in that!
If you need further information or would like me to test something, 
please ask!


-----Original Message-----
From: KaiUweBroulik2@hotmail.com
To: denk@post.com
Sent: Sun, Nov 14, 2010 1:58 am
Subject: [Bug 256836] Notifications by some applications only show a 
question mark as icon


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


KaiUweBroulik2@hotmail.com changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------
---
                  CC|                            
|KaiUweBroulik2@hotmail.com




--- Comment #1 from  <KaiUweBroulik2 hotmail com>  2010-11-14 01:58:18 
---
I don‘t know exactly if it is but can be fixed in 4.6 because the 
notification
system has changed a bit and the icon in the titlebar will be displayed 
in a
big variant when the message is displayed. So maybe there will be no 
question
mark at all but only this radio station icon.
Removing the icons altogether would be a regression.
It is possible as there is an API that enables programmers 
accessing/creating
notifications. The blame is more on the application developer‘s side 
than on
KDE.
But a detection for a missing icon would be nice. I‘ll do some further
researches with your programs.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.=
Comment 3 Kai Uwe Broulik 2010-11-14 12:32:50 UTC
I tried setting up your radiotray but it does not start due to some “vintage” stuff in 4.6. Don‘t know. Maybe corrupt packages or so. Do you have another application that shows that behavior except for radiotray and hplip? So that I can test their behavior in 4.6
Comment 4 denk 2010-11-14 12:43:07 UTC
https://bugs.kde.org/show_bug.cgi?id=256836

Yes, I do have some more examples: Iceweasel/Firefox, Dropbox.
I think, most non-KDE applications (my mentioned ones are all GTK-apps) 
will have this problem.
Nevertheless there is one example which seems to do the notifications 
in a correct manner: nm-applet (Network Manager).
Comment 5 denk 2011-04-05 09:10:33 UTC
Anything new on this?

FYI: With KDE SC 4.6.1, the notifications seem to be more unified, looks nice. But notifications from hplip still show up with a (now even bigger) question mark.
Comment 6 Romário Rios 2013-04-11 17:17:58 UTC
Created attachment 78814 [details]
Notification of radiotray as of KDE 4.10.2

This issue seems to be fixed with the new QML Notifications widget.
Comment 7 Myriam Schweingruber 2013-04-12 07:58:23 UTC
Since the Notification widget was replaced with a newer QML-based one, the previous versions are now considered unmaintained. There will be no more code contribution to the older versions.

Please only report bugs and wishes to the new version, available since KDE 4.10