VirtualBox

Ticket #700 (new defect)

Opened 7 years ago

Last modified 4 years ago

No Horizontal Scrolling in Guest VMs

Reported by: jwc Owned by:
Priority: trivial Component: other
Version: VirtualBox 1.5.0 Keywords: Horizontal, Scrolling
Cc: Guest type: other
Host type: other

Description

As per:  http://forums.virtualbox.org/vieatopic.php?t=1794

VirtualBox's mouse driver (the one installed with the Guest Additions package) doesn't seem to support horizontal scrolling, although it supports vertical scrolling quite well.

Attachments

sdlkey.c Download (2.4 KB) - added by frank 7 years ago.

Change History

Changed 7 years ago by frank

comment:1 follow-up: ↓ 2 Changed 7 years ago by frank

Supporting this mouse should not be a big problem but as we don't have such a mouse handy, it is difficult to test. I've added a small SDL example application which you can compile on a Linux host with

gcc -O2 -o sdlkey sdlkey.c

Ensure you have the SDL development stuff installed. Start the application and try horizontal scrolling while you are over the SDL window. What is the output of the example program?

comment:2 in reply to: ↑ 1 Changed 7 years ago by jwc

Replying to frank:

Supporting this mouse should not be a big problem but as we don't have such a mouse handy, it is difficult to test. I've added a small SDL example application which you can compile on a Linux host with

gcc -O2 -o sdlkey sdlkey.c

Ensure you have the SDL development stuff installed. Start the application and try horizontal scrolling while you are over the SDL window. What is the output of the example program?

Sorry for the long delay.

Scroll Left: (event->type=5) BTNUP: 6, 1 (event->type=6) BTNUP: 6, 0

Scroll Right: (event->type=5) BTNUP: 7, 1 (event->type=6) BTNUP: 7, 0

comment:3 Changed 7 years ago by jwc

Blegh, forgot to <pre> that.

Scroll Left:

(event->type=5)
BTNUP: 6, 1
(event->type=6)
BTNUP: 6, 0

Scroll Right:

(event->type=5)
BTNUP: 7, 1
(event->type=6)
BTNUP: 7, 0 

comment:4 follow-up: ↓ 5 Changed 7 years ago by frank

Thanks for the response. It will probably took a little bit more time to implement this because the IMPS/2 mouse we emulate seems to not support horizontal scrolling.

comment:5 in reply to: ↑ 4 Changed 7 years ago by jwc

Replying to frank:

Thanks for the response. It will probably took a little bit more time to implement this because the IMPS/2 mouse we emulate seems to not support horizontal scrolling.

Sounds great! I hope everything works out well. :)

comment:6 Changed 6 years ago by frank

  • Component changed from other to GUI

comment:7 Changed 6 years ago by frank

  • Component changed from GUI to other

comment:8 Changed 6 years ago by jwc

Are there any plans to implement a fix for this problem?

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use