https://bugs.kde.org/show_bug.cgi?id=487397

            Bug ID: 487397
           Summary: KDE keeps forgetting Spectacle Shortcuts when "Print"
                    is used on its own
    Classification: Applications
           Product: Spectacle
           Version: 24.02.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: eamonn...@protonmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

SUMMARY
I have the "Capture Active Window" shortcut bound to the Print key and no other
keys in combination, so that when I press "Print", that shortcut is activated.

However Plasma now forgets this shortcut or any Spectacle shortcut that uses
*just* "Print", on every fresh boot. If I set "Capture Current Monitor" for
example to "Print", on a fresh boot this will also be forgotten. Every so often
on a fresh boot, all Spectacle shortcuts will be mangled: All shortcuts except
for "Capture Current Monitor" and "Capture Entire Desktop" will be remembered,
and in this instance, those  two shortcuts which have key sequences assigned
will be using the wrong key sequences; they will go back to using
"Ctrl+Shift+Print" and "Ctrl+£" respectively. 

Not only this, but some or all Spectacle shortcuts will be forgotten on a
second reboot if the shortcuts are not modified. For example, if I set "Capture
Active Window" to the "Print" key and reboot, as described above, that shortcut
will be forgotten. If I were to reboot after this without updating the
shortcuts, on the second boot, *all* Spectacle shortcuts will be forgotten.

This has not happened in a week or so, but probably bears mentioning: Sometimes
on a bootup, there will be two Spectacle entries in the Shortcuts menu. The
shortcuts in *usually* the first one are either mostly blank or just have
"Capture Current Monitor" and "Capture Entire Desktop". However there is no way
to know which one is the "real" Spectacle entry, and deleting the wrong one
will cause an error along the lines of "Unable to communicate with the shortcut
service" (if memory serves). This is fixed with a reboot.

And finally, the strangest part of all: This *only* seems to apply to
Spectacle. I tested by changing Konsole's open shortcut to "Print" and this was
not forgotten. This only happens with Spectacle.


STEPS TO REPRODUCE
1. Under "Spectacle" Shortcuts, assign "Capture Active Window" to the "Print"
key, and for testing clarity, set most or all of the Spectacle screenshots to a
key or key sequence, to visually see the forgetting problem later on.
2. Reboot system.
3. The "Capture Active Window" shortcut will be forgotten.
4. Some or all other shortcuts may be forgotten or assigned incorrectly.
5. Rebind the "Capture Active Window" shortcut and reboot again.
6. The shortcut will be forgotten as above, but this time don't modify any
shortcuts.
7. Reboot again.
8. All Spectacle shortcuts will be forgotten.
9. Set "Print" as the shortcut for any other application and reboot.
10. The "Print" Shortcut won't be forgotten, as this bug only applies to
Spectacle.

OBSERVED RESULT
If the "Print" key is used standalone, Specatcle shortcuts are not persistent
and have forgetful behavior, and must be reassigned on every boot.

EXPECTED RESULT
Spectacle shortcuts should be persistent independent of other Spectacle
shortcut key/key sequences, as it is for other applications.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.1 Linux Zen
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I have had this installation for almost 6 years, so all of my upgrades,
including the Plasma 6 upgrade, have been done in-place. Maybe there are some
cache/config files I need to poke?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to