PasswordMaker Forums

Firefox/SeaMonkey/Mozilla/Netscape/Flock Browser Extension => Bugs => Topic started by: devinus on March 06, 2008, 09:22:50 PM

Title: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: devinus on March 06, 2008, 09:22:50 PM
It just enters ` into whatever text field I'm focused into.
Code: [Select]
  /**
   * Called on alt-` keyboard click
   */
  populateFields : function() {
    // off, pop-all, empty-only, clear-all
    if (passwordMaker.passwordShortcut == "off")
      return;

    var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator);
    var recentWindow = wm.getMostRecentWindow("navigator:browser");
    if (recentWindow) {
      passwordMaker._processShortcut(recentWindow.content.document);
    }
  },
To me, it doesn't look like there's anything platform specific, but maybe I'm wrong...

I found some code that may work better:
Code: [Select]
    var singletonWindowType = nsPreferences.copyUnicharPref("toolkit.singletonWindowType");
    var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
                       .getService(Components.interfaces.nsIWindowMediator);
    var recentWindow = wm.getMostRecentWindow(singletonWindowType);
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: Eric H. Jung on March 07, 2008, 02:36:25 AM
Hi,

No, there's nothing platform-specific in that code. To make sure I understand the problem, Alt+` doesn't work on OS/X in ff3 only when a textfield has focus, right?
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: devinus on March 07, 2008, 04:55:03 PM
No, it's at all. When a textfield has focus it just puts a single character in there--presumably the backtick. Perhaps unrelated is that when in the textfield it looks as though the masking dots move DOWN into the textfield. It's very strange, but I've attached a picture of an example (GMail).
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: devinus on April 14, 2008, 05:20:49 AM
It also doesn't work on 1.7.2 and FFb5 now either.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: koreth on April 15, 2008, 01:59:24 AM
Confirmed; it's like PasswordMaker is not catching the key sequence. If a text field has focus, I see the underlined backtick for accented text entry; if no field has focus, nothing happens. The "CoolKey" option in the Tools menu still works fine.

FF2 doesn't exhibit the problem.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: Miquel 'Fire' Burns on April 15, 2008, 03:19:07 AM
It may be the Apple/Command key instead of Alt. If that works, then it's a mapping issue with a PC based extension in a Mac world. (my keyboard was made to work on both Mac and PC it seems, and my Alt key has the Apple and Command symbol on it, and the start key has Alt/Option)
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: alex on June 23, 2008, 05:57:03 PM
I don't think it's the special keys. I tried it on both an official Macbook as well as on a homebrew mac (both with an official mac keyboard and a regular USB keyboard). Not only does Alt-backtick not work, for me also Ctrl-backtick does not open Passwordmaker (the icon at the bottom works fine).

This is Firefox 3 on OS X Leopard with passwordmaker 1.7.2
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: bryan on July 30, 2008, 05:13:36 PM
I'm experiencing this problem too. It's not a case of confusing Apple/Command with the Alt key.

Alt-backtick and Ctrl-backtick previously worked just fine using PasswordMaker on FF2/OSX.

However, using FF3/OSX, Ctrl-backtick works (opens the main PasswordMaker window) but Alt-backtick does not.

Any specific questions just ask. I am happy to help troubleshoot this issue further in any way that I can.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: koreth on August 07, 2008, 04:45:44 AM
It is definitely still broken on OS X on FF3. Not a matter of me hitting the wrong key -- the hotkey works perfectly well in FF2 and I don't swap out my keyboard when I upgrade my browser.  :)
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: Clyde on September 24, 2008, 06:58:28 AM
Any update on this issue? It it's a nuisance since it renders the Coolkey unusable.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: koreth on September 30, 2008, 07:09:32 PM
I figured out what's going on here, though I don't have a solution. The Mac normally uses option+` as the compose sequence for accented characters. FF2 was not compliant with the Mac input method guidelines; it ignored that key sequence and you couldn't type accented characters in the normal way. So they fixed that in FF3.

To see this, open up Textedit or any other regular Mac app and hit option+` then the "a" key and you'll get an accented "a" character.

If there was some way to assign the CoolKey to another key sequence, that'd take care of it, and it should probably default to something else on the Mac. I've tried the Keyconfig extension and it doesn't seem to do the trick.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: quixin on September 30, 2008, 09:43:29 PM
Looks like KeyConfig has been updated for FF 3 until this can be worked out...

Quote
How can I change PasswordMaker's shortcuts (ctrl-` and alt-`) to something else?

Install the KeyConfig Extension (http://mozilla.dorando.at/keyconfig.xpi). Scroll down to the PasswordMaker entry and change the shortcuts to anything you like. Changes won't take effect until you restart Firefox/Mozilla.

Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: Ran on November 13, 2008, 08:37:11 PM
Same issue under FF3: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 and OS X 10.5: Mac OS X 10.5.5 (9F33)

I tried using keyconfig to choose different keys, but no matter which combination I chose, PasswordMaker seems to ignore them. The Tools menu in the menu bar flashes (this is standard behavior no the mac when using keyboard shortcut), but no PasswordMaker window pops up - not the CoolKey window and not the main PasswordMaker window. Essentially, this makes Password Maker a mouse-only affair for me.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: Ran Yaniv Hartstein on December 31, 2008, 12:06:27 AM
Same issue:
Mac OS X 10.5.6 (9G55)
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5
PasswordMaker 1.7.2

I too tried editing the keys using keyconfig, with many different combinations. When pressing the keys, the menu bar flashes, indicating that the key press was indeed registered and recognized, but nothing happens - the PasswordMaker window doesn't show up.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: CiscoKid on January 31, 2009, 04:45:28 PM
Same issue.

This happened when I upgraded to FF3. Now I'm using FF3b2.

When I use my mac, I end up copy and pasting the password... It's a very annoying issue.

Let me know if there are any fixes.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: Cyberjoe on February 15, 2009, 01:49:57 AM
I also have this problem on FF3 Mac OX X Leopard.
Title: Re: Alt+` doesn't CoolKey under Mac using either FFb3 or the upcoming FFb4
Post by: CiscoKid on August 04, 2009, 04:24:35 PM
Has anyone worked out a fix for this yet?  :-\