WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 42248
45499
[Qt] action(QWebPage::ToggleUnderline) does not work as expected
https://bugs.webkit.org/show_bug.cgi?id=45499
Summary
[Qt] action(QWebPage::ToggleUnderline) does not work as expected
Mid'
Reported
2010-09-09 15:35:50 PDT
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
Attachments
C++ source to show the bug
(3.39 KB, application/zip)
2010-09-09 15:35 PDT
,
Mid'
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mid'
Comment 1
2010-09-11 08:42:00 PDT
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
Mid'
Comment 2
2010-09-11 10:36:16 PDT
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.
Benjamin Poulain
Comment 3
2011-01-30 06:19:06 PST
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.
Benjamin Poulain
Comment 4
2011-01-30 06:27:12 PST
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
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug