Missing icons in virt-manager user-interface

  • Done
  • quality assurance status badge
Details
4 participants
  • Leo Famulari
  • Mike Gerwitz
  • Ricardo Wurmus
  • Vagrant Cascadian
Owner
unassigned
Submitted by
Vagrant Cascadian
Severity
normal

Debbugs page

Vagrant Cascadian wrote 7 years ago
(address . bug-guix@gnu.org)
87fu37otbj.fsf@aikidev.net
Many of the icons appear to be missing from the user interface, such as
the button for "Power on", "Pause the virtual machine", "Shut down the
virtual machine" and "Show virtual hardware details".

Also, selecting the "Show virtual hardware details" nearly all the icons
are missing (e.g. "Overview", "Performance",
"CPUs", "Memory", etc.).


live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlrs9pAACgkQt4uC1IFL
kbYpdQ/+KX4uNnxqChEyemwgS3sOFDqhuWBE424IvQuR17JXmIrVf0ERYPmEYexQ
KWuMz0QOuNhWFlcJWfl1tMRAkeO2SjmS19QhlqOFyoiXoYnj+adKbUet9icD5lho
BsuLR5h9IhG7q06YtfEnUd4a40F/pj+O6cQt6BorsyfcB2KDNdh8k4+Hp/3GxxFA
P5g0b75cDdJaNhnX3DDA0vUwYkWP0zwak38JSDbIcBl6CNy0Ia0eHFRvDWA/M2Sn
e0NecfvJTUBWs/ofRBpt3hiZ28NhDwF99TLo+WYT92uakHtB9lCDRMHIy0zrZD8t
Z0DP9kjXyaE7gpAU7hI5T6dn2QCL2BVmywQr/lvlUJqGt8Ti5B4gZl0L/4L5cBoW
NG9KGue21jecpDkZRm0HQrd4YCMcPmEuvK3miECrA4AHj4mo+hg7E4NCXw1PbRJW
SvEr7Jf77u7mcPW1/HwvqOYFtm2qKcP/K+5Um4I2w3M9OJSPy1XX8iBKoH8/Be6E
b435j5kemN/Fws7aghT6t32qlO7pVgNSgclwKBP7snLynSgDb05Zxr0QBOEx5oSi
BqSlr7goBbcYEIQWys/wtXmM2zt/GxjzwMQdNrfqnMXSVa2wmu9ZFuy1IBAKkr/g
w1tdTYcZ/2XoUkN/ijWmvhRDbsbuDb8vDVYxnFdjKxh4R7PVri4=
=9LtX
-----END PGP SIGNATURE-----

Vagrant Cascadian wrote 7 years ago
(address . 31366@debbugs.gnu.org)
8736uzo19m.fsf@aikidev.net
On 2018-05-04, Vagrant Cascadian wrote:
Toggle quote (8 lines)
> Many of the icons appear to be missing from the user interface, such as
> the button for "Power on", "Pause the virtual machine", "Shut down the
> virtual machine" and "Show virtual hardware details".
>
> Also, selecting the "Show virtual hardware details" nearly all the icons
> are missing (e.g. "Overview", "Performance",
> "CPUs", "Memory", etc.).

Attached patch that fixes the issue by adding adwaita-icon-theme and
hicolor-icon-theme to propagated-inputs.

live well,
vagrant
From 82f11703d0c1c45428fd4667b02e23eb714492de Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Mon, 27 Aug 2018 22:49:30 +0000
Subject: [PATCH] gnu: virt-manager: Add missing icon-theme dependencies.


* gnu/packages/virtualization.scm (virt-manager) [propagated-inputs]: Add
adwaita-icon-theme and hicolor-icon-theme.
---
gnu/packages/virtualization.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 7427465f5..e6948b872 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -634,7 +634,9 @@ virtualization library.")
("spice-gtk" ,spice-gtk)))
;; virt-manager searches for qemu-img or kvm-img in the PATH.
(propagated-inputs
- `(("qemu" ,qemu)))
+ `(("adwaita-icon-theme" ,adwaita-icon-theme)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("qemu" ,qemu)))
(native-inputs
`(("glib" ,glib "bin") ; glib-compile-schemas.
("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
--
2.18.0
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCW4SElQAKCRDcUY/If5cW
qsJNAQCRQ9mCXU5QxU7tzStHgwVLEBwy4PwRIRNpiQhCgf+5KAD/S+Ks83r9q1/X
IqObpR5POzrLqy5hKtY52jafSySeLQQ=
=1Hi7
-----END PGP SIGNATURE-----

Vagrant Cascadian wrote 7 years ago
(address . control@debbugs.gnu.org)
87in3tlzr3.fsf@aikidev.net
tags 31366 patch
thanks
Vagrant Cascadian wrote 7 years ago
(address . 31366@debbugs.gnu.org)
87ftywnas6.fsf@aikidev.net
On 2018-08-27, Vagrant Cascadian wrote:
Toggle quote (12 lines)
> On 2018-05-04, Vagrant Cascadian wrote:
>> Many of the icons appear to be missing from the user interface, such as
>> the button for "Power on", "Pause the virtual machine", "Shut down the
>> virtual machine" and "Show virtual hardware details".
>>
>> Also, selecting the "Show virtual hardware details" nearly all the icons
>> are missing (e.g. "Overview", "Performance",
>> "CPUs", "Memory", etc.).
>
> Attached patch that fixes the issue by adding adwaita-icon-theme and
> hicolor-icon-theme to propagated-inputs.

Apparently, merely installing adwaita-icon-theme and hicolor-icon-theme
into the user's profile also works... not sure if this means it should
be added to propagated-inputs or users are just expected to install
relevent icon-theme packages themselves... ?


live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCW4cKqQAKCRDcUY/If5cW
qidrAP9MncqziqzpNlN75ST6fZnUPlQqHB8SOqDvdl6nw6aA4QEA7wtW47hHDigz
ujWmR9GqOtGabCIfkZHXT7vL0lmyGgM=
=lelc
-----END PGP SIGNATURE-----

Leo Famulari wrote 7 years ago
Re: bug#31366: Missing icons in virt-manager user-interface
(name . Vagrant Cascadian)(address . vagrant@debian.org)(address . 31366@debbugs.gnu.org)
20180829222437.GA8741@jasmine.lan
On Wed, Aug 29, 2018 at 02:05:45PM -0700, Vagrant Cascadian wrote:
Toggle quote (5 lines)
> Apparently, merely installing adwaita-icon-theme and hicolor-icon-theme
> into the user's profile also works... not sure if this means it should
> be added to propagated-inputs or users are just expected to install
> relevent icon-theme packages themselves... ?

Yeah, so far it's preferred that users install the icons themselves. I
*thought* this was in the manual but it's not :)

One advantage of asking users to install the icon themes is that it
makes it easier to update the icon themes without having to rebuild many
packages.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAluHHSIACgkQJkb6MLrK
fwjdHQ/+IdS4qJTyzZCdgoatdkeBcEvI4lOxsy7w5nMeZyCyukEd+6cUswIP/Hr+
YMtHcCh6ZhClnrBs6V+TJ+xq5ZuNZJPRbH4UBXi2m3sWuurmfHqEAQbr9WLhzAnb
dF/F6MXU18O1Ro4FmNKQpP3WcYKY1049K+nDbhywSUIawJ38KWbQKAEoSktnBY1E
ycR7J8rkNyLk7yNFzMbCjGm1ETJwvFlE1EQ+Vu5wWcimgQ1OpfMNWHMuantIe1N/
6yCcM51rDu0BSbTdqmOJqUmDeg2FG69OOVfO4AeVCq18tM6+GtTk3NsD1CNZJElZ
6SGeKuu7OGjcobp56sqWfLAVbcMs3p4mJs5Jam9jvLvF+N0BQLdShU+LXOnHwqQL
HRiDGWWJoDo46lwXL8aXynpPIm6WEzqtlJTLoCzNQ+4f7Cpf8UVker9po4l1i4xx
FebKaqrIZfSuY22/R1gr1DxR/DdRg+s4u1q90PldlckgyGymwICl9z9F1qoqL2Ot
o0IcTL8GZjufImU3mNerdl0VP7PIJMiVcKS7XVhuLOh5nE1WjZ8CnbD/zAS/S3l2
d4I4Mh0KzAIh83ia+PRDAL+GXNzLcfuuALsVmOk8ELQmEIvZ4Wep/JGR3YjdoXlM
cjhpM1Ewm9cvoGbmMYEnSMPWcZMRI4+NoGbZJAe7p3RDbuHY7VQ=
=OiYq
-----END PGP SIGNATURE-----


Mike Gerwitz wrote 7 years ago
(name . Leo Famulari)(address . leo@famulari.name)
871sagoeg4.fsf@gnu.org
On Wed, Aug 29, 2018 at 18:24:37 -0400, Leo Famulari wrote:
Toggle quote (13 lines)
> On Wed, Aug 29, 2018 at 02:05:45PM -0700, Vagrant Cascadian wrote:
>> Apparently, merely installing adwaita-icon-theme and hicolor-icon-theme
>> into the user's profile also works... not sure if this means it should
>> be added to propagated-inputs or users are just expected to install
>> relevent icon-theme packages themselves... ?
>
> Yeah, so far it's preferred that users install the icons themselves. I
> *thought* this was in the manual but it's not :)
>
> One advantage of asking users to install the icon themes is that it
> makes it easier to update the icon themes without having to rebuild many
> packages.

That explains why I had this issue in the past and it has since resolved
itself.

I'm sorry if this type of thing has been discussed before (I don't read
every message on the Guix lists), but what about some way of indicating
recommended packages as part of the package definition (a sort of soft
dependency). Guix could then output to the user after installation that
certain package(s) ought to be installed for things to work optimally.

Guix could then be helpful to the user without expecting the user to
have read all relevant sections of the manual (I have only read portions
so far). `guix package` maybe could also have a flag to automatically
install recommended packages into the user's profile.

There are strong design considerations here; this is an
oversimplification of the problem.

--
Mike Gerwitz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJbh0HcAAoJEIyRe39dxRuiMC8QAIqP9Q6KCxzLI3Z89oau9HXX
NwpB3eUdOLhRxBMp2sp1ED6/2wtZqovnysQR0LZIuVOvmysMlrCvuQrnOFOd5ZTj
AMNCrDmL7ET3460vrLJTxsN7Bgv7CkhxFYWihkYMYiBxd5wJLf+Gr5gDXhcY+BuR
r4SLGE6d9ByAiE1FsOTf9RqNmHyKgm5DviVQoagwexaKCTUCe3pxKvqFwIhCHdIV
KSaRjFKtJy8yoREBLgkEDN1XUP0+EvDFkHragwNCof9gMrfL4OKWwpZY4wDhavjG
K9vXdJ3iTzUwbnM7lanfdrm0IzTBAaRzwW6Xx7oxH2DZeRW9SAWWdIn6ZqhxaQo+
oULnvB8W/1MR98DwKMjnxkcqoLpAP+erNEn9T4xxqpEwsxT5bdOnK2YK6kC9l7e3
gWWtbxHcsCJcOhBn4ef5aSXMYYbkqJZhzg0BxVggUQbslAJK7raqnhdJMJlQISIn
9cak2kYUhB4s9WUVHjRoWY+r/gyiQXTe2+j5htp1dvwbMAAwoqMlAyFz+XjB5++/
8hl6R1zQuN+UklbJrb0NqGe/p09ArAWUXduP5hJyBXixnQcECBZ64aWqMNFLEhTa
NewFc3s26hnwWJAa43iIV8IChZ6tkr8sddFBWeGNoBX0YEjTpYMnTHl1t77vzF3f
ZZuHGq2bM7PZJcAih14I
=zHVZ
-----END PGP SIGNATURE-----

Ricardo Wurmus wrote 7 years ago
(name . Mike Gerwitz)(address . mtg@gnu.org)
87ftyu1y0a.fsf@elephly.net
Mike Gerwitz <mtg@gnu.org> writes:

Toggle quote (11 lines)
> I'm sorry if this type of thing has been discussed before (I don't read
> every message on the Guix lists), but what about some way of indicating
> recommended packages as part of the package definition (a sort of soft
> dependency). Guix could then output to the user after installation that
> certain package(s) ought to be installed for things to work optimally.
>
> Guix could then be helpful to the user without expecting the user to
> have read all relevant sections of the manual (I have only read portions
> so far). `guix package` maybe could also have a flag to automatically
> install recommended packages into the user's profile.

One way of achieving this is to record recommended packages in the
package’s properties list. (We use the properties list very rarely
because it easily becomes a grab bag of miscellaneous things that don’t
fit anywhere else.)

Much like we pin search path recommendations to certain “root” packages
we could do something similar for recommended packages. “glibc”, for
example, could recommend “glibc-locales”; having a package installed
that links with glibc (i.e. all of them) would result in a
recommendation to also install the “glibc-locales” package. For “gtk+”
the recommendation could be to also install one of the icon themes.
Installing any package depending on “gtk+” would then lead to a
recommendation to install one of these packages.

Unfortunately, some of these recommendations will only be correct when
using Guix on top of a foreign distribution, because we handle common
scenarios on the Guix-based GNU system directly.

--
Ricardo
Mike Gerwitz wrote 7 years ago
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87zhx29g2c.fsf@gnu.org
On Fri, Aug 31, 2018 at 15:11:49 +0200, Ricardo Wurmus wrote:
Toggle quote (9 lines)
> Much like we pin search path recommendations to certain “root” packages
> we could do something similar for recommended packages. “glibc”, for
> example, could recommend “glibc-locales”; having a package installed
> that links with glibc (i.e. all of them) would result in a
> recommendation to also install the “glibc-locales” package. For “gtk+”
> the recommendation could be to also install one of the icon themes.
> Installing any package depending on “gtk+” would then lead to a
> recommendation to install one of these packages.

That seems like desirable behavior to me.

Toggle quote (4 lines)
> Unfortunately, some of these recommendations will only be correct when
> using Guix on top of a foreign distribution, because we handle common
> scenarios on the Guix-based GNU system directly.

I can't comment on that, but in this virt-manager case, I did experience
the issue on GuixSD.

--
Mike Gerwitz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJbiedrAAoJEIyRe39dxRui3K0P/RDf6vzBFfggb0Y6GL2BPdg2
173ysPw+tDN7uNROb5eUMw9+TFfsoONjq6fr5PpF6/vZqrVs8pXFohNovTebwi+X
gCI1ERCNS3OPujgzUUQNlkMP5hldNhDIDMPb9sAOv+xLUEhPGSCuI+v6OjSElJsE
/AtSXxbqaeqrOW/9tRQE3dQxSFtfqAbEYjmwz7FrAetmTZKmhb0JHJJYQCAmFvCs
RfaJZKWiXZ9ZTTKwxWq1QJdaW2kou8PJ4cyBRaa5hdh0EdoaUiZkQo0gDhoLKAwm
IYcxe18/yRfz9u0pCXIImWc9MIbh3769z+hyNQS1BASfok1bFmTEyhbZnvvb/EtG
iH9CnodwcpE+6DgdAmLEbiLTd9+oSmNu8Xn/2FyDCecctZnph47Pd3w1NaZxEZdZ
WU+lZ8qny5+iD9vM6tLpgDc9u4FNYTYeEbiCeTKGblE1uJ9HDuVXNUidLMmmAAjX
qTywiMmPos2sXJ8vgk3/G8zPLmIFnSKJpJ1kstnEG+rwLmesuURHHyEKUafNtnUD
QYPm9K+nb6J5TqaJ3oM6VcYzJ/icths+sb8Yh/tXgPqYCp6tLunFYgmXTk/0M7d7
knC4rnBH6ZKppJt4pCUEOfkjll55zD49UjH6+aUwXP2T5y9nvkCNpjWuxlh1aqBO
WZBD6i1RkBZKdn/aYWN/
=gwqb
-----END PGP SIGNATURE-----

Leo Famulari wrote 6 years ago
(no subject)
(address . control@debbugs.gnu.org)
20190226031946.GA7124@jasmine.lan
close 31366
?
Your comment

This issue is archived.

To comment on this conversation send an email to 31366@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 31366
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help