This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problems with mintty jump list
- From: Thomas Wolff <towo at towo dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 1 Jul 2018 15:58:56 +0200
- Subject: Re: Problems with mintty jump list
- References: <c68b5886-2d9d-2a80-d400-619e11479965@mscha.org> <9d72af26-6725-adf5-634c-cc5d16309e9d@SystematicSw.ab.ca> <47ed6ff1-1662-c014-58d6-f97ff29bb95b@towo.net> <c6f9c9ed-3a54-7754-790c-462af0c43299@mscha.org> <7cb84ed3-51ad-494d-0e0d-552a8326883b@towo.net> <da9e0f61-9519-7233-48b7-cd0328989514@mscha.org>
Am 13.05.2018 um 23:05 schrieb Michael Schaap:
On 13 May 18 22:04, Thomas Wolff wrote:
Thanks, maybe jumplist-started instances should implicitly inherit AppID.
Probably, yes. In fact, not just jumplist-started instances, but any
instance (also the default one) opened from the task bar icon.
Are you sure --store-taskbar-properties is needed to get the jumplist
stable? This would have additional implications, to be checked.
No, I'm not sure at all. I just added this because the man page told
me for AppLaunchCmd: "This is only effective if combined with an
AppName option and the command-line option --store-taskbar-properties
to make it persistent.". And I *did* have to add an AppLaunchCmd to
the .minttyrc, otherwise the default task bar icon action would open a
window without the AppID, but also without a login shell.
There does not seem to be a way to determine anything like an inherited
AppID when run from a jump list.
This makes things unnecessarily complicated. I'm adding the following to
the manual page as a note to option TaskCommands:
Note: To make the jump list persistent, it is necessary to carefully
apply additional tricks to satisfy the insane taskbar configuration
paradigm of Windows.
First, also configure a default taskbar icon command using options
AppName and AppLaunchCmd.
Second, choose a unique value for AppID and also add it to the (default)
launch command and all (jumplist) task commands.
Third, invoke mintty with the chosen AppID and option
--store-taskbar-properties.
Thomas
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple