Closed Bug 1315264 Opened 8 years ago Closed 7 years ago

Minimizing or maximizing the window with a stylus throws black lines on www.addtext.com when Pointer Events is preffed on

Categories

(Core :: DOM: Events, defect, P3)

52 Branch
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox52 --- affected
firefox53 --- fixed

People

(Reporter: asimonca, Assigned: stone)

References

()

Details

Attachments

(3 files)

[Affected versions]:
- Nightly 52.0a1

[Affected platforms]:
- Windows 10 x64

[Steps to reproduce]:
Make sure that the build has e10s enabled and the pref "browser.tabs.remote.force-enable" set to "true".

1. Go to about:config and set the "dom.w3c_pointer_events.enabled" preff to "true"
2. Go to www.addtext.com
3. Tap on the "Restore down / maximize" button next to the "X" / "Close" one with a stylus.

[Expected result]:
- The window is minimized or maximized accordingly.

[Actual result]:
- The window is minimized / maximized but there are black lines thrown to the Firefox window.

[Regression range]:
- This is not a regression since this is a new feature.

[Additional notes]:
- This issue is not reproducible by mouse or touch, only by stylus and only with Pointer Events preffed on.

- Please see the URL section for a detailed screenshot of the issue.
Priority: -- → P3
Assignee: nobody → sshih
The easier way to reproduce this problem is dragging the Window with pen after drawing something (with pen) on the Window. The pen path will be redrawn when the window is invalidated.
Attachment #8815190 - Flags: review?(masayuki) → review?(jmathies)
Comment on attachment 8815190 [details]
Bug 1315264: Set InkCollector.AutoRedraw to false to prevent repainting when the window is invalidated.

https://reviewboard.mozilla.org/r/96216/#review97506
Attachment #8815190 - Flags: review?(jmathies) → review+
Hi stone,
This issue can be reproduced in Windows7. Thank you.

Version: Firefox 53.0a1(2016-12-27)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/141fe3b986cd
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Is it something we should uplift to 52? I have difficulty to see the impact
Flags: needinfo?(sshih)
It only happens when users turn on pointer event preference and operate FF with a stylus on Windows. After drawing something on FF with the stylus and trigger window to be repainted (ex. drag the window, maximize, or minimize the window), the drawn lines will be shown on FF (then disappeared)
Flags: needinfo?(sshih)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: