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 711186 - Radio buttons with accelerators = problem
Radio buttons with accelerators = problem
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-31 02:01 UTC by rr
Modified: 2018-03-26 15:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rr 2013-10-31 02:01:41 UTC
I originally had 3 radio buttons. 2nd and 3rd ones belong to the group of the 1st, and everything was working smoothly. Until I added accelerators.
Now I'm getting

Gtk-CRITICAL **: gtk_radio_menu_item_set_group: assertion '!g_slist_find (group, radio_menu_item)' failed

for 2nd and 3rd buttons, although it seems to be working just fine.

The default output is
<property name="group">RadioGroup1</property>
<accelerator key="q" signal="activate"/>

However, if I swap the ordering of these two lines, the error message goes away.
Comment 1 Marius Gedminas 2014-03-18 08:18:11 UTC
This is a bug in GtkBuilder perhaps?  AFAIU that assertion means "this radio_menu_item is already added to this group".  The error happens during parsing, so somehow GtkBuilder calls set_group() again when it sees the accelerator.

(I saw this in GTimeLog: https://github.com/gtimelog/gtimelog/issues/14)
Comment 2 GNOME Infrastructure Team 2018-03-26 15:31:52 UTC
-- 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/glade/issues/140.