Bug 376273

Summary: GTK 2.0 runtime message failed to retrieve property `gtk-primary-button-warps-slider'
Product: [Unmaintained] kde-gtk-config Reporter: Guo Yunhe <i>
Component: generalAssignee: Manuel Tortosa <manutortosa>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, contact, elvis.angelaccio
Priority: NOR    
Version First Reported In: 5.8.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.8.6
Sentry Crash Report:

Description Guo Yunhe 2017-02-10 09:16:29 UTC
When I run GTK2 applications, like Inkscape, from command line, I will always get a small message:

Gtk-Message: /home/sign/.gtkrc-2.0:19: failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x1c98620)" of type `gboolean'

This line in configuration file ~/.gtkrc-2.0 :

gtk-primary-button-warps-slider=true

should be changed to :

gtk-primary-button-warps-slider=1

Then the GTK message will disappear.
Comment 1 Elvis Angelaccio 2017-02-10 22:53:14 UTC
Thanks for reporting
Comment 2 Elvis Angelaccio 2017-02-10 22:53:28 UTC
*** Bug 374948 has been marked as a duplicate of this bug. ***
Comment 3 Elvis Angelaccio 2017-02-10 22:55:34 UTC
Git commit 4a06c4d34f2dd8859058618b1dbe9dbd6df9e9b8 by Elvis Angelaccio.
Committed on 10/02/2017 at 22:49.
Pushed by elvisangelaccio into branch 'Plasma/5.8'.

Fix gtk-primary-button-warps-slider with GTK 2

Summary:
Replace true/false with 1/0. The former works only with GTK 3, but
breaks with GTK 2 apps.
FIXED-IN: 5.8.6

Test Plan: Tested with inkscape (which is gtk2); still works with gtk3 apps.

Reviewers: apol, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4557

M  +2    -2    src/abstractappearance.cpp

https://commits.kde.org/kde-gtk-config/4a06c4d34f2dd8859058618b1dbe9dbd6df9e9b8