[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#805320: Destroys hotkey configuration



Package: kded5
Version: 5.15.0-1
Severity: grave
File: /usr/bin/kded5

I upgraded to the most recent KDE fairly recently—a week or two ago.

My machine crashed, and upon rebooting and logging back in all my custom
hotkeys had vanished. First, I attempted to restore a backup of
~/.config/khotkeysrc but found it to *also* bee missing all the hot
keys, despite being a backup from after configuring it and before the
machine crashed.

So I went ahead and opened up system settings and started trying to
enter them in again. I noticed when I created a new group, khotkeysrc
got bigger as expected... but then a short while later was reset! No
further edits seemed to make the file change, except mtime. Note that
the Custom Shortcuts settings show that the keybinds are there, and they
work just fine—until you log out, of course.

Checking with fatrace, "apply" in Custom Shortcuts does this:

root@Zia:/home/anthony/.config# fatrace | grep khotkeys
systemsettings5(7751): RO /home/anthony/.config/khotkeysrc
systemsettings5(7751): C /home/anthony/.config/khotkeysrc
systemsettings5(7751): O /home/anthony/.config/khotkeysrc.lock
systemsettings5(7751): W /home/anthony/.config/khotkeysrc.lock
systemsettings5(7751): W /home/anthony/.config/khotkeysrc.lock
systemsettings5(7751): RO /home/anthony/.config/khotkeysrc
systemsettings5(7751): C /home/anthony/.config/khotkeysrc
systemsettings5(7751): O /home/anthony/.config/khotkeysrc.sj7751
systemsettings5(7751): W /home/anthony/.config/khotkeysrc.sj7751
systemsettings5(7751): W /home/anthony/.config/khotkeysrc.sj7751
systemsettings5(7751): CW /home/anthony/.config/khotkeysrc
systemsettings5(7751): CW /home/anthony/.config/khotkeysrc.lock (deleted)
kded5(4983): RO /home/anthony/.config/khotkeysrc
kded5(4983): C /home/anthony/.config/khotkeysrc
kded5(4983): O /home/anthony/.config/khotkeysrc
kded5(4983): R /home/anthony/.config/khotkeysrc
kded5(4983): C /home/anthony/.config/khotkeysrc
kded5(4983): O /home/anthony/.config/khotkeysrc.lock
kded5(4983): W /home/anthony/.config/khotkeysrc.lock
kded5(4983): W /home/anthony/.config/khotkeysrc.lock
kded5(4983): O /home/anthony/.config/khotkeysrc
kded5(4983): R /home/anthony/.config/khotkeysrc
kded5(4983): C /home/anthony/.config/khotkeysrc
kded5(4983): O /home/anthony/.config/khotkeysrc.aq4983
kded5(4983): W /home/anthony/.config/khotkeysrc.aq4983
kded5(4983): W /home/anthony/.config/khotkeysrc.aq4983
kded5(4983): CW /home/anthony/.config/khotkeysrc.aq4983
kded5(4983): CW /home/anthony/.config/khotkeysrc.lock (deleted)
kded5(4983): O /home/anthony/.config/khotkeysrc
kded5(4983): R /home/anthony/.config/khotkeysrc
kded5(4983): C /home/anthony/.config/khotkeysrc
kded5(4983): WO /home/anthony/.config/khotkeysrc.lock
kded5(4983): W /home/anthony/.config/khotkeysrc.lock
kded5(4983): RO /home/anthony/.config/khotkeysrc
kded5(4983): C /home/anthony/.config/khotkeysrc
kded5(4983): O /home/anthony/.config/khotkeysrc.cS4983
kded5(4983): W /home/anthony/.config/khotkeysrc.cS4983
kded5(4983): W /home/anthony/.config/khotkeysrc.cS4983
kded5(4983): CW /home/anthony/.config/khotkeysrc.cS4983
kded5(4983): CW /home/anthony/.config/khotkeysrc.lock (deleted)

... and confirming it's kded5, doing `kill -STOP 4983` left the file
with my settings in it (though systemsettings hung at that point).
Killing kded5 made a mess of KDE and crashed system settings, but I
re-launched custom shortcuts without kded5 running, and now the file
changes as expected. Tried with several "apply"s, all of them save as
expected.

Further testing, I restarted kded5 (just from an xterm) and then after
the next "apply" in Custom Shortcuts, khotkeysrc again was reset to
defaults.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kded5 depends on:
ii  libc6              2.19-22
ii  libkf5configcore5  5.15.0-1
ii  libkf5coreaddons5  5.15.0-1
ii  libkf5crash5       5.15.0-1
ii  libkf5dbusaddons5  5.15.0-1
ii  libkf5service-bin  5.15.0+-1
ii  libkf5service5     5.15.0+-1
ii  libqt5core5a       5.5.1+dfsg-6
ii  libqt5dbus5        5.5.1+dfsg-6
ii  libqt5gui5         5.5.1+dfsg-6
ii  libqt5widgets5     5.5.1+dfsg-6
ii  libstdc++6         5.2.1-23

kded5 recommends no packages.

kded5 suggests no packages.

-- no debconf information


Reply to: