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

RESOLVED FIXED in Firefox 53

Status

()

Core
DOM: Events
P3
normal
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: asimonca, Assigned: stone)

Tracking

(Blocks: 1 bug)

52 Branch
mozilla53
x86_64
Windows 10
Points:
---

Firefox Tracking Flags

(firefox52 affected, firefox53 fixed)

Details

(URL)

MozReview Requests

()

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

Attachments

(3 attachments)

(Reporter)

Description

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

Updated

a year ago
Assignee: nobody → sshih
(Assignee)

Comment 1

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

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
mozreview-review
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)
status-firefox53: --- → affected
Comment hidden (mozreview-request)
(Assignee)

Updated

a year ago
Keywords: checkin-needed
landed as https://hg.mozilla.org/integration/autoland/rev/141fe3b986cd80d7781545b24413462735c76545 (not sure why the bot failed to comment_
Keywords: checkin-needed

Comment 10

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/141fe3b986cd
Status: NEW → RESOLVED
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)
(Assignee)

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.