Closed
Bug 574778
Opened 14 years ago
Closed 14 years ago
Enabling Full Screen Video is broken
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: xtc4uall, Assigned: jimm)
References
()
Details
(Keywords: regression)
Attachments
(2 files)
1.33 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
1.73 KB,
patch
|
robarnold
:
review+
|
Details | Diff | Splinter Review |
STR:
* open URL
* hit the Play Button
* right click in the Video + "Full Screen"
Expected:
Watching the Video in Full Screen Mode.
Actual:
* You get hit by Bug 574690.
* the Video is played in a small Content Area at the top left.
Using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a6pre) Gecko/20100625 Minefield/3.7a6pre
Range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=522df66198cf&tochange=51bd519736c4
AFIK, this isn't yet covered by other filed Regression Reports, no?
Comment 1•14 years ago
|
||
Did you test with turning off OOPP, It maybe helpful to see if there any connected code path there.
Assignee | ||
Comment 2•14 years ago
|
||
(In reply to comment #1)
> Did you test with turning off OOPP, It maybe helpful to see if there any
> connected code path there.
This video is playing in mozilla. no oopp!
Comment 3•14 years ago
|
||
(In reply to comment #2)
> (In reply to comment #1)
> > Did you test with turning off OOPP, It maybe helpful to see if there any
> > connected code path there.
>
> This video is playing in mozilla. no oopp!
Oh, duh, I missed that link to the video.. good thing I didn't ask where was either, thanks.
Comment 4•14 years ago
|
||
Fixed by fix http://hg.mozilla.org/mozilla-central/rev/7ad36412775e to bug 574690.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•14 years ago
|
||
If i understand correctly, Bug 574690 got (partially?) backed-out and thus this Issue regressed again. Will this get fixed by Bug 579421 again?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•14 years ago
|
||
(In reply to comment #5)
> If i understand correctly, Bug 574690 got (partially?) backed-out and thus this
> Issue regressed again. Will this get fixed by Bug 579421 again?
Confirming I see it regressed with 7-16 nightly pointing to the backout; 7-15 was fine even after Retain Layers landed.
Assignee | ||
Comment 7•14 years ago
|
||
Assignee: nobody → jmathies
Assignee | ||
Comment 8•14 years ago
|
||
Comment on attachment 458413 [details] [diff] [review]
fix v.1
Now that we have base windows that are chromed os windows, we need to touch up things like this. nsXULWindow will resize the window after it loads unless intrinsic resizing is disabled. Since we create the video dialog, then set it to fullscreen before it finishes loading, we need to disable this.
Attachment #458413 -
Flags: review?(Olli.Pettay)
Assignee | ||
Updated•14 years ago
|
Component: Widget: Win32 → DOM
QA Contact: win32 → general
Comment 9•14 years ago
|
||
Comment on attachment 458413 [details] [diff] [review]
fix v.1
>+ // Prevent chrome documents which are still loading from resizing
>+ // the window after we set fullscreen mode.
>+ nsCOMPtr<nsIBaseWindow> treeOwnerAsWin;
>+ GetTreeOwner(getter_AddRefs(treeOwnerAsWin));
>+ nsCOMPtr<nsIXULWindow> xulWin(do_GetInterface(treeOwnerAsWin));
>+ if (xulWin) {
>+ xulWin->SetIntrinsicallySized(PR_FALSE);
>+ }
>+
Should this happen only if aFullScreen is PR_TRUE?
Assignee | ||
Comment 10•14 years ago
|
||
(In reply to comment #9)
> Comment on attachment 458413 [details] [diff] [review]
> fix v.1
>
> >+ // Prevent chrome documents which are still loading from resizing
> >+ // the window after we set fullscreen mode.
> >+ nsCOMPtr<nsIBaseWindow> treeOwnerAsWin;
> >+ GetTreeOwner(getter_AddRefs(treeOwnerAsWin));
> >+ nsCOMPtr<nsIXULWindow> xulWin(do_GetInterface(treeOwnerAsWin));
> >+ if (xulWin) {
> >+ xulWin->SetIntrinsicallySized(PR_FALSE);
> >+ }
> >+
> Should this happen only if aFullScreen is PR_TRUE?
Sure, I'll add:
if (aFullScreen && xulWin) {
I doubt the reverse situation ever happens, but better safe than sorry.
Updated•14 years ago
|
Attachment #458413 -
Flags: review?(Olli.Pettay) → review+
Assignee | ||
Comment 11•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4291098c5736
Thanks for the quick turn around on reviews smaug!
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Comment 12•14 years ago
|
||
Jim, looks like we didn't quite make it into full screen.. it looks maximized instead.. my windows taskbar is still there and there is not a close X in the upper right, I don't get a context menu, or what have you.
Assignee | ||
Updated•14 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•14 years ago
|
||
ConstrainPosition in widget has a bug where we constrain full screen windows to the work area. This updates that. (ConstrainPosition is really only called from a couple places in nsXULWindow, for centering and for initial positioning.)
Attachment #458550 -
Flags: review?(tellrob)
Comment 14•14 years ago
|
||
Comment on attachment 458550 [details] [diff] [review]
ConstrainPosition fix v.1
Well this looks right to me. Can't help but feel like the last chunk is dead code.
Attachment #458550 -
Flags: review?(tellrob) → review+
Assignee | ||
Comment 15•14 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
blocking2.0: ? → final+
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•