* bug#31366: Missing icons in virt-manager user-interface
@ 2018-05-05 0:10 Vagrant Cascadian
2018-08-27 23:09 ` Vagrant Cascadian
0 siblings, 1 reply; 7+ messages in thread
From: Vagrant Cascadian @ 2018-05-05 0:10 UTC (permalink / raw)
To: 31366
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#31366: Missing icons in virt-manager user-interface
2018-05-05 0:10 bug#31366: Missing icons in virt-manager user-interface Vagrant Cascadian
@ 2018-08-27 23:09 ` Vagrant Cascadian
2018-08-29 21:05 ` Vagrant Cascadian
0 siblings, 1 reply; 7+ messages in thread
From: Vagrant Cascadian @ 2018-08-27 23:09 UTC (permalink / raw)
To: 31366
[-- Attachment #1.1: Type: text/plain, Size: 528 bytes --]
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.
live well,
vagrant
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: virt-manager-icons.patch --]
[-- Type: text/x-diff, Size: 1185 bytes --]
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.
Fixes <https://bugs.gnu.org/31366>.
* 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(-)
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#31366: Missing icons in virt-manager user-interface
2018-08-27 23:09 ` Vagrant Cascadian
@ 2018-08-29 21:05 ` Vagrant Cascadian
2018-08-29 22:24 ` Leo Famulari
0 siblings, 1 reply; 7+ messages in thread
From: Vagrant Cascadian @ 2018-08-29 21:05 UTC (permalink / raw)
To: 31366
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
On 2018-08-27, Vagrant Cascadian wrote:
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#31366: Missing icons in virt-manager user-interface
2018-08-29 21:05 ` Vagrant Cascadian
@ 2018-08-29 22:24 ` Leo Famulari
2018-08-30 1:01 ` Mike Gerwitz
0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2018-08-29 22:24 UTC (permalink / raw)
To: Vagrant Cascadian; +Cc: 31366
[-- Attachment #1: Type: text/plain, Size: 604 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#31366: Missing icons in virt-manager user-interface
2018-08-29 22:24 ` Leo Famulari
@ 2018-08-30 1:01 ` Mike Gerwitz
2018-08-31 13:11 ` Ricardo Wurmus
0 siblings, 1 reply; 7+ messages in thread
From: Mike Gerwitz @ 2018-08-30 1:01 UTC (permalink / raw)
To: Leo Famulari; +Cc: Vagrant Cascadian, 31366
[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]
On Wed, Aug 29, 2018 at 18:24:37 -0400, Leo Famulari wrote:
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#31366: Missing icons in virt-manager user-interface
2018-08-30 1:01 ` Mike Gerwitz
@ 2018-08-31 13:11 ` Ricardo Wurmus
2018-09-01 1:12 ` Mike Gerwitz
0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2018-08-31 13:11 UTC (permalink / raw)
To: Mike Gerwitz; +Cc: Vagrant Cascadian, 31366
Mike Gerwitz <mtg@gnu.org> writes:
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#31366: Missing icons in virt-manager user-interface
2018-08-31 13:11 ` Ricardo Wurmus
@ 2018-09-01 1:12 ` Mike Gerwitz
0 siblings, 0 replies; 7+ messages in thread
From: Mike Gerwitz @ 2018-09-01 1:12 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: Vagrant Cascadian, 31366
[-- Attachment #1: Type: text/plain, Size: 999 bytes --]
On Fri, Aug 31, 2018 at 15:11:49 +0200, Ricardo Wurmus wrote:
> 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.
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-09-01 1:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05 0:10 bug#31366: Missing icons in virt-manager user-interface Vagrant Cascadian
2018-08-27 23:09 ` Vagrant Cascadian
2018-08-29 21:05 ` Vagrant Cascadian
2018-08-29 22:24 ` Leo Famulari
2018-08-30 1:01 ` Mike Gerwitz
2018-08-31 13:11 ` Ricardo Wurmus
2018-09-01 1:12 ` Mike Gerwitz
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).