Select a piece of text and make it bold. Now use the cursor keys to move in and out of the bold text. You'll see that the button in the toolbar lags behind by one keystroke. The source of the problem is that the cursor is in a new position when the key is released. To fix this, add an event listener for "keyup" in FancyToolbar.prototype.show() (just copy the line with "keypress"). Don't forget to remove the event listener in FancyToolbar.prototype.hidden(). Also, the call to loadFancyToolbars() in index.html is no longer necessary.
Created attachment 21065 [details] Patch for the two issues
Comment on attachment 21065 [details] Patch for the two issues I suppose you have asked for review ;)
Comment on attachment 21065 [details] Patch for the two issues r=me
Just apply the code to the project. It's just three lines that are changed!
Landed in r34736.
Verified in r34746. Should I mark this bug as verified or who does that?