forwarding the mail I sent just to Anton by mistake.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">andrea diamantini</b> <span dir="ltr"><<a href="mailto:adjam7@gmail.com">adjam7@gmail.com</a>></span><br>
Date: 2012/8/11<br>Subject: Re: Concept for the New Tab Page<br>To: Anton Kreuzkamp <<a href="mailto:akreuzkamp@web.de">akreuzkamp@web.de</a>><br><br><br>Hi Anton,<div>you are welcome to work on your concept. Anyway, just to be precise, Pierre's concept was not laking an OK to be merged, but it was just "unmergeable" because it was containing not just the "newtabpage concept", but in sparse order:</div>

<div>- a new implementation of the download manager</div><div>- a BIG change in the newtabpage load (moving to use QNAM, instead of the Protocol Handler, but not fully porting it to)</div><div>- various local fixes (merged in mainline later by hand)</div>

<div>- something like more than 50 commits not rebased at merge's request time.<br><br></div><div>So, to avoid going to /dev/null, just:</div><div>- work on one concept to be merged per time.</div><div>- keep synced with master (i.e., rebase it)</div>

<div><br></div><div>Finally, Pierre's merge request on ReviewBoard has not been discarded exactly to not let go to /dev/null the good concept he designed, waiting for someone rewamping it.</div><div>Good luck for it,</div>

<div><div><div class="h5"><br><div class="gmail_quote">2012/8/7 Anton Kreuzkamp <span dir="ltr"><<a href="mailto:akreuzkamp@web.de" target="_blank">akreuzkamp@web.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
During my vacation the last two weeks, I've thought of a concept for a better<br>
structure of the new tab page. To avoid it to go to /dev/null, like Pierre's<br>
concept unfortunately did, I'd like to get an OK before I start implementing<br>
it.<br>
<br>
Instead of invoking actions via reloading the page with a special url (like<br>
about:preview/add), I'd create a Q_INVOKABLE function for each action inside<br>
NewTabPage and expose the NewTabPage object to JS. Then the actions would be<br>
triggered via JS.<br>
Moreover, I'd also do the loading of sections via JS, so I'd make the<br>
favoritesPage(),bookmarksPage(),... -functions Q_INVOKABLEs, too, which means,<br>
we simply have to invoke those functions from within JS and the new section<br>
will be shown. (The section-creating functions themselves need nearly no<br>
change at all.) The newtabpage-class-structure would then look something like<br>
that: <a href="http://paste.kde.org/530210/" target="_blank">http://paste.kde.org/530210/</a><br>
<br>
This concept brings<br>
-slightly better performance (we don't need to always reload the whole page)<br>
-more power (some things, like an icon-selection-dialog, are simply not doable<br>
(sensibly), without the possibility to invoke c++-functions from js) and<br>
-a imo way easier understandable code.<br>
<br>
Regards, Anton<br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><pre style="line-height:normal;text-indent:0px;letter-spacing:normal;text-align:-webkit-auto;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;font-weight:normal;word-spacing:0px">
Andrea Diamantini
WEB: <a href="http://www.adjam.org" target="_blank">http://www.adjam.org</a>

rekonq project
WEB: <a rel="nofollow" href="http://rekonq.kde.org/" style target="_blank">http://rekonq.kde.org</a>
IRC: rekonq@freenode</pre><br>
</font></span></div>
</div><br><br clear="all"><div><br></div>-- <br><pre style="color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255);font-size:medium">
Andrea Diamantini
WEB: <a href="http://www.adjam.org" target="_blank">http://www.adjam.org</a>

rekonq project
WEB: <a rel="nofollow" href="http://rekonq.kde.org/" style="color:rgb(0,0,0)" target="_blank">http://rekonq.kde.org</a>
IRC: rekonq@freenode</pre><br>