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 705687 - GtkGrid not properly styled when using the LINKED class
GtkGrid not properly styled when using the LINKED class
Status: RESOLVED NOTABUG
Product: gnome-themes-standard
Classification: Core
Component: Adwaita GTK3 theme
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-themes-standard-maint
gnome-themes-standard-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-08 16:53 UTC by Conscious User
Modified: 2013-08-22 14:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (6.09 KB, image/png)
2013-08-08 16:54 UTC, Conscious User
Details
code that generated the screenshot above (964 bytes, text/x-python)
2013-08-08 16:55 UTC, Conscious User
Details

Description Conscious User 2013-08-08 16:53:57 UTC
The GTK documentation encourages developers to use GtkGrid for all boxing needs, replacing GtkVBox, GtkHBox, GtkBox, GtkTable, etc.

However, currently it's not possible to use GtkGrid to build linked buttons, because its LINKED class is not properly styled.

Attached is an example code for Python 3, and a screenshot of what it generates.

This also happens with HighContrast.
Comment 1 Conscious User 2013-08-08 16:54:47 UTC
Created attachment 251197 [details]
screenshot
Comment 2 Conscious User 2013-08-08 16:55:45 UTC
Created attachment 251199 [details]
code that generated the screenshot above
Comment 3 Paolo Borelli 2013-08-18 20:24:12 UTC
There isn't much that can be done here, :first-child and :last-child are not well defined concepts for a bidimensional grid
Comment 4 Conscious User 2013-08-18 20:49:51 UTC
Ok, so it seems the issue is deeper. I filed https://bugzilla.gnome.org/show_bug.cgi?id=706269
Comment 5 Cosimo Cecchi 2013-08-22 14:08:23 UTC
Not much we can do here from the theme. If/when the grid starts supporting sibling selectors, this will work automatically - or we'll ensure it works correctly at that time.

Closing as NOTABUG for now.