Opened 3 months ago
Closed 3 months 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)
Change History (6)
by , 3 months ago
Attachment: | Mouse_settings added |
---|
comment:1 by , 3 months 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 , 3 months ago
Component: | - General → Servers/input_server |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 3 months ago
Status: | assigned → in-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 , 3 months 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 , 3 months ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Fix merged in hrev57941.
Mouse_settings per waddlesplash