Bug 4544 - evolution-3.3.5-2.mga2 display problems under KDE (take two)
Summary: evolution-3.3.5-2.mga2 display problems under KDE (take two)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2012-02-16 15:34 CET by Robert Fox
Modified: 2013-01-31 10:00 CET (History)
3 users (show)

See Also:
Source RPM: evolution
CVE:
Status comment:


Attachments
Blackout areas under Evolution under KDE (112.45 KB, image/png)
2012-02-16 15:36 CET, Robert Fox
Details
pavucontrol with GTK2 theme (18.89 KB, image/png)
2012-02-26 09:35 CET, Jani Välimaa
Details
pavucontrol display problems under KDE (similar to Evolution!) (30.54 KB, image/png)
2012-02-29 10:20 CET, Robert Fox
Details
Can't select text in Evolution or click on URL (61.42 KB, image/png)
2012-03-07 11:31 CET, Robert Fox
Details
/etc/gtk-2.0/gtkrc (137 bytes, text/plain)
2012-05-08 23:38 CEST, Robert Fox
Details
/etc/gtk-3.0/settings.ini (165 bytes, text/plain)
2012-05-08 23:39 CEST, Robert Fox
Details
/home/rfox/.gtkrc-2.0-kde (328 bytes, text/plain)
2012-05-08 23:40 CEST, Robert Fox
Details
/home/rfox/.config/gtk-3.0/settings.ini (40 bytes, text/plain)
2012-05-08 23:41 CEST, Robert Fox
Details

Description Robert Fox 2012-02-16 15:34:52 CET
Description of problem:
Now that the bug 2627 is resolved (oxygen-gtk3 issues) - there is a new problem with Evolution under KDE with displaying properly - there are black areas and the message headers can't be seen.

I have tried many different settings under KDE Application Appearance which have no effect (GTK styles and effects)

See attachment . . 


Version-Release number of selected component (if applicable):
evolution-3.3.5-2.mga2

How reproducible:
everytime

Steps to Reproduce:
1. Open Evolution and use it under KDE
2.
3.
Comment 1 Robert Fox 2012-02-16 15:36:03 CET
Created attachment 1571 [details]
Blackout areas under Evolution under KDE

Blackout areas under Evolution under KDE
Comment 2 Manuel Hiebel 2012-02-16 21:30:13 CET
what is your gtk3 theme ?

Source RPM: (none) => evolution

Comment 3 Robert Fox 2012-02-17 09:42:53 CET
I believe oxygen-gtk - chosen from KDE Settings / Application Appearance / GTK Styles & Fonts / GTK Styles

I have tried a few others without improvement (and tried "Use my KDE style in GTK apps" as well
Comment 4 Hugo Pereira Da Costa 2012-02-20 23:13:35 CET
The style on the screeshot is definitly not oxygen-gtk.
Looks like Raleigh to me.
(squares all over)

The fact that the bug appears with multiple styles would point towards an evolution bug

CC: (none) => hugo

Comment 5 Robert Fox 2012-02-21 10:06:39 CET
Seems that Evolution is ignoring the styles changes in KDE - but it was working previously (before the oxygen-gtk3 issues) and with the latest Evolution (3.3.90) the problem persists,  It looks fine under Gnome (both 3 and classic) - so it definitely has something to do with the interaction of Evolution and KDE.
Comment 6 Manuel Hiebel 2012-02-21 14:27:07 CET
Maybe you can open a bug upstream at gnome ? (but I don't know about what :/)
Comment 7 Olav Vitters 2012-02-21 14:48:04 CET
I don't think Evolution developers are going to care much. You'll have to do the investigation for them.. though I really doubt Evolution is in error.

CC: (none) => olav

Comment 8 Robert Fox 2012-02-21 14:54:47 CET
Like I said - Evolution works fine under Gnome - just not under KDE - so it has something to do with KDE & Evo styles
Comment 9 Jani Välimaa 2012-02-26 09:35:46 CET
Created attachment 1641 [details]
pavucontrol with GTK2 theme

Dunno if this is relevant, but I'm seeing similar problems with pavucontrol in XFCE if I'm using theme which supports only GTK2 (adwaita-gtk2-theme).

If I install GTK3 theme (like adwaita-gtk3-theme) pavucontrol looks OK.
Comment 10 Olav Vitters 2012-02-26 12:49:34 CET
Jani: I think that is a different bug.
Comment 11 Robert Fox 2012-02-29 10:19:47 CET
UPDATE - This problem doesn't only appear in Evolution - seems like pavucontrol has the same issue (see attachment) - maybe that may be a hint?
Comment 12 Robert Fox 2012-02-29 10:20:34 CET
Created attachment 1657 [details]
pavucontrol display problems under KDE (similar to Evolution!)
Comment 13 Hugo Pereira Da Costa 2012-02-29 10:37:54 CET
Can someone provide version of pavucontrol ?
Comment 14 Robert Fox 2012-02-29 10:58:45 CET
pavucontrol-1.0-2.mga2
Comment 15 Robert Fox 2012-03-07 11:30:14 CET
Problem has worsened since latest updates to Evolution and KDE in Cauldron.
(see last attachment)  I can not highlight text properly or click on an embeded URL - the highlighting of text is not only visually black but I can't select text precisely . .
Comment 16 Robert Fox 2012-03-07 11:31:13 CET
Created attachment 1693 [details]
Can't select text in Evolution or click on URL

Clicking on URL only highlights and doesn't launch browser
Comment 17 Robert Fox 2012-03-20 12:38:54 CET
This display and selection problem still exists in Cauldron - it would be a shame to go to RC without trying to fix it . .
Comment 18 Robert Fox 2012-03-28 18:53:39 CEST
This bug still exists with latest volution on Cauldron (evolution-3.4.0.1-1.mga2
) - Both the display issue and the selection issue.
Comment 19 Robert Fox 2012-04-12 12:03:14 CEST
This is not a show stopper bug but very annoying anyway - not sure if this will be fixed by release . . .
Comment 20 Hugo Pereira Da Costa 2012-04-12 12:16:25 CEST
... for the record, still working on it (and other improvements) for oxygen-gtk3-1.0.3 (due in a couple of days)
Comment 21 Hugo Pereira Da Costa 2012-04-12 15:52:30 CEST
I cannot reproduce any of the bugs above (selection color in evolution, issues with pavucontrol) using oxygen-gtk3 as a widget theme.

I can reproduce the evolution issues when using the "raleigh" theme (the default gtk3 theme), only. I suspect something wrong with the colors settings of the default gtk3 theme - raleigh. In any case this is unrelated to oxygen (and in fact, fixed with oxygen, as far as I can tell).

I will not post a screenshot of evolution cause there is way too much personal information there. pavucontrol however looks like:

http://wstaw.org/m/2012/04/12/plasma-desktopXN2317.png

There are other issues with oxygen + evolution (like the "assistant" looking ugly, the background of the main views not being white, but window grey), and i'll try to work on them.

@Robert: I'd suggest to switch to oxygen-gtk3
one hacky way to do so is edit 

$HOME/.config/gtk-3.0/settings.ini 

so that it contains:

  [Settings]
  gtk-theme-name = oxygen-gtk3

Cheers,

Hugo
Comment 22 Hugo Pereira Da Costa 2012-04-12 16:01:16 CEST
Sorry, meant:

  [Settings]
  gtk-theme-name = oxygen-gtk

Please tell me if this help fixing at least "some" of your issues.
Comment 23 Robert Fox 2012-04-12 16:33:13 CEST
Thanks Hugo - I tried your suggestion without success. Number one, there was no .config/gtk-3.0 directory to start with (I created one) but the new file didn't change a thing.  I also noticed that Evolution seems to ignore whatever I choose in the GTK Styles and Fonts settings.  Pauvcontrol does work now (not black) but also seems not to change with the style changes.  Strange.
Comment 24 Luc Menut 2012-05-02 00:19:50 CEST
I agree with Hugo; looking at the screenshots in comment 1, 12 and 16, you don't seem to use oxygen-gtk.

For your user account, could you give the results of the following commands:
  for i in `echo $GTK2_RC_FILES |sed -e "s/:/\n/g" -`; do LC_ALL=C ls $i; done

  LC_ALL=C  ls /etc/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini


Could you try to create a new account and look if evolution and pavucontrol use the same theme? That will say us if the problem is in your user's config, or at system level.

CC: (none) => lmenut

Comment 25 Robert Fox 2012-05-02 09:42:37 CEST
[rfox@ThinkFox ~]$ for i in `echo $GTK2_RC_FILES |sed -e "s/:/\n/g" -`; do LC_ALL=C ls $i; done
/etc/gtk-2.0/gtkrc
ls: cannot access /home/rfox/.gtkrc-2.0: No such file or directory
/home/rfox/.gtkrc-2.0-kde
/home/rfox/.kde4/share/config/gtkrc-2.0

[rfox@ThinkFox ~]$ LC_ALL=C  ls /etc/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini
/etc/gtk-3.0/settings.ini  /home/rfox/.config/gtk-3.0/settings.ini

This problem is on more than one machine (3 to be exact).  I have previously tried a new account - but will try again this evening.

No matter which GTK-Style i choose, the problem persists.
Comment 26 Robert Fox 2012-05-02 11:16:40 CEST
I just tried with a brand NEW user account - started Evolution and created an IMAP connection - and collected some e-mails - the problem is still there.  The default settings for GTK apps seems to be not right . . .
Comment 27 Luc Menut 2012-05-08 19:32:33 CEST
Sorry to reply so late.

OK, so the problem seems to be at system level.

Could you attach the following files:
 /etc/gtk-2.0/gtkrc
 /etc/gtk-3.0/settings.ini
 /home/rfox/.gtkrc-2.0-kde
 /home/rfox/.config/gtk-3.0/settings.ini

Could you give the results of the following commands:
 rpm -qa |grep oxygen-gtk |sort

 ls -l /usr/share/themes/oxygen-gtk
Comment 28 Robert Fox 2012-05-08 23:38:40 CEST
Created attachment 2219 [details]
/etc/gtk-2.0/gtkrc
Comment 29 Robert Fox 2012-05-08 23:39:24 CEST
Created attachment 2220 [details]
/etc/gtk-3.0/settings.ini
Comment 30 Robert Fox 2012-05-08 23:40:26 CEST
Created attachment 2221 [details]
/home/rfox/.gtkrc-2.0-kde
Comment 31 Robert Fox 2012-05-08 23:41:25 CEST
Created attachment 2222 [details]
/home/rfox/.config/gtk-3.0/settings.ini
Comment 32 Robert Fox 2012-05-08 23:42:24 CEST
[rfox@ThinkFox ~]$ rpm -qa |grep oxygen-gtk |sort
lib64oxygen-gtk-1.2.3-2.mga2
lib64oxygen-gtk3-1.0.3-1.mga2
oxygen-gtk-1.2.3-2.mga2

[rfox@ThinkFox ~]$ ls -l /usr/share/themes/oxygen-gtk
total 0
drwxr-xr-x 3 root root 216 May  1 13:06 gtk-2.0/
[rfox@ThinkFox ~]$

Hope this helps!
Luc Menut 2012-05-08 23:50:12 CEST

Attachment 2219 mime type: application/octet-stream => text/plain

Luc Menut 2012-05-08 23:50:51 CEST

Attachment 2220 mime type: application/x-wine-extension-ini => text/plain

Luc Menut 2012-05-08 23:51:05 CEST

Attachment 2221 mime type: application/octet-stream => text/plain

Luc Menut 2012-05-08 23:51:18 CEST

Attachment 2222 mime type: application/x-wine-extension-ini => text/plain

Comment 33 Hugo Pereira Da Costa 2012-05-08 23:55:27 CEST
content of /home/rfox/.config/gtk-3.0/settings.ini
should be
  gtk-theme-name = oxygen-gtk

whereas it is 
  gtk-theme-name = oxygen-gtk3

since oxygen-gtk3 is not a valid theme, evolution falls back on Raleigh
which indeed has the issues you are seing

Please change it and report back if it fixes things.

Hugo
Comment 34 Hugo Pereira Da Costa 2012-05-08 23:57:53 CEST
Also, you need package oxygen-gtk3-1.0.3-1.mga2

and /usr/share/themes/oxygen-gtk
should contain both gtk-2.0 and gtk-3.0
(this probably comes by installing the above package)

with all this fixed, evolution should start looking better. (hopefully)
Comment 35 Robert Fox 2012-05-09 00:10:30 CEST
Installing oxygen-gtk3-1.0.3-1.mga2 did not change anything - but after changing /home/rfox/.config/gtk-3.0/settings.ini to be gtk-theme-name = oxygen-gtk
 - it worked!!!  Oly question now is - why does this happen when I create a new user starting with a new home area?? Why doesn't it default to oxygen-gtk??
Comment 36 Hugo Pereira Da Costa 2012-05-09 00:29:14 CEST
most likely
new user have no $HOME/.config/gtk-3.0/settings.ini
gtk3 would fallback to /etc/gtk-3.0/settings.ini
(which _is_ correct),
but since oxygen-gtk3 theme was not installed (missing rpm), this was still not working (for a different reason).

Side note: you should be able to remove your /home/rfox/.config/gtk-3.0/settings.ini

(just rename it to something else), 
and things should still work (provided that the rpm is still there)

There is no issue if the "local" (as in $HOME) file is not there.
there is an issue if it is there and has incorrect content (as was your case).

As far as I can tell,
Case close.
Comment 37 Luc Menut 2012-05-09 00:41:29 CEST
(In reply to comment #35)
> Installing oxygen-gtk3-1.0.3-1.mga2 did not change anything - but after
> changing /home/rfox/.config/gtk-3.0/settings.ini to be gtk-theme-name =
> oxygen-gtk
>  - it worked!!!  Oly question now is - why does this happen when I create a new
> user starting with a new home area?? Why doesn't it default to oxygen-gtk??

With oxygen-gtk3 installed, it should works by default for new users.

As mageia uses oxygen-gtk by default, you don't need to have the following
files:
 /home/rfox/.gtkrc-2.0-kde
 /home/rfox/.config/gtk-3.0/settings.ini
 /home/rfox/.kde4/env/gtk-qt-engine.rc.sh (you probably have this one too,
because it is installed by gtk-qt-kcm)
Before removing them, you can try to rename ~/.gtkrc-2.0-kde and ~/.config/gtk-3.0/settings.ini.
It should still work. In this case, I suggest that you remove this 3 files.

I suggest that you uninstall gtk-qt-kcm, because it handles only gtk2
configuration (not gtk3).

If you want to tweak the gtk config, I suggest that you install
kde-gtk-config-2.0-2.mga2 in replacement of gtk-qt-kcm. kde-gtk-config handles
both gtk2 and gtk3 configuration.
https://projects.kde.org/projects/playground/base/kde-gtk-config
Comment 38 Luc Menut 2012-05-09 00:58:39 CEST
in complement to my previous comment 37, gtk-qt-kcm is the package that install the tool "GTK Styles and Fonts" in KDE systemsettings / Application Appearance/ GTK Styles and Fonts.
Comment 39 Marja Van Waes 2012-05-26 13:05:04 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 40 Robert Fox 2012-05-27 13:06:05 CEST
Seems fixed in Mageia 2 release

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

Comment 41 Robert Fox 2013-01-31 10:00:07 CET
Just got fixed in Cauldron with latest Oxygen-GTK3 update!!  Whoohoo!

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