Bug 292278 - Evolution 3.2.2 will not show list of mails
Summary: Evolution 3.2.2 will not show list of mails
Status: CLOSED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: gtk2-engine (show other bugs)
Version: 4.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 16:57 UTC by Sindre Wetjen
Modified: 2012-05-15 04:08 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sindre Wetjen 2012-01-23 16:57:33 UTC
Version:           4.0 (using KDE 4.7.4) 
OS:                Linux

When I enable the oxygen-gtk3 theme, Evolution will no longer show the mail list (or INBOX).

Illustration: http://tjenen.de/rnd/bug-evolution.png

Terminal spams this output:
Oxygen::WidgetLookup::find - context: 0x3a3eaa7860 type: MessageList - no match found

Reproducible: Always

Steps to Reproduce:
Install oxygen-gtk3 1.0.0
Set gtk3 to use it
Start evolution

Actual Results:  
I get an evolution window which looks like the one in the picture above

Expected Results:  
It should have shown me a list of the emails in the INBOX

This happens with all the colour schemes and icon sets I have tried.
Comment 1 Ruslan Kabatsayev 2012-01-23 17:28:36 UTC
What GTK3 version?
What if you set ENABLE_INNER_SHADOWS_HACK to 0 via cmake and rebuild?
Comment 2 Sindre Wetjen 2012-01-23 19:17:58 UTC
The gtk version is 3.2.2.
I'm happy to report that Evolution seems to work for me with the suggested fix!
Thanks for the fast reply, and keep up the good work!
Comment 3 Hugo Pereira Da Costa 2012-01-23 22:56:10 UTC
@Ruslan,
the inner shadow hack not working might be related to the warning "Oxygen::WidgetLookup::find - context ..."

1/ can you reproduce the bug on your side ?
2/ could you double-check the behavior of the hack when widget is not found, and make sure it falls back to "normal" painting (or even default painting), when no widget is found.

Thanks, 

Hugo

(I'm unable to install evolution-3.2 here, with my too old distro)
Comment 4 Ruslan Kabatsayev 2012-01-24 19:42:29 UTC
@Hugo
Yes, I can reproduce it, and this message doesn't seem to be *directly* related to the bug. It seems that targetExposeEvent() is (almost) never called for MessageList while it is for EMailDisplay and EMailSidebar. Might be something tricky in MessageList implementation. Still investigating.
Comment 5 Hugo Pereira Da Costa 2012-02-13 10:02:12 UTC
@Ruslan,
before we release gtk3-1.0.1, and in case you cannot fix the issue in a "generic" way, is there a chance you push a patch that disables the InnerShadowHack *only* for evolution, (and even better, only for the guilty list) ? This way we would at least have a "temporary" fix, that do not prevent the inner shadows to work on others applications ...

PS: I read on mageia bugs, that evolutions display also has issues (though different) using other widget styles. So we are not the only ones.

Note: you could feel free to hard-code any widget name, application name for the detection. You can add #warning in the code so that we get reminded at compile time to find "some day" a permanent fix.
(or report to the evolution guys).

Cheers, and thanks in advance,

Hugo
Comment 6 Ruslan Kabatsayev 2012-02-13 17:53:31 UTC
Git commit 4fe5d038e0c6728fc421e3a291bf1ec1ef6943a5 by Ruslan Kabatsayev.
Committed on 13/02/2012 at 18:52.
Pushed by kabatsayev into branch 'gtk3'.

Blacklist Evolution's MessageList from Inner Shadow hack

M  +2    -1    src/animations/oxygeninnershadowdata.cpp

http://commits.kde.org/oxygen-gtk/4fe5d038e0c6728fc421e3a291bf1ec1ef6943a5
Comment 7 Ruslan Kabatsayev 2012-02-13 17:56:27 UTC
@Hugo
Will consider this "quasi-permanent" solution, as we do with GtkPizza and quite some other widgets :)
Comment 8 Hugo Pereira Da Costa 2012-02-13 17:59:22 UTC
Ruslan: sounds good ! and thanks for the fix !
Comment 9 Hugo Pereira Da Costa 2012-02-15 09:27:17 UTC
Git commit 8ea6f59816eae9e32d25fe9156e220cc1867bd72 by Hugo Pereira Da Costa, on behalf of Ruslan Kabatsayev.
Committed on 13/02/2012 at 18:52.
Pushed by hpereiradacosta into branch 'gtk3-1.0'.

Blacklist Evolution's MessageList from Inner Shadow hack

M  +2    -1    src/animations/oxygeninnershadowdata.cpp

http://commits.kde.org/oxygen-gtk/8ea6f59816eae9e32d25fe9156e220cc1867bd72