elementary / switchboard-plug-mouse-touchpad

Switchboard Mouse & Touchpad Plug
GNU General Public License v3.0
24 stars 13 forks source link

Can not disable middle click paste #69

Closed IamLizu closed 4 years ago

IamLizu commented 5 years ago

System is updated. I see that even if I disable middle click paste from the system settings, its stays enabled.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/68383228-can-not-disable-middle-click-paste?utm_campaign=plugin&utm_content=tracker%2F60165266&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60165266&utm_medium=issues&utm_source=github).
peteruithoven commented 5 years ago

In all apps? Even the native (gtk3) ones? Relevant: https://github.com/elementary/switchboard-plug-mouse-touchpad/pull/46#issuecomment-436626376

IamLizu commented 5 years ago

Its kinda weird, now its not working at all even if function is enabled. I see some other users also complaining about this on elementary OS Stack Exchange site.

peteruithoven commented 5 years ago

I now see that a fix: https://github.com/elementary/switchboard-plug-mouse-touchpad/pull/46 Was merged after the latest release: https://github.com/elementary/switchboard-plug-mouse-touchpad/releases

Could you try it with the master version? As in you clone, build and install the latest version? These instructions should help: https://github.com/elementary/switchboard-plug-mouse-touchpad#building-and-installation

IamLizu commented 5 years ago

Yes I have installed the latest version as you suggested. Sadly, no help. Middle click paste don't work at all. Its weird, I opened this issue because I can't turn off middle click paste. Now its kinda gone dark and don't turn on at all.

sprite-1 commented 5 years ago

I have the original issue as well. Even if the setting is set to disable, it's still enabled in the system.

It works without problems on native GTK apps such as Code and AppCenter but not on non-GTK like Firefox or Sublime Text 3

IamLizu commented 5 years ago

I guess you already tried the solution @peteruithoven provided above. if not, you can try.

arshubham commented 5 years ago

@sprite-1 It is upto the 3rd party toolkits/apps to respect the middle click setting. By default only gtk apps are ensured to work. Vscode provides "editor.selectionClipboard": false setting to disable middle click paste. Firefox provides middlemouse.contentLoadURL & middlemouse.paste keys in about:config . According to my quick research middle click paste is a feature of X and cannot be disabled only remapped.

@IamLizu Are you still experiencing this issue?

sprite-1 commented 5 years ago

@arshubham then there should be a disclaimer there when toggling it because I can see the average user just seeing this as a "broken feature"

arshubham commented 5 years ago

@sprite-1 Yeah will look into clarifying the help text more.

danirabbit commented 4 years ago

It sounds like this is working as intended but some 3rd party apps are overriding or providing their own behaviors.

We already disclaimer in AppCenter and Sideload that uncurated apps haven't been tested for integration and may exhibit unexpected behavior, so I don't think additional text here really makes sense. That could be said for many many settings and would just clutter things up.

I'm going to close this as "Out of Scope" since it sound like the actual issue is in some other app and an issue report should be filed against that app