VirtualBox

Ticket #2093 (new defect)

Opened 6 years ago

Last modified 6 years ago

Panning / auto scroll too slow

Reported by: A20_user Owned by:
Priority: major Component: GUI
Version: VirtualBox 2.0.0 Keywords:
Cc: Guest type: Windows
Host type: Windows

Description

(Guest Vista, Host XP) Guest display larger than Host & Full Screen: It takes a lot too much mouse movement to scroll the screen (panning) (probably design error, it scrolls if mouse is beyond screen), and mouse is in the edge already. Screen shall follow fast and before (e.g. 30 to 100 pixels) mouse reaches edge.

Change History

comment:1 Changed 6 years ago by A20_user

Guest Additions are installed.

comment:2 Changed 6 years ago by A20_user

How good panning works The visible window provides a look into a larger canvas and shall follow the cursor (mouse pointer hot spot). Define a border area at the edges of the visible window (inside it). Border width depends on application, proven good values are 32 to 128 pixels. If the cursor enters the border area, the visible window is scrolled by as much pixels as the cursor is inside the border area. No scroll if edges of window and canvas are already aligned, less scroll if this is the last step to alignment. The cursor relative to visible window is positioned into the opposite direction by the number of pixels the window has been moved. That way cursor position in the canvas remains unchanged by scroll operation.

The badly working code is inside file "VBoxConsoleView.cpp" inside "src\VBox\Frontends\VirtualBox4\src\" and "src\VBox\Frontends\VirtualBox4\src\" after comment "/* try to automatically scroll the guest canvas if the". scrollBy() which may need rework, too, is only inside file "VBoxConsoleView.h" inside "src\VBox\Frontends\VirtualBox4\src\".

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use