Opened 9 years ago

Last modified 8 weeks ago

#5604 assigned bug

Inconsistent dragging behavior with ps2 trackpad

Reported by: PieterPanman Owned by: czeidler
Priority: normal Milestone: R1
Component: Drivers/Input/PS2/Mouse Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I have an HP EliteBook 8530w notebook. It has a touchpad and a trackpad (the little rubber knob in the middle of the keyboard that acts as a mouse). At least I think that is called a trackpad. They both have their own 3 buttons. Using the touchpad works fine, including dragging using its buttons.

However, using both the trackpad and its buttons acts funny. When I want to drag something on the desktop by left-clicking on an icon and starting to drag using the trackpad, the item is simply selected but does not move. When I repeat the same with the touchpad and its mouse buttons, it moves just fine. When I click using the trackpad buttons, and drag using the touchpad it also works.

Strangely, dragging windows around with the trackpad and its left button works fine. Selecting text using the trackpad also works.

I have attached the startup syslog with ps2 tracing on (in ps2_common.h). I have also attacked a piece of syslog with me first attempting to move an icon on the desktop using the trackpad buttons and 'mouse' knob. After that I move a window (success), and type some commands to copy the syslog. Also attached the /dev/input tree

Using my usb mouse works fine.

I do not have a wacom (seems to show up in /dev/input/wacom, may be nothing)

hrev35920 gcc4Hybrid, built on Fedora 11 64 bits.

Related to #3152?

Attachments (3)

syslog_startup.txt (383.8 KB) - added by PieterPanman 9 years ago.
syslog_trackpad_drag.txt (133.4 KB) - added by PieterPanman 9 years ago.
ls_dev_input.txt (331 bytes) - added by PieterPanman 9 years ago.

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by PieterPanman

Attachment: syslog_startup.txt added

Changed 9 years ago by PieterPanman

Attachment: syslog_trackpad_drag.txt added

Changed 9 years ago by PieterPanman

Attachment: ls_dev_input.txt added

comment:1 Changed 9 years ago by PieterPanman

Another example, I can click and drag in text to select portions of it in StyleEdit, but not in WebPositive. There it simply moves the caret to the new position but does not select text on dragging. Click to activate focus mode. Don't accept first click (default haiku settings)

comment:2 Changed 9 years ago by stippi

Owner: changed from marcusoverhagen to czeidler
Status: newassigned

Since Clemens wrote the driver responsible for this hardware, I'm assigning to him.

comment:3 Changed 8 years ago by mmu_man

It seems to be the same behavious I have with the VirtualBox guest additions I wrote. Because I implemented it as a device, but since I only get absolute position from their fake PCI device but not buttons status, some apps go nuts when receiving B_MOUSE_MOVED messages without the buttons field. Likely input_server doesn't merge the buttons between messages. I'm not sure it should do though, it might cause trouble when implementing multi-touch later on :p

comment:4 Changed 8 years ago by PieterPanman

Ok, I'm not familiar enough with the way this should all work. But if there's a new version I'm willing to test it, (recompiled debugversions if necessary).

comment:5 Changed 10 months ago by miqlas

Happens on hrev52047 too. x86_/4. Moving windows, selecting text work, but drag and dropping a folder doesn't.

comment:6 Changed 8 weeks ago by waddlesplash

Component: Drivers/Mouse/PS2Drivers/Input/PS2/Mouse
Note: See TracTickets for help on using tickets.