Hi!<br><br>I had that idea some time ago, too. I really like it.<br>However, I think a bit more sophisticated "outdated tab recognition algorithm" would make this feature way more useful. What happens, for example, if you leave the IDE open for 30 minutes and do something else? Or have some tabs you just accidentially click all the time but switch away from then within half a second (happens often to me, at least)?<br>
I would instead propose something like this: Mark tabs as "used" depending on user activity, with ascending IDs; then, when the cleanup action is invoked, close all tabs except the 10 (configurable) most recently used ones, and do not close tabs used within the last 10 minutes. A tab could be marked as "used" when it was viewed for more than 3 seconds or an edit was performed in it (for example).<br>
What do you think?<br><br>Bye,<br>Sven<br><br>P.S: I'm also a huge fan of non-dialog UIs (using notification bars or something instead). Don't know what you think about this, but foreground dialogs always annoy me. :)<br>
<br><br><div class="gmail_quote">2011/1/12 Damien Flament <span dir="ltr"><<a href="mailto:contact.damienflament@gmail.com">contact.damienflament@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="font-family:'Sans Serif';font-size:9pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-size:16pt;font-weight:600">Feature proposal : Cleanup tabs</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;font-weight:600"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Hi, I am Damien Flament, student at IUP ISI (University Paul Sabatier in </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Toulouse).</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">We are working on tab bar improvement. Yannick Motta already added an option in tabs settings to hide close buttons.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">To get current modifications on tab bar go to <a href="http://gitweb.kde.org/clones/kdevplatform/bport/kdevplatform-isi.git/shortlog/refs/heads/tab-bar" target="_blank"><span style="text-decoration:underline;color:#0057ae">tab-bar branch on bport repo</span></a>.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">We want to add a feature to cleanup old tabs. A tab will be outdated when it was not opened after a user-defined amount of time. It is like the <a href="https://addons.mozilla.org/en-US/firefox/addon/3542/" target="_blank"><span style="text-decoration:underline;color:#0057ae">Aging Tabs</span></a> Firefox extension (without colors).</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-size:14pt;font-weight:600">Feature description</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">An option will be added to the tab context menu next to "Close [...]" options: </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><img src="cid:1054368023@KDE"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">A confirm dialog will bring up showing the list of outdatted tabs :</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><img src="cid:1444875918@KDE"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">We will add an option in the tabs settings to setup the time after a tab will </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">be outdated (in "User Interface" tab) :</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><img src="cid:2001296254@KDE"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">P.S. : The "Show close button on tabs" option was added by Yannick Motta.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Waiting for comments and reviews.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Thanks.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Damien Flament,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">IUP ISI, Paul Sabatier University (Toulouse)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p></div><br>--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br>