Jump to content

Mozilla has a fix for Flash causing Firefox’s window to lose focus


Matsuda

Recommended Posts

32190-22592_21765_firefox_4_teaser_super


A bug was discovered back in mid 2012 that caused the Firefox browser window to lose focus under certain circumstances when Flash contents were played in it. What this meant is that Firefox users had to click on the browser window to make it the active window on the system again even if it was the active window before.

The system the bug was encountered on was a x86 Windows 7 operating system with Flash 11.3 initially but other systems such as Windows 8.1 are also affected by it according to user reports.

According to Mozilla, it is a bug in Flash and not in Firefox that is causing the issue for users of the browser.

The issue was quickly linked to Flash's Protected Mode. Users who disabled the mode or ran operating systems were it was not available did not experience the issue.

Reproduce the issue

flash-player-bug-firefox.jpg


To reproduce the issue you need to visit a web page that runs Flash contents, e.g. http://www.adobe.com/software/flash/about. You will notice that Flash processes are loaded when you open the Task Manager of the system with Ctrl-Shift-Esc.

It is then necessary to close all windows that play Flash contents again and wait until the Flash process is terminated automatically. When you then open a web page with Flash again, Firefox will lose focus. Other bugs may be related to the issue, for instance that new windows open in the background and not foreground on the system.

Fixing the issue

Mozilla cooperated with Adobe on the bug but a solution was nowhere in sight.

Yesterday, Aaron Klotz published a comment on the Bugzilla but report that confirmed that a possible patch for the issue has been found.

- Possible patch using LockSetForegroundWindow

- This patch wraps out of process NP_Initialize calls with LockSetForegroundWindow. This appears to do the right thing.

The implementation is currently being tested but it looks promising so far. If no issues are discovered during tests, it may find its way into Firefox Nightly quickly and from there on all the way down to the stable version of the browser.

Link to comment
Share on other sites


  • Replies 4
  • Views 2.3k
  • Created
  • Last Reply
knowledge-Spammer

i had a bug with Flash on windows 8.1

Adobe Flash plugin has crashed - Prevent it from happening again

The message, "The Adobe Flash plugin has crashed," is shown when the Flash plugin stops working unexpectedly. Reloading the page will often get the video, game or animation to play again.

If the Flash plugin continues to crash, updating to the latest version of Flash should fix the issue. This article explains how to update Flash and other possible solutions.

2013-07-03-01-35-19-071103.png

this is what i did and seems better and lots faster now try it out

Disable hardware acceleration in Flash

Many Flash problems can be resolved by disabling hardware acceleration in your Flash Player settings (Adobe's Flash Player Help - Display Settings page has details). To disable hardware acceleration in Flash:

  1. Go to this Adobe Flash Player Help page
  2. Right-click on the Flash Player logo on that page.
  3. Click on Settings in the context menu. The Adobe Flash Player Settings screen will open.
  4. Click on the icon at the bottom-left of the Adobe Flash Player Settings window to open the Display panel.

    fpSettings1.png
  5. Remove the check mark from Enable hardware acceleration.
  6. Click Close to close the Adobe Flash Player Settings Window.
  7. Restart Firefox. seems much faster and better i think
Link to comment
Share on other sites


I got a fix, too. It's called uninstalling fire fox.

Betterr yet, uninstalling Flash.

Seriously I can't believe Flash isn't dead yet.

I prefer Chrome, but Mozilla is trying to make a Flash Plugin out of pure Javascript. Since browsers run Javascript with higher security it should be more stable and secure.

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...