WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
73811
QWebPage select all and copy clipboard won't work with xhtml
https://bugs.webkit.org/show_bug.cgi?id=73811
Summary
QWebPage select all and copy clipboard won't work with xhtml
A Denever
Reported
2011-12-05 02:42:08 PST
Created
attachment 117860
[details]
small project to reproduce the bug on win7 Qt sdk 1.1.4 Work with the url "
http://nokia.com
", but not with "
http://bumerang.hu/?ezaz=2_20111202
" view->setContent( msg.toLocal8Bit() ); QString cucc("Bum"); qDebug() << view->title(); view->page()->setContentEditable(true); view->page()->triggerAction(QWebPage::SelectAll); view->page()->triggerAction(QWebPage::Copy); QFile fs("./after"); if (!fs.open(QIODevice::WriteOnly | QIODevice::Text)) return; const QClipboard *clipboard = QApplication::clipboard(); QTextStream out3(&fs); out3 << clipboard->text(); At least the title is possible to extract, that is expected to be copied. " This page contains the following errors: error on line 1 at column 0: Encoding error Below is a rendering of the page up to the first error. " How to avoid the encoding problem for clipboard copy action?
Attachments
small project to reproduce the bug on win7 Qt sdk 1.1.4
(32.32 KB, application/x-zip-compressed)
2011-12-05 02:42 PST
,
A Denever
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-07-29 10:44:26 PDT
The Qt port has been removed from WebKit, resolving.
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