[WIN7+] Jumplist in taskbar

Rvanlaak's profile image Rvanlaak posted 11 years ago in Feature discussion Permalink
It would be nice if a jumplist with the 6 most/last used sessions could be added to the Windows task bar. This makes it possible to directly start a session via the task bar.
[expired user #7234]'s profile image [expired user #7234] posted 11 years ago Permalink
This would be a great feature. I find it really handy in a couple of other applications I use like WinSCP and PuTTY.
ansgar's profile image ansgar posted 11 years ago Permalink
* Should a click on such a "jump-session" always create a new application instance of heidisql.exe or only once?
* Or should that depend on the setting "Allow multiple application instances" (Tools > Preferences > Miscellaneous)
Rvanlaak's profile image Rvanlaak posted 11 years ago Permalink
I think a new application instance always is preferable, otherwise the session manager in the application can be used.
[expired user #7234]'s profile image [expired user #7234] posted 11 years ago Permalink
Agreed, however I suppose if someone had the "Allow multiple application instances" checkbox disabled it would make sense to bring focus on the current application instance - if one exists - and load the new session within.
Code modification/commit from ansgar.becker, 11 years ago, revision 8.0.0.4506
Introduce Win7+ jump items on task button. See http://www.heidisql.com/forum.php?t=12385.
Using JumpList unit from Serhiy Perevoznyk, http://delphi32.blogspot.de/2011/05/adding-windows-7-jump-list-to-delphi.html
ansgar's profile image ansgar posted 11 years ago Permalink
r4506 is my first attempt to add such a jumplist. Please test and give feedback.

HeidiSQL now creates a "Recent sessions" category, and lists the sessions which were connected within the recent 30 days, order by the number of connects (most connected at the top).
ansgar's profile image ansgar posted 11 years ago Permalink
What does not yet work on the command line + in the "Recent sessions" jumplist is calling HeidiSQL with a session which contains spaces in its name. I'm just trying to fix that.
ansgar's profile image ansgar posted 11 years ago Permalink
Seems that on Windows 8, this jumplist is buggy. See http://www.heidisql.com/forum.php?t=13339 . Fixed that in r4508.
[expired user #7234]'s profile image [expired user #7234] posted 11 years ago Permalink
Testing r4508 this morning, the jumplist looks good, I'm assuming the numbers in parentheses are the number of connections made to each host? Jump list items appear to open to the Session Manager rather than connecting straight to the selected jump session, not sure if this is a bug or the functionality hasn't been fleshed out yet. Thanks for your work on this feature!
ansgar's profile image ansgar posted 11 years ago Permalink
No, clicking a jump item should connect you directly to that session. But as said, there's a bug with spaces in session names, so perhaps your session name(s) have spaces?
ansgar's profile image ansgar posted 11 years ago Permalink
r4509 should fix problems with spaces in session names which are called by a jump item.

And yes, the number in parentheses is the number of overall connects, which is used for sorting. The value in parentheses should explain the sorting order. Not sure, is that too ugly?

Could you please do a new test with the new build, if the session manager still shows up when using a jump task?
[expired user #7234]'s profile image [expired user #7234] posted 11 years ago Permalink
Ahh, yeah, forgot you had mentioned that bug earlier in the thread, definitely had spaces in the session names. I'm testing r4509 now, the changes seem to take care of this issue.

As for the numbers, I don't think it's ugly really, just not terribly useful info for the end user. I'm not very picky as long as the functionality is there. Thanks again for knocking this one out.
Rvanlaak's profile image Rvanlaak posted 9 years ago Permalink
Hi ansgar, it seems that this awesome feature is broken in Windows 10. Aside of the fact that there are two icons after HeidiSQL was pinned, the jumplist actually is filled but after clicking an item the action isn't executed.

Please login to leave a reply, or register at first.