delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/01/09:59:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Jw9Rr77WFaQCqwVz
Ab8mZ1Ol5wnMwKuDvEzGQI+hNoAdOXO5B+iyb5WwlvWULkS9o72r/DlwpfaKs4Vi
b0VOKzNlu4NHdQdvbUo43OSuutoPaYZxppXLgnPD35RiGCoa+pD1hhiwM+EgG8mU
shita2AbD/OaHGVirtn1sEPHBlg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ueOS1ncyvtKieWLjfxm6hq
vgsDE=; b=uhYOxNQ5SZSTBWrHzHpXwHiyPAQWA5dvrx1uabE+QOL9cv/HuWPPQs
GbmNoHcwwnlcqeiCYS44l78RLg0GAdDx5XARAr73tKf0RRmaqDGkURlpFyjWJvpT
QQ2w3qt6aCYzYZM5Jx0IJMPRJf1fV06HHoXbl0BzFmrhtFdUOF0/Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB autolearn=no version=3.3.2 spammy=unique, opened, combined, command-line
X-HELO: mout.kundenserver.de
Subject: Re: Problems with mintty jump list
To: cygwin AT cygwin DOT com
References: <c68b5886-2d9d-2a80-d400-619e11479965 AT mscha DOT org> <9d72af26-6725-adf5-634c-cc5d16309e9d AT SystematicSw DOT ab DOT ca> <47ed6ff1-1662-c014-58d6-f97ff29bb95b AT towo DOT net> <c6f9c9ed-3a54-7754-790c-462af0c43299 AT mscha DOT org> <7cb84ed3-51ad-494d-0e0d-552a8326883b AT towo DOT net> <da9e0f61-9519-7233-48b7-cd0328989514 AT mscha DOT org>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <3c47554c-773c-c10b-49ab-1f43f2a770ee@towo.net>
Date: Sun, 1 Jul 2018 15:58:56 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <da9e0f61-9519-7233-48b7-cd0328989514@mscha.org>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019