| Summary: | [Mac][WK2] Fullscreen animation incorrect when initiated on non-primary monitor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Jer Noble
2015-03-30 14:32:53 PDT
Created attachment 249763 [details]
Patch
Comment on attachment 249763 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249763&action=review No test? :-( r=me. > Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm:517 > + CGAffineTransform resetOriginTransform = CGAffineTransformMakeTranslation(screenFrame.x() - finalFrame.x(), screenFrame.y() - finalFrame.y()); Interesting! I hadn't thought about the case where the screens might be oriented vertically with respect to each other, but of course that's entirely possible. (In reply to comment #2) > Comment on attachment 249763 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=249763&action=review > > No test? :-( I couldn't figure out a way to artificially create a NSScreen and place the NSWindow into it. :( > r=me. Thanks! Comment on attachment 249763 [details] Patch Clearing flags on attachment: 249763 Committed r182295: <http://trac.webkit.org/changeset/182295> All reviewed patches have been landed. Closing bug. |