| Summary: | Misaligned Mousepointer and Window when using NEWT BCM VC IV on Raspberry Pi | ||
|---|---|---|---|
| Product: | [JogAmp] Newt | Reporter: | Xerxes Rånby <xerxes> |
| Component: | embedded | Assignee: | Sven Gothel <sgothel> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 2.3.2 | ||
| Hardware: | embedded_arm | ||
| OS: | linux | ||
| Type: | DEFECT | SCM Refs: |
a566a1b5a2828b38f1a5c4dfb215ab9b03e7acaa
1584cae39c6dca9e372000bb64534c881ebc3511
51268bc9874de7cc34dfe7741187238f7d46aafc
|
| Workaround: | --- | ||
|
Description
Xerxes Rånby
2015-07-17 02:55:20 CEST
commit a566a1b5a2828b38f1a5c4dfb215ab9b03e7acaa
Clamp window position and size to 0/0 and screen-size,
avoiding out-of screen window positions on BCM VC IV hardware
Out of screen window positions on BCM VC IV hardware cause:
- Misalignment of self-rendered mouse-pointer / window
due to window-offset.
- Artifacts when moving the mouse pointer partially
out of screen.
We still need to add the window position to rel. mouse-pointer position.
commit 1584cae39c6dca9e372000bb64534c881ebc3511
Add window-position to window-relative mouse position in
DisplayDriver.moveActivePointerIcon(..) call
commit 51268bc9874de7cc34dfe7741187238f7d46aafc
Refine clamping of window position and size at native creation
- Refines commit a566a1b5a2828b38f1a5c4dfb215ab9b03e7acaa
- Issue clamping at 'canCreateNativeImpl()' instead of 'createNativeImpl()',
allowing to define clamped position and size before utilizing these values
at caller 'createNative()'.
Otherwise a clamped position would cause to wait for the original position
after 'createNativeImpl()'.
This also allows to remove the positionChanged(..) / sizeChanged(..) calls in
the native CreateWindow0() implementation.
|