Bug 278588 - Some SVG icons are rendered pixelated in notifications if passed as image_path
Summary: Some SVG icons are rendered pixelated in notifications if passed as image_path
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: notifications (show other bugs)
Version: 4.10.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 00:41 UTC by Bartosz Brachaczek
Modified: 2018-06-08 19:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example icon which triggers the bug (4.45 KB, image/svg+xml-compressed)
2011-07-27 00:44 UTC, Bartosz Brachaczek
Details
screenshot with bug (77.45 KB, image/png)
2011-07-27 09:17 UTC, Bartosz Brachaczek
Details
screenshow with bug in 4.10 (67.25 KB, image/png)
2013-02-09 12:38 UTC, Bartosz Brachaczek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Brachaczek 2011-07-27 00:41:35 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I'm KDE SC 4.7 RC2. Some SVG icons are rendered too small in notifications if passed as image_path. If passed as app_icon, the same icon is rendered in correct size.

Reproducible: Always

Steps to Reproduce:
1. Grab the SVG icon I attached.
2. Run the following command:
    $ notify-send --icon='/path/to/offline.svgz' 'Good' 'The icon is OK :-)'
3. Now run another one:
    $ notify-send --hint='string:image_path:/path/to/offline.svgz' 'Bad' 'The icon is too small :-('


Actual Results:  
Icon in point 3. is rendered too small.

Expected Results:  
The notification from point 3. has icon of the same size as the one from point 2.
Comment 1 Bartosz Brachaczek 2011-07-27 00:44:15 UTC
Created attachment 62224 [details]
example icon which triggers the bug
Comment 2 Bartosz Brachaczek 2011-07-27 01:21:37 UTC
The other thing is that that icon is probably somehow broken as Eye of GNOME renders it differently than Gwenview, but still the behavior of KNotify is inconsistent.
Comment 3 Christoph Feck 2011-07-27 07:06:06 UTC
Are you using Plasma notifications, the old-style notifications, or a third party notification tools, such as Ayatana notifications?
Comment 4 Bartosz Brachaczek 2011-07-27 09:17:44 UTC
Created attachment 62232 [details]
screenshot with bug

I'm using KDE default - I think this is Plasma but not really sure, so I'm attaching a screenshot.
Comment 5 Christoph Feck 2011-07-27 10:30:12 UTC
Yep, that's Plasma, reassigning.
Comment 6 Bartosz Brachaczek 2013-02-09 12:38:31 UTC
Created attachment 77050 [details]
screenshow with bug in 4.10

I checked whether this got fixed in the new notifications in 4.10. Now it looks like it is initially rendered small and then scaled up to a bigger size. It looks very pixelated. Attaching new screenshot.
Comment 7 Myriam Schweingruber 2013-04-12 07:58:21 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
Comment 8 Bartosz Brachaczek 2013-04-12 11:47:14 UTC
Myriam, I think you missed my last comment. I'm reopening this. It's still an issue in KDE SC 4.10.2.
Comment 9 Nate Graham 2018-06-08 19:37:25 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham