Bug 7379 - Gnome: all partition types are grey in diskdrake with Adwaita theme
Summary: Gnome: all partition types are grey in diskdrake with Adwaita theme
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: 3beta3
Keywords:
: 9551 (view as bug list)
Depends on:
Blocks: 9609
  Show dependency treegraph
 
Reported: 2012-09-06 20:16 CEST by Marja Van Waes
Modified: 2014-02-09 17:43 CET (History)
14 users (show)

See Also:
Source RPM: gnome-themes-standard
CVE:
Status comment:


Attachments
screenshot of the diskdrake screen (48.23 KB, image/png)
2012-09-06 20:16 CEST, Marja Van Waes
Details

Description Marja Van Waes 2012-09-06 20:16:04 CEST
Created attachment 2761 [details]
screenshot of the diskdrake screen

When starting diskdrake in MCC or from the command line, instead of showing different colours for different partition types, all partitions are grey.

@ Thierry

I didn't check what it is like in KDE
Marja Van Waes 2012-09-06 20:17:05 CEST

Whiteboard: (none) => 3alpha1

Comment 1 Manuel Hiebel 2012-09-06 22:16:07 CEST
no errors in the console ?
Comment 2 Marja Van Waes 2012-09-06 22:42:35 CEST
(In reply to comment #1)
> no errors in the console ?

not that I noticed, but I must say I didn't look because I took it to be a Gnome feature.

Same DVD, (with updates), same version of diskdrake gives the usual nice colours for the partitions in KDE.

I'll go log into Gnome again and look at konsole messages
Comment 3 Marja Van Waes 2012-09-06 22:55:22 CEST
nothing that explains the missing colours:

[root@localhost marja]# diskdrake
Fontconfig warning: "/etc/fonts/conf.d/65-google-droid-sans.conf", line 61: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-google-droid-sans.conf", line 96: Having multiple values in <test> isn't supported and may not works as expected
[root@localhost marja]# 

cc'ing Olav, because it really seems to be Gnome-specific

CC: (none) => olav

Comment 4 Olav Vitters 2012-09-07 09:26:27 CEST
What theme is used? It seems the Adwaita theme (=GNOME theme)? Default for Mageia is Oxygen.

I know that there have been loads of changes in gtk+ to support more theme related things. I'm guessing the theme is overriding the background colour set by diskdrake.
Comment 5 Marja Van Waes 2012-09-07 09:39:06 CEST
the theme that was installed by default in a Gnome-only install

Is there a way to see the theme that is set without booting into that partition?
Comment 6 Olav Vitters 2012-09-07 09:53:53 CEST
No worries, I'll test it myself (somewhere this weekend). I only like Adwaita and didn't want to switch themes. :)

For the fontconfig warning, please file a bug against google-droid-sans-fonts package. Messages on the command line give a bad impression.
Comment 7 Thierry Vignaud 2012-09-07 09:57:54 CEST
It looks like empire eerrr bug #3313 strike back

CC: (none) => hugo
Assignee: bugsquad => juan.baptiste
Source RPM: drakxtools-14-43-1.mga3.src.rpm => oxygen-gtk

Comment 8 Hugo Pereira Da Costa 2012-09-07 10:01:41 CEST
@Thierry, as mentioned in comments 4 and 5, and as well as visible in the screenshot, theme is adwaita, not oxygen-gtk. 

So, though I agree it is likely the same bug as #3313, it should not be assigned to oxygen-gtk, I'd say. Rather an upstream (adwaita) bug. 

Cheers,

Hugo
Comment 9 Thierry Vignaud 2012-09-07 10:23:22 CEST
Well that's definitively not a drakxtools bug :-)
Comment 10 Hugo Pereira Da Costa 2012-09-07 10:37:15 CEST
agreed :)
Comment 11 Marja Van Waes 2012-09-07 10:38:07 CEST
(In reply to comment #6)
> No worries, I'll test it myself (somewhere this weekend). I only like Adwaita
> and didn't want to switch themes. :)
> 
Thx :) (although I'm still curious in which config file the chosen theme is
set... I could mount that partition and have a look)

> For the fontconfig warning, please file a bug against google-droid-sans-fonts
> package. Messages on the command line give a bad impression.

Oops, I had never thought about that (the bad impression), but you're right.
Luckily Shlomi already filed bug 6919 for it :)
Comment 12 Dave Hodgins 2012-10-08 03:49:49 CEST
Still present in all Mageia 3 alpha 2 gnome live iso images.

CC: (none) => davidwhodgins
Whiteboard: 3alpha1 => 3alpha2

Comment 13 Marja Van Waes 2012-10-08 06:57:08 CEST
(In reply to comment #4)
> What theme is used? It seems the Adwaita theme (=GNOME theme)? Default for
> Mageia is Oxygen.
> 
> I know that there have been loads of changes in gtk+ to support more theme
> related things. I'm guessing the theme is overriding the background colour set
> by diskdrake.

(In reply to comment #6)
> No worries, I'll test it myself (somewhere this weekend). I only like Adwaita
> and didn't want to switch themes. :)

@ Olav

Did you get around to testing it?

Assigning to gnomes-theme-standard for now, because it is stated above this has nothing to do with oxygen-gtk.

If this is indeed adwaita and if oxygen-gtk should indeed be default in GNOME, then something went wrong with the defaulting

Assignee: juan.baptiste => bugsquad
Summary: pre-3alpha1 Gnome: all partition types are grey in diskdrake => pre-3alpha2 Gnome: all partition types are grey in diskdrake
Source RPM: oxygen-gtk => gnome-themes-standard

Comment 14 Marja Van Waes 2012-10-09 12:27:37 CEST
This morning I read on the qa-discuss ml that tmb doesn't see this bug any more in a newly built Live
https://ml.mageia.org/l/arc/qa-discuss/2012-10/msg00074.html

I just updated my system, but the bug is still there.

According to drakbug, the theme I'm using is Adwaita (I never chose another one than what it defaulted to when I installed Mageia + Gnome-only) I don't easily find how to change the theme in Gnome.

If anything changes after a reboot, I'll report

CC: (none) => tmb

Comment 15 Dick Gevers 2012-11-17 11:35:17 CET
Seen in 3alpha3

CC: (none) => dvgevers
Hardware: x86_64 => All
Summary: pre-3alpha2 Gnome: all partition types are grey in diskdrake => 3alpha3 Gnome: all partition types are grey in diskdrake
Whiteboard: 3alpha2 => 3alpha3

Manuel Hiebel 2012-11-17 14:04:06 CET

Priority: Normal => High

Manuel Hiebel 2012-12-09 00:45:29 CET

Priority: High => release_blocker
Whiteboard: 3alpha3 => 3beta1
Severity: minor => normal

Comment 16 Dave Hodgins 2012-12-18 02:28:52 CET
I think I've finally figured a workaround ...

cp -f /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc /usr/share/themes/Adwaita/gtk-2.0/gtkrc

I don't know what else is impacted by this change, but it fixes the colours
in diskdrake.
Comment 17 Thierry Vignaud 2012-12-18 03:35:50 CET
The question is which bits is causing the issue...
claire robinson 2012-12-19 13:13:41 CET

CC: (none) => eeeemail

Comment 18 claire robinson 2012-12-19 13:14:46 CET
bug 8429 is possibly a duplicate
Comment 19 Hugo Pereira Da Costa 2012-12-19 13:27:20 CET
@Claire

bug 8429 is likely not a duplicate I'm afraid.

The issue here concerns Adwaita gtk3 theme only and not oxygen-gtk3 (for which the problem does not occur).

For bug 8429, oxygen-gtk3 theme is used; partition's buttons are painted properly (as is here if using the same theme).
Likely (to me at least), the issue reported there is a graphics driver problem.

Cheers,

Hugo
Andreas Persson 2013-02-01 08:02:32 CET

CC: (none) => andreas56

Comment 20 Manuel Hiebel 2013-02-11 09:55:51 CET
tmb, olav, maybe we can choose oxygen (or any other theme) for gtk2 / gnome ?

(originally it should have be done for mga2)

Whiteboard: 3beta1 => 3beta2

Manuel Hiebel 2013-02-13 20:00:17 CET

Summary: 3alpha3 Gnome: all partition types are grey in diskdrake => Gnome: all partition types are grey in diskdrake

Manuel Hiebel 2013-02-14 17:46:17 CET

Summary: Gnome: all partition types are grey in diskdrake => Gnome: all partition types are grey in diskdrake (only with Adwaita theme)

Manuel Hiebel 2013-03-01 01:06:34 CET

Whiteboard: 3beta2 => 3beta3

Comment 21 Anne Nicolas 2013-03-13 15:05:15 CET
looking for somebody to give a try maybe in testing package

CC: (none) => ennael1

Comment 22 Nicolas Lécureuil 2013-03-13 22:31:51 CET
confirmed here

CC: (none) => nicolas.lecureuil

Comment 23 Dave Hodgins 2013-03-14 00:07:49 CET
What would you like tested?
Comment 24 Nicolas Lécureuil 2013-03-14 00:30:29 CET
i am working on it, i should provide a fix soonish
Comment 25 Nicolas Lécureuil 2013-03-14 00:50:44 CET
please test next gsettings-desktop-schemas rpm
Comment 26 Nicolas Lécureuil 2013-03-14 01:51:53 CET
rpm to test:  gsettings-desktop-schemas-3.6.1-5.mga3
Comment 27 Dave Hodgins 2013-03-14 03:40:24 CET
Package signatures are missing.

Testing from a live dvd under virtualbox.  After installing all available
updates including the schemas, diskdrake was still all gray.  After
restarting the x server, diskdrake is back in colour. Yeah!
Comment 28 Nicolas Lécureuil 2013-03-14 08:38:30 CET
yes you need to restart the session to see the changes. :).

For the signature this is a pb of yesterday as all my kde update is missing them too.
Comment 29 Manuel Hiebel 2013-03-14 16:25:36 CET
lowering priority then, if we have a workaround. Thanks

Priority: release_blocker => High
Summary: Gnome: all partition types are grey in diskdrake (only with Adwaita theme) => Gnome: all partition types are grey in diskdrake with Adwaita theme

Comment 30 Nicolas Lécureuil 2013-03-14 21:18:54 CET
btw can someone report this bug in gnome bugzilla ?
to see this Adwaita bug fixed.
Comment 31 Dick Gevers 2013-03-14 22:48:31 CET
How? Diskdrake is not GNOME software.
Comment 32 Nicolas Lécureuil 2013-03-14 22:52:09 CET
because this is not a diskdrake bug but seems a theme one and Adwaita is a gnome stuff.
Comment 33 Dick Gevers 2013-03-14 22:54:38 CET
Yes I know. But if I report it in GNOME bugzilla and say that diskdrake misbehaves, what do you think their answer will be?
Comment 34 Nicolas Lécureuil 2013-03-14 22:58:01 CET
maybe your sentense isn't the good one.

This is not diskdrake that misbehaves but why not "Adwaita misbehaves with diskdrake, and changing to an other theme works as expected"
Comment 35 Bogdan Gruescu 2013-03-14 23:42:23 CET
However, please give some thought whether you will release GNOME with Oxigen-gtk theme by default. Despite the involvement of Hugo Pereira Da Costa, Oxigen-gtk is still not working well under GNOME impacting on the user experience (the issues / bugs are known and already reported). Perhaps it's better to live with this inconvenience in diskdrake for now and add a note in the Errata instead.

CC: (none) => gruescubogdan

Comment 36 Dick Gevers 2013-03-15 00:03:45 CET
I know what you mean Nicolas, but all I'm saying is that this is evident outside a price of GNOME software, so how can you offically blame the GNOME software and make it stick? Only if you report a piece of GNOME software misbehaving.So find me any GNOME software with the same colour problem as diskdrake and I will post it in GNOME Bugzilla. Until that time you have no way that you can do it and expect any solution. Sorry.
Comment 37 Manuel Hiebel 2013-03-27 12:14:23 CET
*** Bug 9551 has been marked as a duplicate of this bug. ***

CC: (none) => info

Reinout van Schouwen 2013-04-07 19:56:36 CEST

Blocks: (none) => 9609

Comment 38 Guillaume 2014-02-06 11:24:55 CET
You all mean that diskdrake shows partitions in grey in the MCC or only during the installation process ? If it's only during the installation process, it will be possible for Mageia 5 to re-establish Adwaita theme by default just after installation (after first boot).

CC: (none) => guillaume.ber17

Comment 39 Hugo Pereira Da Costa 2014-02-06 12:23:09 CET
@Guillaume
as far as I know, adwaita is the theme with which the partitions are grey.
They are fine with oxygen-gtk, in mageia4
Comment 40 Hugo Pereira Da Costa 2014-02-06 12:29:29 CET
and in fact, not even sure it is true for Adwaita any more either 
Think this bug should be closed.
Comment 41 Hugo Pereira Da Costa 2014-02-06 13:49:12 CET
oxygen-gtk during install:
http://wstaw.org/m/2014/02/06/plasma-desktopY18311.png

oxygen-gtk in diskdrake:
http://wstaw.org/m/2014/02/06/plasma-desktopg18311.png

Adwaita in diskdrake:
http://wstaw.org/m/2014/02/06/plasma-desktops18311.png

All with mga4
so, closing ...

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 42 Guillaume 2014-02-09 17:43:27 CET
Ok, problem is solved for mga4. There's now no excuse not to use Gnome default theme in Mga5.

Note You need to log in before you can comment on or make changes to this bug.