Opened 6 weeks ago

Closed 6 weeks ago

#18973 closed bug (fixed)

Strange mouse behaviours in recent images

Reported by: kallisti5 Owned by: madmax
Priority: blocker Milestone: R1/beta5
Component: Servers/input_server Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Appearing somewhere between hrev578xx and hrev57924, mouse behavior is now broken under Haiku booted on real hardware.

As of hrev57936, the same behavior is witnessed.

Examples:

  • Deskbar
    • Click deskbar menu, it pops up as expected.
    • Hover over menu items works, unable to click on them to activate
  • Network Manager Icon (wifi)
    • Right click on icon, menu pops up. Unable to click on networks
  • AppServer
    • Click window to focus ok
    • Unable to click window controls
  • Tracker
    • Click to select files ok
    • Click file to select ok
    • Double click no action
    • Right click no action
  • Desktop
    • Click to select file ok
    • Double click no action
    • Right click no action

Input:

  • USB Mouse, works fine otherwise everywhere else (linux, etc)
  • Working pre ~ hrev57924 (hrev578xx likely)

Attachments (1)

Mouse_settings (350 bytes ) - added by kallisti5 6 weeks ago.
Mouse_settings per waddlesplash

Download all attachments as: .zip

Change History (6)

by kallisti5, 6 weeks ago

Attachment: Mouse_settings added

Mouse_settings per waddlesplash

comment:1 by kallisti5, 6 weeks ago

Can be reproduced in qemu. Cause is my Mouse_settings from 2023

  • qemu-system-x86_64 -device usb-mouse -usb observe functional
  • Grab Mouse_settings, put into ~/config/settings/
  • Sync, reboot
  • Erratic mouse behavior
  • Clicking around is broken as described
  • Remove Mouse_settings, reboot
  • Issue goes away

comment:2 by waddlesplash, 6 weeks ago

Component: - GeneralServers/input_server
Owner: changed from nobody to madmax
Status: newassigned

comment:3 by madmax, 6 weeks ago

Status: assignedin-progress

Those settings are quite but not completely broken, they have the correct format but describe a 2-button mouse with the first eight buttons mapped to nothing and a 0-button mouse with the same mappings. The speed also seems to be quite high, the maximum the Input preferences allow.

Before the changes that didn't matter because all mice lost their button mappings and got the default ones on boot, irrespective of what the settings said.

Workaround: open Input preferences, select mouse and click defaults.

I guess it'd be nice to add some checks on settings load like use default mappings if any of the buttons map to 0.

comment:4 by waddlesplash, 6 weeks ago

X512 also reported a similar problem on IRC but I think he just deleted his settings file. So it sounds like we may wind up with more broken settings files like this and should indeed tolerate them by just using the defaults.

comment:5 by waddlesplash, 6 weeks ago

Resolution: fixed
Status: in-progressclosed

Fix merged in hrev57941.

Note: See TracTickets for help on using tickets.