[Webkit-unassigned] [Bug 18993] New: Update of buttons in toolbar lags behind

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 11 01:34:58 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18993

           Summary: Update of buttons in toolbar lags behind
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P3
         Component: WebKit Website
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: digulla at hepe.com


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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list