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

            Bug ID: 456958
           Summary: kglobalshortcutsrc does not propagate via
                    $XDG_CONFIG_DIRS
           Product: frameworks-kglobalaccel
           Version: 5.95.0
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: eeickme...@ubuntu.com
  Target Milestone: ---

SUMMARY

If a distribution or OEM places a kglobalshortcuts file in the path defined in
$XDG_CONFIG_DIRS, whether that's in /etc/xdg or otherwise, the settings fail to
propogate but get superseded by some kind of built-in hardcoded mechanism as
opposed to those that were defined by the distribution or OEM. These settings
should simply get written based on whatever the hardcoded defaults are *unless*
a default has been defined somewhere in the $XDG_CONFIG_DIRS path (in this
case,
~/.config/kdedefaults:/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings).


STEPS TO REPRODUCE
1. Create a /etc/xdg/kglobalshortcutsrc file containing the following:

[kwin]
Decrease Opacity=Meta+_,,Decrease Opacity of Active Window by 5 %
Increase Opacity=Meta++,,Increase Opacity of Active Window by 5 %


2. Create a new user. 
3. Login as new user.
4. Open Dolphin.
5. Attempt to decrease and increase opacity with Meta-Shift-+ or Meta-Shift-=.

OBSERVED RESULT
Shortcut keys have no effect. Corresponding setting in System Settings >
Shortcuts > Shortcuts > KWin shows "No active shortcuts.

EXPECTED RESULT
Shortcut keys should change opacity of the active window and be set to do so by
default. This should be able to be verified via System Settings > Shortcuts >
Shortcuts > KWin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.95
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Without a way for distributions and OEMs to set hardware or distribution-unique
shortcuts, this limits the customization capabilities of KDE Plasma to be
custom pre-configured.

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

Reply via email to