Bug#791548: gtk-theme-config: clicking on Revert silently removes the user's .gtkrc-2.0 file
Vincent Lefevre
vincent at vinc17.net
Mon Jul 6 00:50:57 UTC 2015
Package: gtk-theme-config
Version: 1.0-1
Severity: critical
Justification: causes serious data loss
I was wondering why Iceweasel was no longer working as expected...
I finally found the cause: my ~/.gtkrc-2.0 file had been removed.
Then I remembered that I used gtk-theme-config recently. After
some tests, clicking on the "Revert" button has this effect of
removing the ~/.gtkrc-2.0 file, without even leaving a backup!
When changing some settings, gtk-theme-config modifies this file.
But when the user clicks on "Revert", gtk-theme-config should just
remove the settings it added, e.g. by using begin/end markers, not
the whole file! Or if is this too difficult, it should warn the
user before doing a destructive operation.
Note also that it isn't documented at all that gtk-theme-config
uses the ~/.gtkrc-2.0 file. This is even more surprising as
gtk-theme-config depends on libgtk-3-0 (thus GTK+ 3, not GTK+ 2).
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages gtk-theme-config depends on:
ii gconf2 3.2.6-3
ii gsettings-desktop-schemas 3.16.1-1
ii libatk1.0-0 2.16.0-2
ii libc6 2.19-18
ii libcairo-gobject2 1.14.2-2
ii libcairo2 1.14.2-2
ii libgdk-pixbuf2.0-0 2.31.4-2
ii libglib2.0-0 2.44.1-1.1
ii libgtk-3-0 3.16.4-2
ii libpango-1.0-0 1.36.8-3
ii libpangocairo-1.0-0 1.36.8-3
ii libx11-6 2:1.6.3-1
Versions of packages gtk-theme-config recommends:
ii xfconf 4.12.0-2+b1
gtk-theme-config suggests no packages.
-- no debconf information
More information about the xubuntu-devel
mailing list