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

            Bug ID: 494476
           Summary: Default Shortcut for Dolphin is not recognised or used
                    in settings
    Classification: Applications
           Product: systemsettings
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_keys
          Assignee: plasma-b...@kde.org
          Reporter: mihawk.90+kdeb...@googlemail.com
                CC: fanzhuyi...@gmail.com, k...@david-redondo.de
  Target Milestone: ---

Created attachment 174645
  --> https://bugs.kde.org/attachment.cgi?id=174645&action=edit
Screenshot of the Dolphin Shortcuts

SUMMARY

For a couple years I had manually bound Dolphin's shortcut to Meta+E. While
debugging this on the KDE Matrix channel recently I was informed that this is
actually the default shortcut now (fairly certain it used to be Meta+D or
something else).
However, in my system settings, there is no default shortcut. Up until now I
had just manually bound it.
Since my upgrade to Fedora 40 KDE (I reinstalled, preserving /home), the
keybind won't stick anymore though. About half the time after reboot the
keybind is gone. When reassigning the keybind, there is no notification of it
being used elsewhere, and after applying it also immediately works perfectly
fine. Until again I reboot and either it sticks or it does not.

It seems entirely random whether it sticks or not, but I'd say it's about half
the time.

STEPS TO REPRODUCE
1. Open System Settings > Keyboard > Shortcuts > Dolphin
2. Check the "default" shortcut listed. For me there is none.
3. Bind a custom keybind: Meta+E and Apply.
4. Reboot the system, check 1-2 again.

OBSERVED RESULT
Meta+E now works, but after the reboot the keybind is gone about half the time.

EXPECTED RESULT
It should show and use the default keybind without having to manually bind it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 KDE
KDE Plasma Version: 6.2.0 (yes I waited for the version :D)
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
As noted above we already debugged this a little on the KDE Matrix channel
(conversation was on 01 Oct 2024). We went through a few things:

Checking the system desktop file:
 grep Meta /usr/share/applications/org.kde.dolphin.desktop 
X-KDE-Shortcuts=Meta+E

Making sure I don't have a local one overriding it:
 ls .local/share/applications | grep dolphin
 ✘ 

Making sure there are no conflicting files:
 grep "Meta+E" /usr/share/applications -R
/usr/share/applications/org.kde.plasma-systemmonitor.desktop:X-KDE-Shortcuts=Meta+Esc
/usr/share/applications/org.kde.dolphin.desktop:X-KDE-Shortcuts=Meta+E

Checking the kglobalaccel file:
 grep Meta /usr/share/kglobalaccel/org.kde.dolphin.desktop 
X-KDE-Shortcuts=Meta+E
 stat /usr/share/kglobalaccel/org.kde.dolphin.desktop
  File: /usr/share/kglobalaccel/org.kde.dolphin.desktop ->
/usr/share/applications/org.kde.dolphin.desktop

I then noticed I had a kglobalaccelrc file in my local applications:
 ~/.local/share/applications  cat kglobalaccelrc 
[Desktop Entry]
NoDisplay=true
~/.local/share/applications  stat kglobalaccelrc
  File: kglobalaccelrc
  Size: 31              Blocks: 8          IO Block: 4096   regular file
Device: 253,2   Inode: 17195523    Links: 1
Access: (0600/-rw-------)  Uid: ( 1000/ tarulia)   Gid: ( 1000/ tarulia)
Context: unconfined_u:object_r:data_home_t:s0
Access: 2024-10-01 17:51:18 +0200
Modify: 2022-04-11 02:10:39 +0200
Change: 2024-08-19 13:47:47 +0200
 Birth: 2022-04-11 02:10:39 +0200

I don't know where it came from but since it never caused issues for years it
shouldn't be related, nevertheless I went ahead and renamed the file as
suggested:
 ls ~/.local/share/applications | grep kglobal
kglobalaccelrc~

But that didn't help either.

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

Reply via email to