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

RESOLVED FIXED in Firefox 53



DOM: Events
2 years ago
a year ago


(Reporter: asimonca, Assigned: stone)


(Blocks: 1 bug)

52 Branch
Windows 10

Firefox Tracking Flags

(firefox52 affected, firefox53 fixed)



MozReview Requests


Submitter Diff Changes Open Issues Last Updated
Error loading review requests:


(3 attachments)



2 years ago
Created attachment 8807554 [details]
lines on firefox with pen.mp4

[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
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


a year ago
Assignee: nobody → sshih

Comment 1

a year ago
Created attachment 8815188 [details] [diff] [review]
Set InkCollector.AutoRedraw to false to prevent repainting when the window is invalidated

Comment 2

a year ago
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.
Comment hidden (mozreview-request)
Attachment #8815190 - Flags: review?(masayuki) → review?(jmathies)

Comment 5

a year ago
Comment on attachment 8815190 [details]
Bug 1315264: Set InkCollector.AutoRedraw to false to prevent repainting when the window is invalidated.
Attachment #8815190 - Flags: review?(jmathies) → review+
Hi stone,
This issue can be reproduced in Windows7. Thank you.

Version: Firefox 53.0a1(2016-12-27)
status-firefox53: --- → affected
Comment hidden (mozreview-request)


a year ago
Keywords: checkin-needed
landed as (not sure why the bot failed to comment_
Keywords: checkin-needed

Comment 10

a year ago
Last Resolved: a year ago
status-firefox53: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Is it something we should uplift to 52? I have difficulty to see the impact
Flags: needinfo?(sshih)

Comment 12

a year ago
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.