Closed Bug 685768 Opened 13 years ago Closed 8 years ago

Video controls of Silverlight/Flash certain site do not work after I detach tab and scroll

Categories

(Core :: Layout, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: alice0775, Unassigned)

References

()

Details

(Keywords: regression)

Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/b7d269a291b6
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0a1) Gecko/20110908 Firefox/9.0a1 ID:20110908030848


Video controls of Svilverlight do not work after I detach tab and scroll.
This may happen only in Windows(not sure).

Silverlight Plug-In
    File: npctrl.dll
    Version: 4.0.60531.0
    4.0.60531.0

It works again if I restored the tab was first in.

Similar Bug 599992, but Bug 599992 is under disabled OOPP.
Similar Bug 685689(but I cannot access site) for Flash on Firefox6.0.x.

Reproducible: Always

Steps to Reproduce:
1. Open Firefox with clean profile
2. Open several tabs
3. Open URL ( http://www.microsoft.com/showcase/ja/jp/details/7b917c16-111c-425e-be85-5069a6106f2f) 
4. Detach the tab of step3.
5. Scroll
6. Operate video controls (pause/seek bar/volume slider, etc.)
 
Actual Results:
  Video controls does not work any more.
  
Expected Results:
  Video controls should work properly.

Regression window(cached m-c hourly),
Works:
http://hg.mozilla.org/mozilla-central/rev/70d10ef482f3
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110113 Firefox/4.0b10pre ID:20110113045435
Fails:
http://hg.mozilla.org/mozilla-central/rev/17fae822d2d7
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110112 Firefox/4.0b10pre ID:20110113052706
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=70d10ef482f3&tochange=17fae822d2d7

Suspected Bug:
Bug 619176 - Plugins get Visible state every time when scrolling (:BuildLayer always make them visible) SetActive calls. r=jst
The problem happens in the Flash players too.
http://news.yahoo.com/video

Shockwave Flash
    File: NPSWF32.dll
    Version: 10.3.183.7
    Shockwave Flash 10.3 r183
Summary: Video controls of Svilverlight certain site do not work after I detach tab and scroll → Video controls of Svilverlight/Flash certain site do not work after I detach tab and scroll
After detaching tab, I see controls only working when page scrolled to 0,0 position... if page is scrolled a bit down, then all events seems translated down too and events not coming to plugin...
And It is reproduced without scroll when open sidebar or Open BookmarksToolbar
In new detached tab, if I open new tab and switch between them,  then it does not help, only reloading of that page helps...
Also found that if non-detached tab was scrolled a bit, then in detached window it works only in that position, scrolling to 0.0 also break that in that case
One more finding, is that if you press right mouse button, then context menu appear in first window!, and scroll position of that first window affecting scroll coordinates of mouse events for detached tab...
Sounds like after detaching tab, plugin retain connected to original window...
Also I can reproduce it on FF6.0 too...
Are you sure that yahoo case is not reproducible on 6.0?
Btw context menu and other problems seems caused by cached NPN_GetValue(NPNetscapeWindow), which is not refreshed on plugin side after moving tab with plugin into new window.
After closing previous window context menu in plugin just stop working at all
Summary: Video controls of Svilverlight/Flash certain site do not work after I detach tab and scroll → Video controls of Silverlight/Flash certain site do not work after I detach tab and scroll
(In reply to Oleg Romashin (:romaxa) from comment #6)
> One more finding, is that if you press right mouse button, then context menu
> appear in first window!,

may be Bug 647392
(In reply to Oleg Romashin (:romaxa) from comment #7)
> Also I can reproduce it on FF6.0 too...
> Are you sure that yahoo case is not reproducible on 6.0?

I can reproduced Firefox4.0.1 and later(incl. Firefox6.0.2).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.