Closed
Bug 1070710
Opened 10 years ago
Closed 9 years ago
Don't use private API _regionForOpaqueDescendants for window dragging
Categories
(Core :: Widget: Cocoa, defect, P1)
Tracking
()
VERIFIED
FIXED
mozilla50
People
(Reporter: mstange, Assigned: mstange)
References
Details
(Whiteboard: tpi:+)
Attachments
(4 files, 2 obsolete files)
58 bytes,
text/x-review-board-request
|
spohl
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details |
58 bytes,
text/x-review-board-request
|
spohl
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details |
58 bytes,
text/x-review-board-request
|
spohl
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details |
24.49 KB,
patch
|
gchang
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
I tried this just to see what it would look like, and it doesn't look all that bad to me. I also haven't found any problems caused by the additional NSViews.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8492740 -
Flags: review?(smichaud)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8492741 -
Flags: review?(smichaud)
Comment 3•10 years ago
|
||
As I mentioned in another bug, a big pile of [something] has just been dumped on my plate. So it'll be a while before I get to this. Later this week? Next week?
Fortunately bug 1070038 takes care of the immediate problem.
Assignee | ||
Comment 4•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/63550/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/63550/
Attachment #8769855 -
Flags: review?(spohl.mozilla.bugs)
Attachment #8769856 -
Flags: review?(spohl.mozilla.bugs)
Attachment #8769857 -
Flags: review?(spohl.mozilla.bugs)
Assignee | ||
Comment 5•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/63552/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/63552/
Assignee | ||
Comment 6•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/63554/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/63554/
Assignee | ||
Updated•9 years ago
|
Attachment #8492740 -
Attachment is obsolete: true
Attachment #8492740 -
Flags: review?(smichaud)
Assignee | ||
Updated•9 years ago
|
Attachment #8492741 -
Attachment is obsolete: true
Attachment #8492741 -
Flags: review?(smichaud)
Assignee | ||
Comment 7•9 years ago
|
||
This fixes bug 1284859.
![]() |
||
Updated•9 years ago
|
Priority: -- → P1
Whiteboard: tpi:+
Comment 8•9 years ago
|
||
Comment on attachment 8769855 [details]
Bug 1070710 - Add mozilla::ViewRegion which assembles a LayoutDeviceIntRegion as NSViews.
https://reviewboard.mozilla.org/r/63550/#review61170
::: widget/cocoa/ViewRegion.h:32
(Diff revision 1)
> + * Update the region.
> + * @param aRegion The new region.
> + * @param aCoordinateConverter The nsChildView to use for converting
> + * LayoutDeviceIntRect device pixel coordinates into Cocoa NSRect coordinates.
> + * @param aContainerView The view that's going to be the superview of the
> + * NSViews which will be created for this regions.
nit: s/regions/region/
::: widget/cocoa/ViewRegion.h:34
(Diff revision 1)
> + * @param aCoordinateConverter The nsChildView to use for converting
> + * LayoutDeviceIntRect device pixel coordinates into Cocoa NSRect coordinates.
> + * @param aContainerView The view that's going to be the superview of the
> + * NSViews which will be created for this regions.
> + * @param aViewCreationCallback A block that instantiates new NSViews.
> + * @return Whether the region changed.
nit: s/Whether/Whether or not/
Attachment #8769855 -
Flags: review?(spohl.mozilla.bugs) → review+
Updated•9 years ago
|
Attachment #8769857 -
Flags: review?(spohl.mozilla.bugs) → review+
Comment 9•9 years ago
|
||
Comment on attachment 8769857 [details]
Bug 1070710 - Use ViewRegion for window dragging.
https://reviewboard.mozilla.org/r/63554/#review61166
Comment 10•9 years ago
|
||
Comment on attachment 8769856 [details]
Bug 1070710 - Use ViewRegion for vibrant areas in VibrancyManager.
https://reviewboard.mozilla.org/r/63552/#review61168
Attachment #8769856 -
Flags: review?(spohl.mozilla.bugs) → review+
Comment 11•9 years ago
|
||
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4fa570844827
Add mozilla::ViewRegion which assembles a LayoutDeviceIntRegion as NSViews. r=spohl
https://hg.mozilla.org/integration/mozilla-inbound/rev/c786f596561c
Use ViewRegion for vibrant areas in VibrancyManager. r=spohl
https://hg.mozilla.org/integration/mozilla-inbound/rev/d8b56f47ac04
Use ViewRegion for window dragging. r=spohl
Comment 12•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4fa570844827
https://hg.mozilla.org/mozilla-central/rev/c786f596561c
https://hg.mozilla.org/mozilla-central/rev/d8b56f47ac04
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8769855 [details]
Bug 1070710 - Add mozilla::ViewRegion which assembles a LayoutDeviceIntRegion as NSViews.
Approval Request Comment
[Feature/regressing bug #]: macOS 10.12 Sierra (+ bug 944836)
[User impact if declined]: The user will not be able to drag windows on 10.12 starting with Firefox version 49 or in Gecko-based apps that are not Firefox, due to Apple's "checkfix", see bug 1284859 comment 11.
[Describe test coverage new/current, TreeHerder]: none
[Risks and why]: low to medium, but this patch set has been on Nightly for more than a week and people drag windows all the time, so they probably would already have found the problems if there were any.
[String/UUID change made/needed]: none
Attachment #8769855 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•9 years ago
|
Attachment #8769856 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•9 years ago
|
Attachment #8769857 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Comment 14•9 years ago
|
||
Comment on attachment 8769855 [details]
Bug 1070710 - Add mozilla::ViewRegion which assembles a LayoutDeviceIntRegion as NSViews.
Improve mac os 10.12 support, taking it.
Attachment #8769855 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•9 years ago
|
Attachment #8769856 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•9 years ago
|
Attachment #8769857 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 15•9 years ago
|
||
bugherder uplift |
Comment 16•9 years ago
|
||
Backed out for OSX bustage.
https://treeherder.mozilla.org/logviewer.html#?job_id=3146538&repo=mozilla-aurora#L4961
https://hg.mozilla.org/releases/mozilla-aurora/rev/1a2331a741876542f14ad82f4c5264d70f98c832
Flags: needinfo?(mstange)
Assignee | ||
Comment 17•9 years ago
|
||
Assignee | ||
Comment 18•9 years ago
|
||
Assignee | ||
Comment 19•9 years ago
|
||
Flags: needinfo?(mstange)
Assignee | ||
Comment 20•9 years ago
|
||
Comment on attachment 8777483 [details] [diff] [review]
rollup patch for beta
Approval Request Comment: See comment 13. This was approved for aurora but failed to land before the merge to beta.
Attachment #8777483 -
Flags: approval-mozilla-beta?
Comment 21•9 years ago
|
||
Comment on attachment 8777483 [details] [diff] [review]
rollup patch for beta
Review of attachment 8777483 [details] [diff] [review]:
-----------------------------------------------------------------
Per comment #14, improve mac os 10.12 support, take it in 49 beta.
Attachment #8777483 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 22•9 years ago
|
||
bugherder uplift |
Updated•9 years ago
|
Flags: qe-verify+
Comment 23•8 years ago
|
||
I investigated this bug on latest Aurora 50.0a2 (2016-09-01) and 49.0b8 build1 (20160829102229), using Mac OS X 10.12.
The fix looks good, I didn't encountered any windows dragging related problems. Instead there is another Sierra specific issue (and I'm not sure if it related with this bug or not): if you have an active tab with a playing youtube video and minimize this window, you will observe some visual issues when restoring it. Please confirm if this issue needs to be filed separately.
Updated•8 years ago
|
Flags: needinfo?(mstange)
Comment 24•8 years ago
|
||
Filed separately Bug 1303011 for the above specified issue (comment 23).
Based on these, I will set the corresponding flags.
Status: RESOLVED → VERIFIED
Flags: needinfo?(mstange)
Updated•8 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•