[Webkit-unassigned] [Bug 45499] New: action(QWebPage::ToggleUnderline) does not work as expected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 15:35:49 PDT 2010


           Summary: action(QWebPage::ToggleUnderline) does not work as
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mid1221213 at hotmail.com

Created an attachment (id=67104)
 --> (https://bugs.webkit.org/attachment.cgi?id=67104)
C++ source to show the bug

The attached source files exhibit an "underline bug" in QtWebKit's webview / webpage.

To extract, compile and run:
$ unzip webview_underline.zip && cd webview_underline && qmake && make && ./webview_underline

...but of course you should do this on a test machine or inspect the source before launching... :-)

In the "HTML Editor", type some text.
Then, click once on the "!underline" button.
Type again some text. Only the first character is underlined. Expected: all characters typed after the click should be underlined.
Click again on "!underline", the previously typed characters are, now, underlined, and mode is set to "normal" (i.e. not underlined).

Weird behavior occurs if you try to move text cursor into already typed text, and click on "!underline" button.

Tested on last commit at the time of writing: 524379030503600bbca1a8e2b5889b91b0798203

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

More information about the webkit-unassigned mailing list