Bug#791548: gtk-theme-config: clicking on Revert silently removes the user's .gtkrc-2.0 file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug#791548: gtk-theme-config: clicking on Revert silently removes the user's .gtkrc-2.0 file

Vincent Lefevre
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
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug#791548: marked as done (gtk-theme-config: clicking on Revert silently removes the user's .gtkrc-2.0 file)

Debian Bug Tracking System
Your message dated Sat, 08 Jul 2017 20:49:05 +0000
with message-id <[hidden email]>
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 [hidden email]
immediately.)


--
791548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791548
Debian Bug Tracking System
Contact [hidden email] with problems

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

Source: gtk-theme-config
Source-Version: 1.2.2-1

We believe that the bug you reported is fixed in the latest version of
gtk-theme-config, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Unit 193 <[hidden email]> (supplier of updated gtk-theme-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 07 Jul 2017 09:07:13 -0400
Source: gtk-theme-config
Binary: gtk-theme-config
Architecture: source
Version: 1.2.2-1
Distribution: unstable
Urgency: medium
Maintainer: Xubuntu Developers <[hidden email]>
Changed-By: Unit 193 <[hidden email]>
Description:
 gtk-theme-config - simple interface to change GTK+ themes
Closes: 791548
Changes:
 gtk-theme-config (1.2.2-1) unstable; urgency=medium
 .
   [ Sean Davis ]
   * New upstream bugfix and translations release.
     - Fixes destructive config file editing (Closes: #791548, LP: #1473821)
   * debian/control:
     - Update to Standards-Version 3.9.6
     - Update Homepage to Launchpad
     - Add libnotify-dev and intltool to BuildDepends
     - Add self to Uploaders
   * debian/rules:
     - Fix building with translations.
   * debian/patches/include-system-flags.patch:
     - Dropped, included upstream.
   * debian/watch:
     - Update to point to current upstream releases
 .
   [ Unit 193 ]
   * New upstream release.
     - Fixes theming in Unity 7 (LP: #1315262)
     - Fixes gtk.css generation (LP: #1500210)
   * Update to Standards-Version 4.0.0.
   * d/control, d/compat: Update to use debhelper compat 10.
   * d/control:
     - Update Vcs-Browser: http → https.
     - Add myself and sort Uploaders.
     - Remove Lionel Le Folgoc and Micah Gersten from Uploaders,
       thanks for all your work!
     - Drop versioned build-depends satisfied in stable.
   * d/copyright:
     - Update Format header: http → https.
     - Update the 'Source' field to point to the LP project.
     - Update the files sections, bring everything up to date.
   * d/rules: Pass CFLAGS/LDFLAGS to valac.
Checksums-Sha1:
 3b4a9294bc62532496eac91557d1cb94857a8dd5 2161 gtk-theme-config_1.2.2-1.dsc
 c7e4ed0c46c8e495258407bb9dc807dbc04d5cdd 116123 gtk-theme-config_1.2.2.orig.tar.bz2
 8242ada0a5ec63884ab2583ca8419b8a1a4a152e 3692 gtk-theme-config_1.2.2-1.debian.tar.xz
 97207a84d83426a19c49a0ed6299d36f06988435 13334 gtk-theme-config_1.2.2-1_amd64.buildinfo
Checksums-Sha256:
 eb7e4c28fab3b88201f818280aa4e67a1b43420b3f9660c53dc5b8557154dd8b 2161 gtk-theme-config_1.2.2-1.dsc
 662d5961b7bc3e2416afae73a51d2b038b9f0f5a58cd2a897c7cd668b14b5329 116123 gtk-theme-config_1.2.2.orig.tar.bz2
 4ab86cb68570ca1fa825f11a89c0feb94f7b5d5e59d27754ff15a6e5059c3f16 3692 gtk-theme-config_1.2.2-1.debian.tar.xz
 9c18dd4ee28f3be71dce5374461a502b1003821c8a937ce5285ba4a8b4b0dfcc 13334 gtk-theme-config_1.2.2-1_amd64.buildinfo
Files:
 30c1057d536d1843dbd6ff6ac53a9d0b 2161 gnome optional gtk-theme-config_1.2.2-1.dsc
 17f2bc59617f546e68deed31f3f4021f 116123 gnome optional gtk-theme-config_1.2.2.orig.tar.bz2
 758ad8d1741e0a92fdf6ab4d56c2622d 3692 gnome optional gtk-theme-config_1.2.2-1.debian.tar.xz
 2ff4a5025acb3e749e87a229d1583b01 13334 gnome optional gtk-theme-config_1.2.2-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAllhPbcACgkQCBa54Yx2
K62Olg/+LRvI4ZzyBNHDmbJPsKBE+I1qTl5gsmd4JsMQ6YSaChJX5DnU1KtgC8wv
Exd/mOKWmY90SpfQ6OZXOK2aTUDm0LaSY/wSsb53Yj9x2oEHOSsWfMmfOVTslcJ6
l956MzmAx9+XOWkoyNd0+TjwjzgamtfJP6P8a8ikGh33HCc7DBiXystLOvKaeG2u
A65idnWYqTqKHVfHVsQacppckN8ngKIaBduFnaPO4QR8LFmvL97CFQQmS7JZktoB
cDlWPkFS7a984a7sQXwKZCUgSqAVSCUJbYRUkXfeEYRAtLBiMPIwRwOLagDeMRgp
brlbb0ekCcr8n/kcDdRYgUTYtf5qL6fO4IC2ntF7uZ0wz2zJq+rnRI9brY5gUyz9
6ua/Gou0F+esUrdxE4eGYadSeA4xSQ+Ja9SHKQ2iV2jkCZMmBEh+XCXxk3wy0b3j
oKfUC0fbuaRCzA/+83iySnTrJF/u8Xn7EyOK21000IH+y2KlWRDFmVQwR419BLKI
wix8hBiBTY03FfElTQe8vdBgX/48S7UYcrHi3sEyw/jGZXT2L9JfTMHr6LYmV4Gj
a5oDcmArzAzyx219kQ+ip5nDYQdaGwwDPm1Z1h+AssBr/YmYhFN7NM653mec1/1H
r/qGl3ltprs+jwy5yeHu4uCNbgSEK1rYMsLHR1fs/2CyAPq/GDE=
=WTdK
-----END PGP SIGNATURE-----
--
xubuntu-devel mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel
Loading...