-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello Salvatore,
On Fri, 2016-12-30 at 07:19 +0100, Salvatore Bonaccorso wrote: > Sidenote: you can set GTK_DEBUG in your environment, to see in which > configuration file the 'gtk-primary-button-warps-slider' setting comes > from? > > I have not narroved it down, but I can reproduce similar Gtk-Messages > by putting properties with gboolean values in a configuration file, > say > > gtk-primary-button-warps-slider = false > > or > > gtk-primary-button-warps-slider = true > > in ~/.gtkrc-2.0 and run the sample simple_menu.pl: > Thank you very much for the help. Indeed, it was caused by the: #gtk-primary-button-warps-slider=true, which needed to be disabled so that the default could be picked. In my case, I had to disable it in /root/ too because that's where I personalized the settings to have a consistent look for system wide debconf interface. > $ perl simple_menu.pl > Gtk-Message **: (for origin information, set GTK_DEBUG): failed to retrieve > property `gtk-primary-button-warps-slider' of type `gboolean' from rc file > value "((GString*) 0x559455dcff20)" of type `gboolean' at /usr/lib/x86_64- > linux-gnu/perl5/5.24/Gtk2/SimpleMenu.pm line 26. > Callback: > $VAR1 = 'user data'; > $VAR2 = 9; > $VAR3 = bless( {}, 'Gtk2::RadioMenuItem' ); > Callback: > $VAR1 = 'user data'; > $VAR2 = 10; > $VAR3 = bless( {}, 'Gtk2::RadioMenuItem' ); > > Needs closer investigation though. Given that disabling that knob stops those error messages, I'm assuming that property was dropped in newer releases. But the personalized settings got left over. Should we close this bug report ? I don't know if this will need a full resolution. The reason being, this gtk configuration was created in the past by some kde-gtk-config tool, which may have caused the sole problem. rrs@learner:~$ cat ~/.gtkrc-2.0 # File created by KDE Gtk Config # Configs for GTK2 programs include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc" style "user-font" { font_name="Cantarell " } widget_class "*" style "user-font" gtk-font-name="Cantarell 9" gtk-theme-name="Adwaita" gtk-icon-theme-name="gnome" gtk-fallback-icon-theme="gnome-human" gtk-cursor-theme-name="Adwaita" gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ gtk-menu-images=0 gtk-button-images=0 #gtk-primary-button-warps-slider=true 2016-12-30 / 15:49:01 ♒♒♒ ☺ Thanks again, for your help. - -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAlhmNQsACgkQpjpYo/Lh dWnAtA/9GsPTneS78RKMI5soc2+VLeRacjRFXGJJ/H/OjdrICrcfVjl5Fsr059HX Xo4CqAqjNXBK50d688c+aPdhE4gByYf6LJGpME4p6oJrMydYAlD7Fp7x0UMHqBXg zRM3rA624GYpmeCRdQFXMoU17B/uJnmB2OksgBneEV9NUw/XHR2XWfztPOa3CgjW 4NFVf2hMxfsW3ItVlglgqUAdYwLDnKAQdD5peGTUrzB6zzy8L+8ZSbpBlxNXwzTG Fwcu95Tpi1iI3O4knbdO/WTZuh9LrY7jhN+jdVyi3E344VSIh4Jq5/M6rgS6v8Ui Tln2SjEYmjtzDGycglLqv0qlKdo38v9pNeab08A0pJkv5vnfp+D5mD+r/RTGHbh1 R2Jh2zMCaEnHCNOTPf1ty+VirvFIgZDfZax7h5uk7d9VBQ0o0YQZU8lYHDmkRPm5 LetVdZon9iEiH2EVsr7F6cxMLvxLvh2ScdBd5DpqAGMFQ3UJWcFyICHAoxmee+yC 3VaoHQ5ZsYxf2vG3CsWfSCN6sTfbavcUWvPIwnMJQyIzJLEw98NorsWdQ77KMEt8 FAh7+qSqCVONaHB/p+ujH89clv0Qxx6TUNP5sm/DgbJcnlXaayIyZp3cMkTzS/0X LoUv3UpStE2jz0fgBOWHKwqHiy674d116fmxP2mf6jsqX/QRq7k= =Kvif -----END PGP SIGNATURE-----