Bug 343418 - "single click" option in mouse settings not working - always behaves as "double click"
Summary: "single click" option in mouse settings not working - always behaves as "doub...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: 5.2.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 346946 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-27 22:42 UTC by 3.14159265
Modified: 2016-04-20 08:45 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 3.14159265 2015-01-27 22:42:42 UTC
Even if the "single click" option in system settings is enabled i still need to double click to open directories or enter system settings categories. However simple desktop icons work fine.

Reproducible: Always

Steps to Reproduce:
1. Choose "double click" in system settings/input devices/mouse
2. Apply
3. Choose "single click"
4. Apply

Actual Results:  
Changes "SingleClick" entry in /home/user/.config/kdeglobals to "true", but behaviour stays the same as with "false"

Expected Results:  
Opening directories and system settings categories with single click
Comment 1 David Edmundson 2015-01-27 22:45:08 UTC
where does the behaviour stay the same?
just for apps based on kde4libs? It's possible we're just not back-syncing that config value.
Does the setting apply to the main window of system settings correctly for example?

If you can confirm it is that, I'll make a fix.
Comment 2 3.14159265 2015-01-27 22:54:21 UTC
> https://bugs.kde.org/show_bug.cgi?id=343418
>
> David Edmundson <kde@davidedmundson.co.uk> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>            Component|general                     |kcm_mouse
>              Version|5.1.1                       |5.2.0
>              Product|plasmashell                 |systemsettings
>             Assignee|kde@davidedmundson.co.uk    |unassigned-bugs@kde.org
>     Target Milestone|1.0                         |---
>                   CC|                            |unassigned-bugs@kde.org
>
> --- Comment #1 from David Edmundson <kde@davidedmundson.co.uk> ---
> where does the behaviour stay the same?
> just for apps based on kde4libs? It's possible we're just not back-syncing that
> config value.
> Does the setting apply to the main window of system settings correctly for
> example?
>
> If you can confirm it is that, I'll make a fix.

The main window of system settings is affected by the problem, as well as plasma directory widget. Dolphin works fine, Konqueror also.
Comment 3 David Edmundson 2015-01-28 15:16:50 UTC
We have two bugs:

 - Plasma 5 does not backport the settings to the kdelibs4 config folders
 - Plasma 5 is not sending/receiving the signal that the settings have changed and dynamically updating running apps
Comment 4 David Edmundson 2015-01-28 16:09:36 UTC
Git commit 86de8d2cf4414fc0ee0f83de95fde1d9aa8bdd3e by David Edmundson.
Committed on 28/01/2015 at 16:06.
Pushed by davidedmundson into branch 'Plasma/5.2'.

Sync back mouse settings into KDE4 configs

M  +15   -8    kcms/input/mouse.cpp

http://commits.kde.org/plasma-desktop/86de8d2cf4414fc0ee0f83de95fde1d9aa8bdd3e
Comment 5 David Edmundson 2015-01-28 18:39:39 UTC
Git commit 2211793a69115cb5d0e61c40e9333d43a80fc0af by David Edmundson.
Committed on 28/01/2015 at 17:25.
Pushed by davidedmundson into branch 'master'.

Use activate on single click setting from QPlatformTheme

Our QPlatformTheme already provide a hint as to whether items should
activate on single click and it updates when the setting changes

QCommonStyle by default uses the QPlatformTheme

This removes duplicating the lookup and also means we now update the
setting if it changes at runtime

REVIEW: 122293

M  +0    -5    src/kstyle/kstyle.cpp

http://commits.kde.org/frameworkintegration/2211793a69115cb5d0e61c40e9333d43a80fc0af
Comment 6 Frederic Roussel 2015-05-23 01:53:15 UTC
This bug is still here in Plasma 5.3 (kubuntu 15.04 amd64). Will it be fixed with Plasma 5.4 ?
Comment 7 Wolfgang Bauer 2015-07-07 11:23:43 UTC
(In reply to fr.frasc from comment #6)
> This bug is still here in Plasma 5.3 (kubuntu 15.04 amd64).
Is it?

It works fine here. (openSUSE 13.2, Plasma 5.3.2, Frameworks 5.11)
Comment 8 Gunter Ohrner 2015-07-07 14:40:53 UTC
*** Bug 346946 has been marked as a duplicate of this bug. ***
Comment 9 Gunter Ohrner 2015-07-07 14:43:50 UTC
Also does not work for me in Kubuntu 15.04.

Apparently, there's a downstream bug for this:
https://bugs.launchpad.net/ubuntu/+source/kde-baseapps/+bug/1451564
Comment 10 michael 2015-07-11 09:53:55 UTC
Not, I have altogether 5 Computers, 4 of them running OpenSuSE-13.2 and I do not have the problem, but on my single computer with Ubuntu-15.04 I have the problem with single click.
Comment 11 Philippe Gachoud 2016-01-14 11:31:16 UTC
Still have this problem on my tower, but not on my laptop with both kubuntu 15.10 and still didn't find a solution for my tower :-(
Comment 12 Philippe Gachoud 2016-01-14 11:33:44 UTC
So bug is not fixed, I cannot reopen this bug as confirmed
Comment 13 Wolfgang Bauer 2016-01-14 17:31:51 UTC
(In reply to Philippe Gachoud from comment #12)
> So bug is not fixed, I cannot reopen this bug as confirmed
It does seem to be fixed, it works as expected here in openSUSE, as I wrote already.

Also see comment #10:
> Not, I have altogether 5 Computers, 4 of them running OpenSuSE-13.2 and I do
> not have the problem, but on my single computer with Ubuntu-15.04 I have the
> problem with single click.

So this seems to be a downstream problem in KUbuntu.

Comment#9 mentions a specific Kubuntu bug report, that one's still open.
Maybe add a comment there.
Comment 14 Philippe Gachoud 2016-01-18 12:37:49 UTC
(In reply to Wolfgang Bauer from comment #13)
> (In reply to Philippe Gachoud from comment #12)
> > So bug is not fixed, I cannot reopen this bug as confirmed
> It does seem to be fixed, it works as expected here in openSUSE, as I wrote
> already.
> 
> Also see comment #10:
> > Not, I have altogether 5 Computers, 4 of them running OpenSuSE-13.2 and I do
> > not have the problem, but on my single computer with Ubuntu-15.04 I have the
> > problem with single click.
> 
> So this seems to be a downstream problem in KUbuntu.
> 
> Comment#9 mentions a specific Kubuntu bug report, that one's still open.
> Maybe add a comment there.

Thx, am really sorry, but where do I do that? I didn't find where! cant post here for example: https://bugs.launchpad.net/~kubuntu-bugs
Comment 15 Wolfgang Bauer 2016-01-18 14:46:18 UTC
(In reply to Philippe Gachoud from comment #14)
> Thx, am really sorry, but where do I do that? I didn't find where! cant post
> here for example: https://bugs.launchpad.net/~kubuntu-bugs

Well, I do not use Ubuntu, and have no experience with that.

But an explicit link has been posted in comment#9:
https://bugs.launchpad.net/ubuntu/+source/kde-baseapps/+bug/1451564

You probably have to register first to add a comment though. There is a "Register" link at the top-right to do that.
Comment 16 Wolfgang Bauer 2016-04-19 22:34:28 UTC
FYI, I found out by chance what the likely reason for your problem is:
You probably miss the file /usr/lib/kde4/plugins/gui_platform/libkde.so (the path might be slightly different in Kubuntu).
This is needed so that Qt4 (and KDE4) applications actually use the KDE(4) settings.
Without it, only Qt4's settings are respected. You could use qtconfig to set the style e.g. but there's no option for single/double click.

This file is provided by the KDE4 desktop/workspace package (kde-workspace or similar). In openSUSE it's part of the subpackage kdebase4-workspace-libs which is still included and installed by default (it can be installed alongside Plasma5, unlike the actual KDE4 desktop).
No idea whether it's available in Kubuntu, or in which package it would be contained.

But maybe somebody could add this information to the Kubuntu bug report, I don't have an account.
Comment 17 Gunter Ohrner 2016-04-20 08:39:33 UTC
This might be the right idea:

$ ls -l /usr/lib/kde4/plugins/gui_platform/libkde.so
ls: Zugriff auf /usr/lib/kde4/plugins/gui_platform/libkde.so nicht möglich: Datei oder Verzeichnis nicht gefunden
$ apt-file search libkde.so
$
Comment 18 Gunter Ohrner 2016-04-20 08:45:26 UTC
Ok, I submitted this idea to the downstream bugtracker:

https://bugs.launchpad.net/ubuntu/+source/kde-baseapps/+bug/1451564/comments/11