Bug 20498 - Right clicking with FocalTechPS/2 FocalTech Touchpad made by HP does not work in MATE or Cinnamon, but a USB connect mouse works.
Summary: Right clicking with FocalTechPS/2 FocalTech Touchpad made by HP does not work...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-16 04:35 CET by Kristoffer Grundström
Modified: 2018-09-21 09:40 CEST (History)
7 users (show)

See Also:
Source RPM: task-mate-minimal
CVE:
Status comment:


Attachments
lspcidrake output (3.92 KB, text/plain)
2017-03-16 04:36 CET, Kristoffer Grundström
Details
lshw output (17.70 KB, text/plain)
2017-03-16 04:42 CET, Kristoffer Grundström
Details
lsmod output (9.45 KB, text/plain)
2017-03-16 04:48 CET, Kristoffer Grundström
Details
my-input-devices (3.80 KB, text/plain)
2017-03-18 10:43 CET, Kristoffer Grundström
Details
xinput-button-output (1.60 KB, text/plain)
2017-03-27 21:38 CEST, Kristoffer Grundström
Details
My xorg.conf (2.48 KB, text/plain)
2017-05-17 00:47 CEST, Kristoffer Grundström
Details
My old xorg.conf (2.48 KB, text/plain)
2017-05-17 00:48 CEST, Kristoffer Grundström
Details
Module not found running harddrake2 (3.03 KB, text/plain)
2017-07-15 00:40 CEST, Kristoffer Grundström
Details

Description Kristoffer Grundström 2017-03-16 04:35:29 CET
Description of problem: I just used the stage2 DVD iso to install with and during the installation I didn't touch any mouse settings at the summary screen.
However when I entered MATE I noticed that right clicking on the MATE desktop or inside of Firefox didn't work with the standard Adwaita theme and as I switched to use the BlackMATE theme the problem still remains. I use all medias except Backports and Testing and I'm fully updated.

Version-Release number of selected component (if applicable): 1.16.0

How reproducible: Everytime I login to MATE.

Steps to Reproduce:
1. Install MATE, Plasma5, Cinnamon, GNOME in the installation.
2. Make sure you're fully updated.
3. Login to the desktop and right click on it.
4. Voila! It doesn't work.
Comment 1 Kristoffer Grundström 2017-03-16 04:36:32 CET
Created attachment 9102 [details]
lspcidrake output
Comment 2 Kristoffer Grundström 2017-03-16 04:42:38 CET
Created attachment 9103 [details]
lshw output
Comment 3 Kristoffer Grundström 2017-03-16 04:48:20 CET
Looking in harddrake2 I see that my Mouse is called âFocalTechPS/2 FocalTech Touchpad and in the terminal I see this error when I click to see what kind of mouse properties I have even thou it's used:

modinfo: ERROR: Module mouse0 not found.
Comment 4 Kristoffer Grundström 2017-03-16 04:48:55 CET
Created attachment 9104 [details]
lsmod output
Comment 5 Marja Van Waes 2017-03-16 09:24:48 CET
(In reply to Kristoffer Grundström from comment #3)

> 
> modinfo: ERROR: Module mouse0 not found.

Maybe that's a red herring? here I see:

     modinfo: ERROR: Module mouse1 not found
and
     modinfo: ERROR: Module mouse2 not found

CC'ing mageiatools maintainers.


You don't mention whether the mouse works fine in Gnome, Plasma5 and Cinnamon, even if your summary makes me assume it does. However, please confirm (or not).

Keywords: (none) => NEEDINFO
CC: (none) => mageiatools, marja11, tarakbumba

Comment 6 Kristoffer Grundström 2017-03-17 22:37:02 CET
I just tested the program called xev and rightclicking with it does not give me any errors so the right button seems to work fine, but no right click menu appears.
Comment 7 Kristoffer Grundström 2017-03-17 22:47:53 CET
> You don't mention whether the mouse works fine in Gnome, Plasma5 and
> Cinnamon, even if your summary makes me assume it does. However, please
> confirm (or not).

As I have no other DE working I can't really test it.

Plasma4 gives me a darker screen when I log in and no menues or desktop icons what-so-ever.

Cinnamon crashes into Fallback mode and asks me if I want to restart it.

I'll install Gnome again to test there.
Comment 8 Atilla ÖNTAŞ 2017-03-17 23:02:32 CET
(In reply to Kristoffer Grundström from comment #0)
> Description of problem: I just used the stage2 DVD iso to install with and
> during the installation I didn't touch any mouse settings at the summary
> screen.
> However when I entered MATE I noticed that right clicking on the MATE
> desktop or inside of Firefox didn't work with the standard Adwaita theme and
> as I switched to use the BlackMATE theme the problem still remains. I use
> all medias except Backports and Testing and I'm fully updated.
> 
> Version-Release number of selected component (if applicable): 1.16.0
> 
> How reproducible: Everytime I login to MATE.
> 
> Steps to Reproduce:
> 1. Install MATE, Plasma5, Cinnamon, GNOME in the installation.
> 2. Make sure you're fully updated.
> 3. Login to the desktop and right click on it.
> 4. Voila! It doesn't work.

Kristoffer, r you sure that you don't have a mouse/hardware related problem? Or a misconfiguration at install stage? I have did a netinstall here and no issues here. But on a VM.
Comment 9 Kristoffer Grundström 2017-03-18 01:56:08 CET
> Kristoffer, r you sure that you don't have a mouse/hardware related problem?

A hardware problem? No, since it works in all the DE's with Ubuntu 16.04 and 16.10.

I did NOT change any mouse settings in the installation summary.
Comment 10 Kristoffer Grundström 2017-03-18 01:58:50 CET
And right clicking was working fine in Mageia 5.
Comment 11 Thierry Vignaud 2017-03-18 07:51:14 CET
So you only have a touchpad, no "external" mouse (usb, ...)?
Please attach (not paste) the output of libinput-list-devices
eg: "libinput-list-devices > /tmp/my-input-devices.txt"

CC: (none) => thierry.vignaud

Comment 12 Kristoffer Grundström 2017-03-18 10:43:00 CET
Created attachment 9114 [details]
my-input-devices

No, I don't have any external mouse connected at the moment.
Comment 13 Thierry Vignaud 2017-03-18 21:37:41 CET
Then everything is detected right and this is mate issue.
I assume this is a mate 1.18.0 regression over 1.16.0?

Keywords: NEEDINFO => (none)

Comment 14 Atilla ÖNTAŞ 2017-03-18 22:04:33 CET
(In reply to Thierry Vignaud from comment #13)
> Then everything is detected right and this is mate issue.
> I assume this is a mate 1.18.0 regression over 1.16.0?

Can't be. He stated that it happens on 1.16.0. Btw, Kristoffer, what about your Gnome test? Right click working? Do you mind to open Mate Control Center > Mouse > Touchpad tab to see if it is enabled? I'll test sta2 iso if i manage to download it (internet problems here) but on a VM.
Comment 15 Kristoffer Grundström 2017-03-19 03:01:10 CET
(In reply to Atilla ÃNTAÅ from comment #14)
> (In reply to Thierry Vignaud from comment #13)
> > Then everything is detected right and this is mate issue.
> > I assume this is a mate 1.18.0 regression over 1.16.0?
> 
> Can't be. He stated that it happens on 1.16.0. Btw, Kristoffer, what about
> your Gnome test? Right click working? Do you mind to open Mate Control
> Center > Mouse > Touchpad tab to see if it is enabled? I'll test sta2 iso if
> i manage to download it (internet problems here) but on a VM.

Rightclicking in GNOME Classic works so definatelly a MATE issue.
Comment 16 Kristoffer Grundström 2017-03-19 03:07:39 CET
https://www.pixeltopic.com/image/sbygxiuemrtssy/?size=full shows that it's enabled.
Comment 17 Thierry Vignaud 2017-03-20 17:05:15 CET
(In reply to Kristoffer Grundström from comment #15)
> Rightclicking in GNOME Classic works so definatelly a MATE issue.

Or a bad interaction with gtk+3. See bug #12453 for XFCE vs scroll events.

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=12453

Comment 18 Atilla ÖNTAŞ 2017-03-22 19:15:14 CET
Kristoffer, i'm investigating this issue. Is it same under Mate 1.18.0 ?
Comment 19 Kristoffer Grundström 2017-03-22 20:38:55 CET
(In reply to Atilla ÃNTAÅ from comment #18)
> Kristoffer, i'm investigating this issue. Is it same under Mate 1.18.0 ?

Yes.
Comment 20 Marja Van Waes 2017-03-26 20:36:51 CEST
Hi Atilla,

Sorry for being so late to give feedback.

I am now testing that laptop with mousepad without buttons, and its behaviour is inconsistent.

Sometimes right clicking works fine, other times it doesn't. It's inconsistent like that both with clicking on the desktop, and with clicking on applications, like on the title bar of Firefox.

It was inconsistent in Plasma5, too.

@ Kristoffer

Did you test Gnome in cauldron, or was that a different Gnome?

CC: (none) => ftg

Comment 21 Marja Van Waes 2017-03-26 22:27:40 CEST
I think the inconsistency is solved for me. 

When I installed Cauldron on this laptop, two months ago, in Plasma5 right clicking worked by clicking the bottom right corner of the touchpad, and in XFCE it worked by clicking the upper right corner (_or_ the other way around!)

Now in both it works best by clicking at the bottom, slightly left of the right corner, at 4/5th of the width. Clicking at 5/5th doesn't work.

In Mate-1.18.0-1.mga6, right clicking seems to work consistently when clicking at the top of the touchpad, at 3/4th of the width. 4/5th will do, too, 5/5th doesn't work here.
Comment 22 Kristoffer Grundström 2017-03-27 07:06:51 CEST
> Did you test Gnome in cauldron, or was that a different Gnome?

Yes, Gnome in Cauldron. If you choose to install only GNOME in Cauldron right clicking works just fine, but as soon as you install task-mate-minimal and login to MATE right clicking only works in GNOME.
Comment 23 Marja Van Waes 2017-03-27 08:27:08 CEST
@ Frank Griffin,

When I CC'ed you, I forgot to tell why ;-)

It's (because you have ample experience as touchpad user & because you reported bugs about them) in case you have some knowledge that could help to figure out why Kristoffer's touchpad doesn't work in Mate.

Btw, now I remember your bug report about "tap to click" not working, which leads to the following addition to my previous comments:

(In reply to Marja van Waes from comment #21)

> In Mate-1.18.0-1.mga6, right clicking seems to work consistently when
> clicking at the top of the touchpad, at 3/4th of the width. 4/5th will do,
> too, 5/5th doesn't work here.

Note that that touchpad is pressable. I haven't tried tapping on it to click, but I pressed it.
Comment 24 Frank Griffin 2017-03-27 16:03:18 CEST
@Marja

I'm subscribed to the bugs list, so I didn't notice that you had CCd me ;-)

I haven't used Mate, but I assume it has some equivalent to KDE System settings, and it seems like it isn't configuring the touchpad geometry correctly.  Most touchpads have the bottom half-inch physically divided into a left and right button, but on some (like the one I'm using right now) the left and right buttons are just drawn on the bottom of the pad.  I can't think of the command to display all the touchpad settings at the moment, but there's a slew of them in xorg.conf and what used to be ktouchpadrc (?) in KDE4.  In Plasma System Settings, you can specify what happens when you click the top left, top right, bottom left, and bottom right, and I'd guess that at the lowest level you can specify the coordinates that bound each of these.

Googling found the command "xinput".  "xinput list" will list your devices, and "xinput list-props "(name of touchpad)"" will list all the properties:

[root@ftglap2 ~]# xinput list-props "ELAN1300:00 04F3:3028 Touchpad"
Device 'ELAN1300:00 04F3:3028 Touchpad':
        Device Enabled (143):   1
        Coordinate Transformation Matrix (145): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (284): 1
        libinput Tapping Enabled Default (285): 0
        libinput Tapping Drag Enabled (286):    1
        libinput Tapping Drag Enabled Default (287):    1
        libinput Tapping Drag Lock Enabled (288):       0
        libinput Tapping Drag Lock Enabled Default (289):       0
        libinput Tapping Button Mapping Enabled (290):  1, 0
        libinput Tapping Button Mapping Default (291):  1, 0
        libinput Accel Speed (292):     0.000000
        libinput Accel Speed Default (293):     0.000000
        libinput Natural Scrolling Enabled (294):       0
        libinput Natural Scrolling Enabled Default (295):       0
        libinput Send Events Modes Available (265):     1, 1
        libinput Send Events Mode Enabled (266):        0, 0
        libinput Send Events Mode Enabled Default (267):        0, 0
        libinput Left Handed Enabled (296):     0
        libinput Left Handed Enabled Default (297):     0
        libinput Scroll Methods Available (298):        1, 1, 0
        libinput Scroll Method Enabled (299):   0, 1, 0
        libinput Scroll Method Enabled Default (300):   1, 0, 0
        libinput Click Methods Available (301): 1, 1
        libinput Click Method Enabled (302):    1, 0
        libinput Click Method Enabled Default (303):    1, 0
        libinput Middle Emulation Enabled (304):        0
        libinput Middle Emulation Enabled Default (305):        0
        libinput Disable While Typing Enabled (306):    1
        libinput Disable While Typing Enabled Default (307):    1
        Device Node (268):      "/dev/input/event12"
        Device Product ID (269):        1267, 12328
        libinput Drag Lock Buttons (308):       <no items>
        libinput Horizontal Scroll Enabled (309):       1

Probably "Coordinate Transformation Matrix" is what's keeping the absolute edges (5/5) from responding.  As to how to change these, I have no idea.  Probably the libinput docs would say for the CLI, but how/whether the Mate UI allows this, no clue.
Comment 25 Marja Van Waes 2017-03-27 17:17:09 CEST
Thanks for the feedback, Frank :-)

@ Kristoffer

Can you try whether the right button area of your touchpad is in a different place than expected, when using Mate?

And, in case it contains some useful information, do also attach the output of:

   xinput list-props "FocalTechPS/2 FocalTech Touchpad"


(You might need to first install xinput)
Comment 26 Kristoffer Grundström 2017-03-27 21:38:22 CEST
Created attachment 9160 [details]
xinput-button-output
Comment 27 Kristoffer Grundström 2017-03-27 21:39:29 CEST
> Can you try whether the right button area of your touchpad is in a different
> place than expected, when using Mate?

No, it isn't on any other area on the touchpad.
Comment 28 Frank Griffin 2017-03-27 22:40:59 CEST
I just confirmed this.  Right-clicking on the desktop has no effect, and right-clicking on an icon simply selects it, as if you had left-clicked on it.

Possibly this worked under synaptics and broke when we replaced that with libinput ?
Thierry Vignaud 2017-03-28 02:21:12 CEST

Attachment 9160 mime type: text/x-log => text/plain

Comment 29 Thierry Vignaud 2017-03-28 02:23:31 CEST
Mate is supposed to now have basic support for touchpad:
http://segfault.linuxmint.com/2015/09/mate-better-touchpad-support/

Older hints were to use dconf...
https://wiki.archlinux.org/index.php/Touchpad_Synaptics#MATE
Comment 30 Kristoffer Grundström 2017-03-28 07:57:46 CEST
(In reply to Thierry Vignaud from comment #29)
> Mate is supposed to now have basic support for touchpad:
> http://segfault.linuxmint.com/2015/09/mate-better-touchpad-support/
> 
> Older hints were to use dconf...
> https://wiki.archlinux.org/index.php/Touchpad_Synaptics#MATE

I checked all the settings and they're OK, but still no right click.

Even the command xinput list-props "FocalTechPS/2 FocalTech Touchpad" | grep Capabilities from the archlinux wiki gave me a blank row as a result.
Marja Van Waes 2017-03-28 09:40:38 CEST

Assignee: bugsquad => tarakbumba

Comment 31 Kristoffer Grundström 2017-03-29 00:04:11 CEST
I got this issue in Cinnamon now as well.

Summary: Right clicking anywhere is disabled as standard in MATE => Right clicking anywhere is disabled as standard in MATE and Cinnamon

Comment 32 Kristoffer Grundström 2017-04-04 14:42:53 CEST
Any progress on this? It still doesn't work for me.
Comment 33 Marja Van Waes 2017-04-17 18:49:20 CEST
Readding comment #33 from 07-04-17 23:21, because it got lost when the old DB was restored.


--- Comment #33 from Kristoffer Grundström ---
My UPSTREAM bugreport to the kernel bugzilla got closed as invalid with this
reply:

> "modinfo" command requires kernel module name, not device name (which "mouse0"
> >is).
>
> I do not know why Mageia uses devices providing emulated PS/2 interface,
> instead of modern event-based interface (/dev/input/eventN), but that's their
> issue.

--

CC: (none) => hamnisdude

Comment 34 Atilla ÖNTAŞ 2017-04-27 21:38:46 CEST
I think still this is a misconfiguration of the touchpad. No one reported same behaviour even i asked in qa ml. Also, your my-input-devices log shows that "Tap-to-click:     disabled" so that should be something other than DE. But i really don't have a real answer. Note that you may need to use synaptics touchpad driver since we use libinput to configure touchpad on Mageia 6 by default.
Comment 35 Marja Van Waes 2017-04-28 09:21:43 CEST
(In reply to Atilla ÖNTAŞ from comment #34)
> I think still this is a misconfiguration of the touchpad. No one reported
> same behaviour even i asked in qa ml. 

Changing status to UNCONFIRMED.

@ anyone who can reproduce the issue: Please change the status back to NEW

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 36 Kristoffer Grundström 2017-05-03 01:48:00 CEST
I can also reproduce this on the RC version of Mageia 6.

Tried with tmb's kernel and no change.
Comment 37 Kristoffer Grundström 2017-05-04 17:26:26 CEST
I have narrowed it down to that MATE and Cinnamon has done something to make the Optional PS/2- or USB mouse not work when you right click since if I open mousedrake and click on USB and then choose Wheel and restart X, right click works in MATE. Haven't tried in Cinnamon yet thou.
Comment 38 Marja Van Waes 2017-05-05 21:47:34 CEST
> (In reply to Atilla ÖNTAŞ from comment #34)
> > I think still this is a misconfiguration of the touchpad. No one reported
> > same behaviour even i asked in qa ml. 
> 
> Changing status to UNCONFIRMED.
> 

Oops, Frank Friffin had already confirmed the issue in comment #28 :
> I just confirmed this.  Right-clicking on the desktop has no effect, and
> right-clicking on an icon simply selects it, as if you had left-clicked on
> it.
> 

So changing status back to NEW

(In reply to Kristoffer Grundström from comment #37)
> I have narrowed it down to that MATE and Cinnamon has done something to make
> the Optional PS/2- or USB mouse not work when you right click since if I
> open mousedrake and click on USB and then choose Wheel and restart X, right
> click works in MATE. Haven't tried in Cinnamon yet thou.

In reply to your question in #mageia-dev

2017:05:05:21:07 < Umeaboy> Any chance of seeing my issue with the touchpad 
                            fixed? I have reproduced this more than 5 times.

We need to figure out why you and Frank have this problem, and everybody else doesn't

Ever confirmed: 0 => 1
Status: UNCONFIRMED => NEW

Comment 39 Kristoffer Grundström 2017-05-13 17:36:50 CEST
PING!
Comment 40 Marja Van Waes 2017-05-13 19:40:00 CEST
Please don't shout, Kristoffer.
Comment 41 Atilla ÖNTAŞ 2017-05-16 21:20:41 CEST
Sorry for late reply, real life takes whole time. Back to the topic, Kristoffer, after you play with mousedrake, there should be an /etc/X11/xorg.conf.old file or something similar in /etc/X11/xorg.conf.d directory. Would you mind to add your current xorg.conf and xorg.conf.old files? Your experiment with mousedrake tells me that there is a misconfiguration in xorg for your touchpad brand/driver. Notice that, your Gnome experiment is irrelevant here because, if i'm not wrong on this, Gnome runs on top of Wayland.
Comment 42 Kristoffer Grundström 2017-05-17 00:47:59 CEST
Created attachment 9313 [details]
My xorg.conf
Comment 43 Kristoffer Grundström 2017-05-17 00:48:33 CEST
Created attachment 9314 [details]
My old xorg.conf
Comment 44 Kristoffer Grundström 2017-05-17 01:59:42 CEST
This time I used the Mageia-6-sta2-LiveDVD-GNOME-x86_64-DVD.iso to install and as soon as I installed task-mate and rebooted the mouse didn't work in MATE, but it still does in GNOME Shell.
Comment 45 Atilla ÖNTAŞ 2017-06-02 20:44:09 CEST
Hi Kristoffer. As i wrote before this issue doesn't Desktop related issue but you X and touchpad drivers configuration issue i think. Please test this with other Xorg based desktop like Xfce. I bet you'll see same thing happen. Please note that Gnome Shell is on top of Wayland so not relevant here.
Comment 46 Kristoffer Grundström 2017-06-03 17:29:03 CEST
I have now reinstalled Mageia with the RC iso and I only installed XFCE this time and right click works on the desktop so the problem the problem is either with MATE and/or Cinnamon. Something else that I can try?
Comment 47 Stephen Pettin 2017-06-04 18:47:11 CEST
I've had Mga6 installed since March running only Plasma, besides Openbox. Today I installed Mate and noticed some issues. It turned out when I originally install it, I ran, "urpmi mate-desktop", that's when I noticed issues, After researching I realized I should have ran, "task-mate" and after rebooting, all the issues were gone. I can right click running Mate. The other issues such as when I open apps, they were stuck on the top left corner. So far, those issues are not happening now. Just a thought to this thread.

CC: (none) => saptech

Comment 48 Kristoffer Grundström 2017-06-26 21:40:59 CEST
As I uninstalled all the installed Desktop Environments leaving only Cinnamon the issue can be recreated again.

Any help would be appreciated.

I checked which Mouse I'm using and it says

Universal

  Optional PS/2- or USB mouse

If I change that to

USB

  Wheel

it still won't work.

It used to work before and it definatelly works in Mageia 5, but going back to Mageia 5 from having Mageia 6 (Cauldron) installed on the same harddisk recreates another error that makes it impossible to make even Wayland or X11 starting.
Comment 49 Kristoffer Grundström 2017-07-15 00:40:58 CEST
Created attachment 9490 [details]
Module not found running harddrake2
Comment 50 Kristoffer Grundström 2017-07-15 00:41:36 CEST
I get the same result booting the tmb kernel.
Comment 51 Kristoffer Grundström 2017-08-16 01:48:12 CEST
Once again in a new fresh installation using the netinstall iso I have this issue again. Why is something reseting my choice of mouse during the installation summary?
Comment 52 Kristoffer Grundström 2017-12-02 23:56:20 CET
Did a new installation again and this problem still exists.
Comment 53 Kristoffer Grundström 2018-02-19 00:26:24 CET
Problem still exists.
Kristoffer Grundström 2018-03-19 16:11:52 CET

Summary: Right clicking anywhere is disabled as standard in MATE and Cinnamon => Right clicking with FocalTechPS/2 FocalTech Touchpad made by HP does not work in MATE or Cinnamon, but a USB connect mouse works.

Comment 54 Kristoffer Grundström 2018-03-19 18:22:13 CET
Even though it's also shown in another dist I can confirm that this is in fact an issue with the trackpad.
Comment 55 Kristoffer Grundström 2018-03-19 18:37:08 CET
Any more information needed?
Comment 56 Samuel Verschelde 2018-09-21 09:40:07 CEST
Reassigning to all packagers collectively as the original maintainer is not available anymore (thanks for all your work Atilla!).

Assignee: tarakbumba => pkg-bugs


Note You need to log in before you can comment on or make changes to this bug.