Opened 14 years ago

Last modified 5 years 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:
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 14 years ago.
syslog_trackpad_drag.txt (133.4 KB ) - added by PieterPanman 14 years ago.
ls_dev_input.txt (331 bytes ) - added by PieterPanman 14 years ago.

Download all attachments as: .zip

Change History (9)

by PieterPanman, 14 years ago

Attachment: syslog_startup.txt added

by PieterPanman, 14 years ago

Attachment: syslog_trackpad_drag.txt added

by PieterPanman, 14 years ago

Attachment: ls_dev_input.txt added

comment:1 by PieterPanman, 14 years ago

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 by stippi, 14 years ago

Owner: changed from marcusoverhagen to czeidler
Status: newassigned

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

comment:3 by mmu_man, 13 years ago

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 by PieterPanman, 13 years ago

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 by miqlas, 6 years ago

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

comment:6 by waddlesplash, 5 years ago

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