Bug 264802

Summary: Software groups icons partyally hidden in GNOME PackageKit
Product: [Plasma] Oxygen Reporter: nucleo <nucleo>
Component: gtk2-engineAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: CLOSED FIXED    
Severity: normal CC: b7.10110111, hugo.pereira.da.costa, web
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description nucleo 2011-01-29 23:49:06 UTC
Version:           unspecified
OS:                Linux

Software groups icons partyally hidden in GNOME PackageKit.



Reproducible: Always


Actual Results:  
See screenshot:
http://img64.imageshack.us/img64/2679/gnome5.png

Expected Results:  
When Clearlooks used:
http://img171.imageshack.us/img171/2679/gnome5.png
Comment 1 Hugo Pereira Da Costa 2011-01-30 13:05:18 UTC
I know what it is.
We force gtk_tree_view_set_show_expanders() to be able to draw our custom treelines. This works fine for all lists we've seen so far but this one.

Maybe its because we set the flag too late (might need to be set before widget realization). 

Still investigating.
Comment 2 Hugo Pereira Da Costa 2011-01-30 13:17:17 UTC
Git commit 1290011d30790e99dd04ec85b07da0607f1b22f4 by Hugo Pereira Da Costa.
Pushed by hpereiradacosta into branch '1.0'.

Do not force gtk_tree_view_set_show_expanders to true in TreeViewData
Check on gtk_tree_view_get_show_expanders to decide on whether tree lines should be painted or
not. No expander, no tree lines.
CCBUG: 264802

M  +1    -2    src/animations/oxygentreeviewengine.cpp     
M  +3    -1    src/oxygenstylewrapper.cpp     

http://commits.kde.org/d1a86b4e/1290011d30790e99dd04ec85b07da0607f1b22f4
Comment 3 Hugo Pereira Da Costa 2011-01-30 13:17:45 UTC
That fixes it.
I do not think it introduces any regression.
Comment 4 nucleo 2011-01-30 14:57:12 UTC
Yes, it fixed in gpk and tree view fine in other apps.
http://img132.imageshack.us/img132/9532/gnomeu.png