Menu

Another page disabling keyboard shortcuts

Help
noirdesir
2004-11-02
2013-04-16
  • noirdesir

    noirdesir - 2004-11-02

    Having this page open, or rather having the Java applet on that page loaded, disables the keyboard shortcuts (cmd-H, cmd-Q):

    http://www.eia.doe.gov/emeu/international/contents.html

     
    • Steven Michaud

      Steven Michaud - 2004-11-02

      Command-H and Command-Q get disabled in Firefox as
      soon as you load at least one applet into one
      window.  Command-H (though not Command-Q) gets
      disabled in Mozilla if the key window has ever had
      an applet loaded into it (the problem goes away if
      another browser window becomes key that's never
      had an applet loaded into it).  None of these
      problems happen in Camino.

      Some of this was reported on 2004-9-22 in the
      JEP's Bugs tracker ([ 1032695 ] Firefox And
      applets).  I've documented it in my
      KnownProblems.txt file ... though it seems that
      description there is partially inaccurate (I'll
      have to revise it).

      I have other problems to deal with that are much
      more serious than these.  And these are likely to
      be quite difficult to resolve.  I don't know when
      I'll be able to get to them.

       
      • noirdesir

        noirdesir - 2004-11-02

        FYI, I'm using Mozilla 1.7.2 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803), so cmd-Q at least in my case gets disabled with Mozilla as well.

         
        • Steven Michaud

          Steven Michaud - 2004-11-02

          I just confirmed what I said in my previous post,
          testing with Mozilla 1.7.2 on OS X 10.3.5 with
          Java 1.4.2 Update 2 (and also with Mozilla 1.7.3,
          which is the latest version, on OS X 10.2.8 with
          Java 1.4.1 and OS X 10.3.5 with Java 1.4.2 Update
          2).

          But now I think I understand what's happening to
          you.  As of JEP 0.8.5 (the current version is
          0.8.6), _no_ Command-key or Control-key
          combination will work in any Carbon browser
          (i.e. in Mozilla or Firefox) for as long as the
          focus is in an applet.  You change the focus to a
          given object by clicking the mouse on it.  If you
          click the mouse outside of any applet (i.e. if you
          put the focus outside any applet), you'll once
          again be able to use Command-key and Control-key
          combinations ... most of them, at least.  (For
          reasons that aren't entirely clear, sometimes you
          have to click twice outside any applet for this to
          change the focus.)

          I wish this weren't true ... but there's nothing I
          can do about it.  Mozilla and Firefox behave the
          same way using Java 1.3.1.  Camino behaves
          "correctly" -- Command-key and Control-key
          combinations are fed to the browser even when the
          focus is in applet.  And prior to version 0.8.5
          the JEP enforced this behavior on Mozilla and
          Firefox, too.  But doing this caused too many
          other problems, and I had to change it.

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.