Bug 420707 - Single Click to open files and directories does not work running Mate desktop.
Summary: Single Click to open files and directories does not work running Mate desktop.
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 18.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-28 16:21 UTC by Axel Keller
Modified: 2020-04-29 14:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Keller 2020-04-28 16:21:04 UTC
SUMMARY
Although the click mode in KDE-settings is set to Single Click, dolphin needs a double click to open files and directories running the Mate desktop.
Running KDE desktop the click mode works fine.

STEPS TO REPRODUCE
1. Install openSUSE, dolphin, MATE DTE
2. Change to MATE desktop on login
3. open dolphin

OBSERVED RESULT
Double click working

EXPECTED RESULT
Single click working

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

ADDITIONAL INFORMATION
The same behaviour appears running Ubuntu with Mate.

Is it possible to set the click mode within the dolphin settings, like other file browsers do it? 
Among them dolphin is the best for me, but the double clicking is annoying if all other actions to open items work with a single click.
Comment 1 Nate Graham 2020-04-28 17:01:32 UTC
I think this is intentional, and Dolphin attempts to respect the click style of alternative desktops when run outside of Plasma. It would be really weird if Dolphin used single-click in MATE even though Nautilus and the file dialogs and other GTK-based software did not.
Comment 2 Christoph Feck 2020-04-28 19:15:13 UTC
It is also possible that MATE doesn't ship with a Qt platform plugin at all, so it cannot get the settings of that environment.

Possible solutions:
* use qt5ct as a configurable Qt platform plugin for desktops that don't provide one
* start KDE applications with XDG_CURRENT_DESKTOP=KDE environment variable to force loading Plasma's Qt platform plugin.
Comment 3 Axel Keller 2020-04-28 20:39:51 UTC
(In reply to Christoph Feck from comment #2)
> It is also possible that MATE doesn't ship with a Qt platform plugin at all,
> so it cannot get the settings of that environment.
> 
> Possible solutions:
> * use qt5ct as a configurable Qt platform plugin for desktops that don't
> provide one
> * start KDE applications with XDG_CURRENT_DESKTOP=KDE environment variable
> to force loading Plasma's Qt platform plugin.

Thank you for this quick response. I tried it, but it didn't help. The XDG_CURRENT_DESKTOP environment variable doesn't show any difference running dolphin if set to MATE or KDE.

Setting the click mode in KDE-settings, this results in changing the file
~.kde4/share/config/kdeglobals: SingleClick=true or false
It seems that this configurtion is not used by dolphin.
Comment 4 Christoph Feck 2020-04-28 20:58:20 UTC
~/.config/kdeglobals
Comment 5 Axel Keller 2020-04-29 14:29:07 UTC
(In reply to Christoph Feck from comment #4)
> ~/.config/kdeglobals

Same content as ~/.kde4/share/config/kdeglobals