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

Bug#805320: marked as done (Destroys hotkey configuration)



Your message dated Wed, 18 May 2016 17:16:18 +0200
with message-id <20160518151618.GD3632@gnuservers.com.ar>
and subject line Re: Bug#805320: Destroys hotkey configuration
has caused the Debian Bug report #805320,
regarding Destroys hotkey configuration
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 owner@bugs.debian.org
immediately.)


-- 
805320: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805320
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 5.19.0-1

¡Hola Anthony!

El 2015-11-16 a las 18:38 -0500, Anthony DeRobertis escribió:
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.

I think this was fixed in 5.19 in the commit 9bbb9f948fd0729e86e67793adf9d72598e0cc02, as that fixed the dbus communication of khotkeys, somewhere in the middle the behaviour was that the enabled checkbox needed to be pressed a random number of times, as it was "disabled" by kded.

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)

Running kded 5.21 the fatrace output is:
systemsettings5(20716): O /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): R /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): C /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): O /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): R /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): C /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): WO /home/users/maxy/.config/khotkeysrc.lock
systemsettings5(20716): O /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): R /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): C /home/users/maxy/.config/khotkeysrc
systemsettings5(20716): O /home/users/maxy/.config/khotkeysrc.i20716
systemsettings5(20716): W /home/users/maxy/.config/khotkeysrc.i20716
systemsettings5(20716): W /home/users/maxy/.config/khotkeysrc.i20716
systemsettings5(20716): CW /home/users/maxy/.config/khotkeysrc.i20716
systemsettings5(20716): CW /home/users/maxy/.config/khotkeysrc.lock
kded5(3768): O /home/users/maxy/.config/khotkeysrc
kded5(3768): R /home/users/maxy/.config/khotkeysrc
kded5(3768): C /home/users/maxy/.config/khotkeysrc
kded5(3768): O /home/users/maxy/.config/khotkeysrc
kded5(3768): R /home/users/maxy/.config/khotkeysrc
kded5(3768): C /home/users/maxy/.config/khotkeysrc
kded5(3768): O /home/users/maxy/.config/khotkeysrc.lock
kded5(3768): W /home/users/maxy/.config/khotkeysrc.lock
kded5(3768): O /home/users/maxy/.config/khotkeysrc
kded5(3768): R /home/users/maxy/.config/khotkeysrc
kded5(3768): C /home/users/maxy/.config/khotkeysrc
kded5(3768): O /home/users/maxy/.config/khotkeysrc.dT3768
kded5(3768): W /home/users/maxy/.config/khotkeysrc.dT3768
kded5(3768): W /home/users/maxy/.config/khotkeysrc.dT3768
kded5(3768): W /home/users/maxy/.config/khotkeysrc.dT3768
kded5(3768): CW /home/users/maxy/.config/khotkeysrc.dT3768
kded5(3768): CW /home/users/maxy/.config/khotkeysrc.lock

Which looks nicer and preserves the values when restarting the session.

Happy hacking,
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: