GNOME Bugzilla – Bug 770573
Styles have empty lists for style properties
Last modified: 2018-01-10 20:55:17 UTC
Created attachment 334399 [details] Minimal demonstration code for the bug, PyGI ## Metadata Version tested with: 2.28.6 Compared with for expected behavior: pygtk 2.24.0 ## Steps to reproduce 1. Get the style for a widget via calling its get_style method 2. Access a style property (such as bg) ## Expected Results A list of colors containing the style ## Actual Results An empty list, making it impossible to pick up colors if they aren't assigned to a theme variable. ## Why is this important? Some old themes like Murrina Gilouche do not set GTK2 theme variables that would normally be used to detect certain states. Furthermore, GTK themes can tweak things on a per-widget basis, so this would allow a more foolproof picking up of colors in these edge cases.
Created attachment 334400 [details] Minimal demonstration code for expected behavior, PyGTK
Thanks. pygi+gtk2 is not supported, but this also fails with gtk3, so keeping it open.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pygobject/issues/120.