Discussion:
Bug#791548: gtk-theme-config: clicking on Revert silently removes the user's .gtkrc-2.0 file
Vincent Lefevre
2015-07-06 00:50:57 UTC
Permalink
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
--
xubuntu-devel mailing list
xubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel
Debian Bug Tracking System
2017-07-08 20:51:13 UTC
Permalink
Your message dated Sat, 08 Jul 2017 20:49:05 +0000
with message-id <E1dTwf3-000Eq4-***@fasolo.debian.org>
and subject line Bug#791548: fixed in gtk-theme-config 1.2.2-1
has caused the Debian Bug report #791548,
regarding gtk-theme-config: clicking on Revert silently removes the user's .gtkrc-2.0 file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
791548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791548
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...