Flash doesn't always prevent HTML from getting input events even if it has focus

Hi,
There's been two such problems for some time now.
- Take any HTML page with enough content to be able to scroll down. Add an SWF in there, for example that page could be a Flash tutorial and the SWF illustrates one of its steps.
If that SWF makes use of the mouse wheel, for instance to zoom in or whatever, it does receive the event provided it has focus but the HTML page ALSO does. So the page scrolls down and the SWF vanishes from view (while it zooms in its own content ).
- There is a similar (worse) issue with Firefox "Search as you type" feature (Firefox > Options > Advanced > General > Search as you type checkbox). Sometimes, mostly with the letter A it seems, when you try to for instance move a character in Flash with WASD, Firefox will also trigger the Search as you type box, which steals focus from Flash. Pretty bad when you're gaming.
Are you aware of these bugs ? Didn't find mention of them. Can they be fixed pretty please ?
Thanks.

Ok
It's great that you guys are in close contact. Mozilla has been working a LOT on JS speed these past few years. In early days I think they took hints from you, but now the reverse could apply, you could maybe use Mozilla's work on JS to fasten AS3 ?
Anyway! So I will show only the find as you type issue to Mozilla then, although they will have to wait a week because I can't spend more time dealing with Bugzilla right now, I made the case reproducible and that will be enough till next week
So here is how you might be able to reproduce it:
- Enable Firefox find as you type (FayT)
- Open the HTML page in this zip and give focus to the game
- Play around a few seconds (WASD, left click to shoot, right click to change weapon, target enemies with cursor position relative to character)
- "Accidentally" click outside of the game area (which means inside the HTML page) while you're walking with WASD
- FayT is triggered as expected. (Even though this can be an issue if the page is scrollable and FayT scrolls the game away from view)
- Click inside the game ONCE
- Either wait or play around some more, but do not click again
- Once the search bar disappears, you lose focus. Pressing keys either has no effect or triggers FayT again.
Expected: The game keeps focus when search bar disappears.
Notes:
- There are other, likely similar methods to reproduce this
- Clicking a second time within the SWF prevents the focus issue to happen (I think. Maybe not with all methods ?)
- It works with other HTML pages and other SWFs. You should be able to trigger the bug even with a barebones SWF that only registers key strokes, I think.
- I didn't give you the step by step way to have focus locked in the SWF instead of away from it, but it should be similar. 2 clicks outside might fix it. Plus, I can't see a situation where this "reverse bug" would be annoying for the user.

Similar Messages

  • Is there a way to prevent HTML from being displayed in forum?

    Is there a way to prevent HTML from being displayed in forum in BC to avoid linking to other sites on an eCommerce site?

    Thank you for your post!
    Unfortunately there isn't a way to restrict customers to post on your forums links to other sites.
    However what I suggest here is to choose to moderate each forum post and this way you can choose to approve or remove links from the posts sent by customers.
    I hope this helps!
    Andrei

  • I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    Thanks for taking the time to try to help me. . I checked and the Do not disturb is off. The check is still there stopping calls from coming in when phone is locked. Any other ideas? Thanks again!

  • The images on my powerpoint sometimes randomly disappear (even in much older saved slides) and it doesn't always save the work i've done, even after manually saving it... What's the problem?

    The images on my powerpoint sometimes randomly disappear (even in much older saved slides) and it doesn't always save the work i've done, even after manually saving it... What's the problem?

    http://www.microsoft.com/mac/support

  • How to prevent Cell from getting focus when I click on a cell in JTable

    Hi,
    I have a new problem which I did not have when using jdk1.3. I have a non editable JTable. Now whenever I select a row the row gets highlighted - which is ok but at the same time the cell on which I click ( to select the row ) also gets focus.
    Previously I used to extend JTable and override the isManagingFocus method to return false. But now it doesnt seem to work
    What should
    Thanks
    --J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Well, I'm still using JDK1.3 and I don't get the behaviour you describe.
    When isManagingFocus is true then using the tab key will cause focus to move from cell to cell within the JTable and focus will never leave the JTable.
    When isManagingFocus is false then using the tab key will cause focus to move the the JTable to the next component on the JFrame.
    In both cases once focus is on the JTable an individual cell is always highlighted to indicate it has focus.
    The question is if your program only cares which row has been selected, why do you care if an individual cells appears to have focus?

  • How to prevent dust fr, How to prevent dust from getting inside the ports and earpiece?

    So I just got my iPhone 5 a coupe days ago and I just can't seem to keep dust from getting inside my phones port and speaker holes and also the earpiece. I have a case on the phone but obviously it doesn't protect those areas. I also bought a can of canned air but that only works when I used it at that moment but as soon as I'm out the house dust starts getting in those areas. I also had this problem with my precious iPhone 4. Can someone help??

    The only thing you can really do is get a case that protects the ports. Lifeproof, Otterbox (to a lesser degree) and Ballistic come to mind.
    I carried a 4 and a 4S for quite some time with no case at all with few problems as a result of dust. Every once in a while, I would get a dust bunny in the headphone jack. Had to clean that out with a toothpick. Clean the dock connector with a clean dry toothbrush.
    I have an Otterbox defender on my 5. Haven't had it long enough to swear to how well it will do as far as dust goes, but so far, so good. The re-designed speaker/mic grille should help some.

  • I have a black box showing up on my desktop that I cannot get rid of which is preventing me from getting into Itunes. How can I get rid of it?

    I have a black miniplayer box that has shown up on my desktop that I cannot get rid of that is blocking me from getting into ITunes.
    How can I get it off ?

    Reboot and see whether it goes away.

  • How can I prevent Mail from Getting Messages Automatically?

    I want to stop Apple Mail from getting new messages until I click on the "Get Mail" button.
    This is proving hard to achieve.
    In Mail Preferences, I have set Check for New Messages to "Manually."
    This does nothing.
    Additionally, I went to each account, went into the Advanced tab and unchecked "Include when automatically checking for new messages."
    This also changed nothing.
    This should be fairly easy to achieve, and yet it is not. Any thoughts on how I can set this up? I have one iCloud account, one Google Apps via IMAP account and one generic IMAP account. They all seem to ignore the settings for message fetching.
    I am running OS X Yosemite 10.10.2. Apple Mail version 8.2 (2070.6).
    Mid-2011 iMac 21.5", 16GB Ram, 2.5 GHz Quad-Core i5.

    Same issue since Mavericks.

  • My screen has a gouge in it and it starting to spiderweb. Is there anyway to prevent it from getting worse?

    I went to use my iPad mini and the screen has a gouge on the side of it. It is starting to spiderweb. It is only a small spot currently. Is there any way to keep it from getting worse?

    No, and it would be a REALLY good idea to make a backup of your content as soon as possible, then take the iPad to an Apple store genius bar for an out-of-warranty replacement.  If you backup to iCloud the techs can restore your content while you wait.

  • How can I prevent filter from getting applies to .html page?

    Hi,
    I have a MyFaces filter that I don't want applied to pages ending in ".html". However, upon visiting the "/myapp/index.html" page of my application, I get an internal server error, and the stack trace indicates that the filter is being invoked. How can I prevent such a filter from being applied to ".html" pages? The stack trace and the web.xml file are below.
    Thanks, - Dave
    Error I get when visiting index.html page
    ####<Oct 30, 2008 8:46:44 AM MDT> <Error> <HTTP> <rhonti> <nps-supp-gui-ms-1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1225378004500> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@4f2189 - appName: 'nps_history_gui', name: 'nps_history_gui.war', context-path: '/nps_history_gui'] Servlet failed with Exception
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:389)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:349)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:279)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper.<init>(TomahawkFacesContextWrapper.java:115)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:85)
    at javax.faces.webapp.FacesServlet.prepareFacesContext(FacesServlet.java:307)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:141)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
    at com.myco.nps.im.plugin.NPSIMIntercepter.doFilter(NPSIMIntercepter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.myco.nps_history.filters.NoCachingFilter.doFilter(NoCachingFilter.java:30)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    =================Begin web.xml=======================
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <display-name>
    nps_history_gui</display-name>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
    <description>Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>Set the threshold size - files
    below this limit are stored in memory, files above
    this limit are stored on disk.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>No Caching Filter</filter-name>
    <filter-class>com.myco.nps_history.filters.NoCachingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>SSOFilter</filter-name>
    <filter-class>com.myco.nps.im.plugin.NPSIMIntercepter</filter-class>
    <init-param>
    <param-name>filter_conf_file</param-name>
    <param-value>/export/third-party/etsbea/application_conf/wls_9.2.2/nps_history_gui_conf/nps_im_plugIn.properties</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>No Caching Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>SSOFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <description>Sets properties of History UI app</description>
    <display-name>HistoryInitServlet</display-name>
    <servlet-name>HistoryInitServlet</servlet-name>
    <servlet-class>com.myco.nps_history.servlets.HistoryInitServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/HistoryInitServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/refresh</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    ==================End web.xml=======================

    I got that error when using the request URL /myapp/ or /myapp/index.html.
    Regarding,
    At any way, you should map the ExtensionsFilter on the FacesServlet rather than on any url-pattern. Could you elaborate on what you mean? Maybe with an example?
    Thanks, - Dave

  • How to prevent iPhoto from getting corrupted?

    This is the second time in the last couple months where I've had to rebuild/repair my iPhoto library, i.e. I get prompted at iPhoto startup that the library cannot be read, with the suggestion to rebuild or repair my library by starting with Command + Option.  While I've found plenty of links on how to rebuild/repair the library, my concern is that it's not addressing the root cause.  
    1. What are the reasons a library would be corrupt?  Is it because the iPhoto database doesn't match with what's in the filesystem?  If so, what specifically doesn't match - file permissions, file properties, etc.?  Or, is it something with the filesystem itself that's corrupted, causing iPhoto to not be able to find a file(s)?
    2. How can I prevent corruption in the future?
    I was able to rebuild/repair or restore from Time Machine backup, but again, my concern is without knowing the root cause, I could be losing data and not realizing it, or even propagating errors in the Library.
    I'm using OS X ver. 10.8.3.  iPhoto 11, ver. 9.4.3 (720.91).

    iPhoto is built around an SQL database. This db is liable to damage if it's interrupted while writing to the db. What can cause this? A crash or force quit are the most likely. Other possibiities: if the db is sitting on an inappropriately formatted disk, if the disk it's on is damaged and so on.
    As you've had to rebuild/restore twice in a short space of time (by comparison, I've been using iPhoto since v1 and I've never had to) I would suspect that the fix isn't fixing and the damage is also present in the back up.
    In your case I would make a new database and here's how to do it with the minimum interruption:
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • Flash crashes sound and prevents sound from being used on the entire computer

    Hi everyone,
    I have been using firefox all my life and have been running into the following issue recently.
    Whenever I play flash games (such as chess.com), after a minute or two the sound stops working. At first I thought it was just the website, but I would navigate to a youtube video that used flash and it would crash after 1 second. I then tried to play a song locally and it said that I was out of memory, which I doubt since I have 16gb of RAM. I tried running chess.com on IE (sadly) and everything worked fine.
    I am starting to run out of ideas. I have reinstalled firefox and flash. Any debugging information that I can provide, just let me know how to get it for you.
    Some info about my computer/setup:
    Windows 7
    Firefox 34.0.5
    Shockwave Flash 16.0.0.235
    Thanks
    Update:
    I am now experiencing similar issues on my Windows 8.1 box. This might be caused from a windows update. Will update if I find out more

    It's related to your video card drivers.  You can tell Flash to not use hardware acceleration.  This might solve the issue.  You also might want to make sure you're running the latest available drivers for your hardware. 
    Details are in our video troubleshooting guide:
    Video playback issues

  • How to Prevent CacheStore from Getting Called when Loading from DB

    Hi,
    I have a Cache with WriteBehind enabled. The issue is when I'm initializing the Cache from its Persistence Store (SQL Server 2005) I dont want it to call its CacheStore implementation. In the coherence book written by Alexander Seovic it recommends using another Cache to control writing to different Caches, sort of like a global flag, but that will just work in a WriteThrough scenario and not in a WriteBehind. One of my theories is to use a MapTrigger in which when i'm loading from the db I intercept the call and tell the object not write to the DB, maybe through writing directly to the Backing Map though i'm not sure if writing to the BackingMap prevents the Calling of the CacheStore. Please let me know. Tks.

    Hi user13402724,
    The documentation covers a scenario like this here: http://download.oracle.com/docs/cd/E14526_01/coh.350/e14509/appsampcachestore.htm#sthref512
    JK

  • My New LP8 File Always Prevents Logic from Opening

    hi guys, i have a minor crisis. heres the short version => a piece i've been working on all of a sudden caused Logic Pro 8 to crash, and when i try and open the crashed version it just causes it to crash again. it won't even open it. i can go to the previously saved version, but there would be a lot missing and i can't afford to lose it.
    its a large file with lots of plug-ins and so forth, had i planned it better i would have used buses and so forth, but it shouldn't be doing this even having poorly planned everything. it crashed when i was messing with the volume automation for one track if that means anything.
    i am worried that this is a glitch that apple is just going to tell me too bad about, but if anyone has any info please help. thanks a billion.
    p.s. i already tried opening it without loading any of my software instruments (just canceling them as they try and open), i tried repairing disk permissions, i tried erasing that list in Library>>Preferences. i just have a bad feeling about this.

    This seems to happen on a regular basis, projects get corrupted and nobody can understand why. Have you tried disabling the Audio Core and then opening the project? You could then bypass all plugins, enable the core and bring the plugs back one by one. As soon as you activate a "broken" plug Logic will crash and you know, which plug causes that. This procedure has helped me in the past.
    Also try saving the project under a different name, but you'll probably have tried this already.

  • What are some ways to prevent dust from getting into the camera of my iPhone 5?

    I have done much research on this topic but all I can find on the internet are ways to clean the camera after dust has already gotten into it. I've had to have my iPhone 5 replaced twice now because the dust has been so bad. I just got my third and I would love to be able to prevent the dust before it happens. Any tips? Thanks in advance.

    Also I'd like to mention that I have noticed many other people are having this problem with the iPhone 5's so I've got to think that somebody has figured out some sort of solution.

Maybe you are looking for