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

            Bug ID: 486748
           Summary: Double click behavior not applied to
                    ~/.config/kdeglobals
    Classification: Applications
           Product: systemsettings
           Version: 6.0.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_workspace
          Assignee: plasma-b...@kde.org
          Reporter: nikola...@gmail.com
  Target Milestone: ---

SUMMARY
In Workspace > General Behavior section I have options to pick between
single-click or double-click for opening items in file browser.

When I select the single-click option i see the following text added to
~/.config/kdeglobals
[KDE]
SingleClick=true

But when I select the double-click option, the SingleClick line gets removed
from kdeglobals - instead of having a line saying SingleClick=false

This causes some older apps built with KDE5 framework to assume single-click
behavior is enabled, and any file pickers in those apps exhibit single-click
behavior, even when double-click is enabled in systemsettings GUI.
Some examples of apps that suffer from this behavior are Okteta and k3b - both
of which are still using KDE5 framework 


STEPS TO REPRODUCE
1. Open System Settings and navigate to Workspace > General Behavior
2. Select "Clicking Files or folders: "Selects them"
3. Open ~/.config/kdeglobals
4. Look for "SingleClick=false"
5. Open an app that uses KDE5 like Okteta or k3b and try to open a file -
expect single click to select items and double-click to open them

OBSERVED RESULT
In step 4 - SingleClick config does not appear in the kdeglobals file
In step 5 - single-click opens items


EXPECTED RESULT
In step 4 - SingleClick=false line should appear in the kdeglobals file
In step 5 - single-click should select items and double-click should open them

WORKAROUND
Manually edit ~/.config/kdeglobals file and add
[KDE]
SingleClick=false

This fixes the behavior in apps that use KDE5 framework

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.0.4
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to