Created attachment 67104 [details] 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
the « Weird behavior occurs if you try to move text cursor into already typed text, and click on "!underline" button » problem may be related to bug 27818
Additional info: Other bug related to the same source code: Click once on the "!underline" button to toggle underline. Do not move text cursor. Click again on it. Expected: Underline should be disabled. What we get: Underline is still enabled.
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bugs here. When bugs are reported without the Qt keyword, they can be lost in the constant flow of new WebKit bugs (that is what happened in this case). We are improving the tools.
I cannot reproduce. I think it is a duplicate of https://bugs.webkit.org/show_bug.cgi?id=42248 Do you have the issue with raster? *** This bug has been marked as a duplicate of bug 42248 ***