After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731663 - CSS of column headers for drag-and drop not applied for custom treeview-like widgets
CSS of column headers for drag-and drop not applied for custom treeview-like ...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Themes
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-06-14 18:37 UTC by Bertrand Lorentz
Modified: 2014-07-08 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix selector for drag-and-drop of column headers (1.15 KB, patch)
2014-06-14 18:37 UTC, Bertrand Lorentz
none Details | Review

Description Bertrand Lorentz 2014-06-14 18:37:52 UTC
Created attachment 278453 [details] [review]
Patch to fix selector for drag-and-drop of column headers

Custom-drawn widget that want to look like a TreeView often paint the
column header directly, so they apply the button class at the same level
than the column-header widget.

This is the case for example to the track list in Banshee (GTK 3 port in progress).

This means that selectors like "column-header .button..." do not match,
there needs to be the equivalent "column-header.button...". This is
already the case in a lot of places, but is missing for the "dnd"
class.

I'm attaching a one-line patch to correct this.
Comment 1 Jakub Steiner 2014-07-01 13:52:45 UTC
I'd love to have reorderable headerbar in gtk3-widget-factory. Neither Banshee nor Evolution is easy to get jhbuilt to test :(
Comment 2 Jakub Steiner 2014-07-01 13:53:06 UTC
We currently lack style for the dnd target completely.
Comment 3 Lapo Calamandrei 2014-07-08 12:36:38 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.