Bug 453382

Summary: "Clicking files or folders" is set to "Selects them" but single clicking files or folders in Dolphin does not select but opens them.
Product: [Applications] systemsettings Reporter: Himprakash Deka <himprakashd>
Component: kcm_workspaceAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Himprakash Deka 2022-05-04 11:35:35 UTC
SUMMARY
In System settings, "Workspace Behaviour > General Behaviour > Clicking files or folders" is set to "Selects them" but single clicking files or folders in Dolphin does not select but opens them. Not sure if this is a problem with System settings or Dolphin. 


STEPS TO REPRODUCE
1. Open System settings.
2. Go to "Workspace Behaviour > General Behaviour".
3.  Set "Clicking files or folders" to "Selects them" .
4. Single click any file or folder in Dolphin.

OBSERVED RESULT
The clicked file or folder is opened.

EXPECTED RESULT
The clicked file or folder is selected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux/KDE Plasma 5.24.5
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Kernel in use is Linux-zen 5.17.5
Comment 1 Nate Graham 2022-05-04 16:26:28 UTC
Two questions:
1. Are you clicking with a mouse or touchpad, or touching using a touchscreen?
2. Can you paste the output of `grep SingleClick ~/.config/kdeglobals`
Comment 2 Himprakash Deka 2022-05-04 16:38:29 UTC
(In reply to Nate Graham from comment #1)
> Two questions:
> 1. Are you clicking with a mouse or touchpad, or touching using a
> touchscreen?
> 2. Can you paste the output of `grep SingleClick ~/.config/kdeglobals`

1. I have tried both single click witha  mouse and a single tap in the touchpad and the behaviour is same. I have no touchscreen.
2. Right now `grep SingleClick ~/.config/kdeglobals` outputs `SingleClick=false`. When I set `Clicking files or folders` to `opens them`, it outputs nothing.
Comment 3 Nate Graham 2022-05-05 22:05:26 UTC
Ok, sounds like the setting is set correctly. If you single-click on a Panel applet (like Kickoff, the Digital Clock, or System Tray), does its popup open and then immediately close? If so, then it sounds like a hardware problem with your mouse and touchpad sending two clicks instead of one.

If that doesn't happen, we'll do some more debugging in a different direction.
Comment 4 Himprakash Deka 2022-05-06 01:31:36 UTC
(In reply to Nate Graham from comment #3)

Panel applets are working as desired i.e single clicking them opens the popup and they remain open and does not close immediately. If I double click them, then their popup opens and then immediately closes.
Comment 5 Himprakash Deka 2022-05-07 02:38:17 UTC
I figured out the problem. It was caused by a setting in the Kvantum manager.

`Configure active theme > Miscellaneous > Click behaviour:` was set to `Single click` which caused single click to activate items. I had to change it to `Follow Style` to get the behaviour set in System Settings.
Comment 6 Nate Graham 2022-05-07 03:28:49 UTC
That would do it.