On Donnerstag, 17. Oktober 2013 18:26:00 CEST, Jan Kundrát wrote:
On Thursday, 17 October 2013 16:56:46 CEST, Mike Cardwell wrote:
I tried sending myself an email using https://emailprivacytester.com/
and viewing it in Trojita. When I viewed it, an animated
"Fetching Message" icon appeared over the top of the email content and
it stayed there, with seemingly no way of getting rid of it.
Thanks, looks like either your HTML confuses WebKit a bit, or
my understanding of QWebView::loadStarted and
QWebView::loadFinished being emitted exactly the same number of
times is not correct.
Either way, patch under review at
https://git.reviewboard.kde.org/r/113308/ . Works fine here.
Forbidden per policy: QUrl(
"view-source:https://emailprivacytester.com/cb/21cc0ee267da08ef/view_source";
)
This is expected -- the view-source: scheme is not allowed.
QWidget::setMinimumSize: (/Gui::SimplePartWidget) The largest
allowed size is (16777215,16777215)
I have no idea why this happens
page()->mainFrame()->contentsSize() being out of bounds, i assume.
(in "EmbeddedWebView::constrainSize()")
We could clamp it - but 16.777.215 are really a *lot* of pixels (13.981 WUXGA
heights... 14k!) in either direction, IOW this should rather not happen and
much sounds a problem with the webpage content.
Cheers,
Thomas