Opened 16 years ago
Closed 8 years ago
#2093 closed defect (obsolete)
Panning / auto scroll too slow
Reported by: | A20_user | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 2.0.0 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Windows |
Description (last modified by )
(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 (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
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\".
comment:3 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Guest Additions are installed.