Hi Guys and Girls,<div><br></div><div>Not sure if this is the right place to ask, but here it goes:</div><div>I am using Webkit2Gtk+ in my RSS-Reader to display the articles.</div><div>But I have issues when the user is switching very fast between articles or the articles are very big/with lots of images or videos.</div><div>Once a new article is selected I immediately cancel the loading of the current one with "stop_loading()".</div><div>Then I wait until the "load_failed"-signal is triggered with the "webkit_network_error_cancelled" error. Only after that I start loading the new article.</div><div>But still, sometimes after stopping the loading I receive "load_changed"-events after the successful cancel.</div><div>Here is a small part of a log that displays the problem:</div><div><br></div><div><br></div><blockquote type="cite"><div><div>[ DEBUG ] ArticleView: load article 91799</div></div><div><div>[ DEBUG ] ArticleView: load STARTED</div></div><div><div>[ DEBUG ] ArticleView: load COMMITTED</div></div><div><div>[ DEBUG ] ArticleView: load FINISHED</div></div><div><div>[ DEBUG ] contentPage: set headerbar</div></div><div><div>[ DEBUG ] ArticleView: load article 92595</div></div><div><div>[ DEBUG ] ArticleView: load STARTED</div></div><div><div>[ DEBUG ] ArticleView: load COMMITTED</div></div><div><div>[ DEBUG ] contentPage: set headerbar</div></div><div><div>[ DEBUG ] ArticleView: load article 92675</div></div><div><div>[ DEBUG ] ArticleView: load FINISHED</div></div><div><div>[ DEBUG ] contentPage: set headerbar</div></div><div><div>[ DEBUG ] ArticleView: load article 93127</div></div><div><div>[ DEBUG ] ArticleView: load STARTED</div></div><div><div>[ DEBUG ] ArticleView: load COMMITTED</div></div><div><div>[ DEBUG ] contentPage: set headerbar</div></div><div><div>[ DEBUG ] ArticleView: load article 91940</div></div><div><div>[ DEBUG ] ArticleView: load FINISHED</div></div></blockquote><br><div>As you can see the first article (91799) is loading fine. The second one is (92595) is canceled before it is finished loading by the next request (92675)</div><div>but the "WebKit.LoadEvent.FINISHED" is still reached afterwards. The same problem with article 93127 that should be canceled by 91940.</div><div>Only difference is, article 93127 finishes loading after it should be already canceled and article 91940 never starts loading.</div><div>So the wrong article is now shown in the article-view of my application.</div><div>Sometimes not only the wrong article is shown but only a white blank page (but I could not reproduce this right now).</div><div><br></div><div>What I want the code to do is, load the requested article immediately and cancel the old load request.</div><div>When a URL in the loaded article is clicked it should open in the default browser.</div><div><br></div><div>This is the WebkitGtk+ relevant part of my code:&nbsp;<a href="http://pastebin.com/v9QdE1FN">http://pastebin.com/v9QdE1FN</a></div><div>Or if someone wants to have a look at all of it: &nbsp;<a href="http://bazaar.launchpad.net/~eviltwin1/feedreader/master/view/head:/src/Widgets/ArticleView.vala">http://bazaar.launchpad.net/~eviltwin1/feedreader/master/view/head:/src/Widgets/ArticleView.vala</a></div><div>Here is also a bug report of someone else having the same issues with the application:&nbsp;<a href="https://bugs.launchpad.net/feedreader/+bug/1529872">https://bugs.launchpad.net/feedreader/+bug/1529872</a></div><div><br></div><div>Can anyone help me with this? :)</div><div><br></div><div>Thx in advance</div><div><br></div><div>Jan Lukas</div>