Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647530 - x11-misc/cbatticon: gtk3 symbolic icon not displayed
Summary: x11-misc/cbatticon: gtk3 symbolic icon not displayed
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-13 15:46 UTC by Samuel Bauer
Modified: 2021-06-21 14:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (cbatticon-info,7.79 KB, text/plain)
2018-02-13 20:23 UTC, Samuel Bauer
Details
build.log (build.log,4.54 KB, text/plain)
2018-02-13 20:24 UTC, Samuel Bauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bauer 2018-02-13 15:46:35 UTC
cbatticon defaults to gtk3

for both versions in the current tree:
    cbatticon -i symbolic

does not render any icon, it does it very nice with other themes, or when using gtk2
Comment 1 Jonas Stein gentoo-dev 2018-02-13 16:42:30 UTC
Thank you for the report. Please recompile and *attach* the logfiles,
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
and reopen this ticket (Status:unconfirmed).

Without looking in detail, was there a warning that these lines are missing?

pkg_preinst() {
    gnome2_icon_savelist
}

pkg_postinst() {
    gnome2_icon_cache_update
    xdg_mimeinfo_database_update
    xdg_desktop_database_update
}

pkg_postrm() {
    gnome2_icon_cache_update
    xdg_mimeinfo_database_update
    xdg_desktop_database_update
}




btw: inherit eutils is not needed here
Comment 2 Samuel Bauer 2018-02-13 20:23:57 UTC
Created attachment 519386 [details]
emerge --info

Symbolic icons are already registered by x11-themes/gnome-icon-theme-symbolic, so there are no warning about icon cache.

strace cbatticon -i symbolic 2>&1 | grep battery-
open("/usr/share/icons/gnome/scalable/status/battery-full-charged-symbolic.svg", O_RDONLY) = 10

qfile /usr/share/icons/gnome/scalable/status/battery-full-charged-symbolic.svg
x11-themes/gnome-icon-theme-symbolic (/usr/share/icons/gnome/scalable/status/battery-full-charged-symbolic.svg)

The default theme points to png files and they are rendered. svg one are not rendered when cbatticon is compiled with gtk3.
Comment 3 Samuel Bauer 2018-02-13 20:24:33 UTC
Created attachment 519388 [details]
build.log
Comment 4 Marek Szuba archtester gentoo-dev 2020-11-29 23:44:10 UTC
Is this still a problem with 1.6.10?
Comment 5 Marek Szuba archtester gentoo-dev 2021-06-21 14:19:53 UTC
No response + works for me, closing.