X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=l0Vb
	EptMj8ZDJv5yb79C9/8N1PKT+GPJqkwn5sEMTBYzfqpxt9CNymjlO6bwowzUPtK1
	Eto0IJw6keoY4kWgkNmNQrZn5FbfP/rFZrD+qG3BTlJAeuO4xBsnnGguJhJQK2WJ
	Vpai+f6XmXbshnzVzx5NcFvBB2t69bCpb/lIBkU=
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:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=DfDi7q8yAF
	tiA7Rb6W9QtApJtJo=; b=MYLyhM/Bw/afxq4wvkoh43V7FTViI3VQEZmhmKhh/a
	35hoQkqyjuObfiv7Au0dp7tnycUhCnQ5BlTiDMwxyTZjtI0p2x/tew6TmMCWtq+A
	2SxOYeF23xWpU0d5H7tf5WXo6zPYP0dFI/kppxEy+oH4yG0TC14rW2P76MfOOtjC
	s=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wm0-f50.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:date:from:to:subject:message-id:references         :mime-version:content-type:content-disposition:in-reply-to         :user-agent;        bh=i/eVI0ktAk8pAJEl2TJ8LYSaHv4fStloRQgNsR8MhQs=;        b=DDIvf4dyPUylwuU/qaoKaFCnEiY/ZlMj1LRVRp94NbuW3qVDeVHB9GZRioVEA9sjKg         GyImktlh2h3xCrrnxhQ32Qkjkdm8BIiq0GGhej9gtNhu9e7xJ4h5HGglQSyza2kCs0Pn         apGivXg4+Tcoi/BvULJtWXrKXvKoJyHFUJg/Kcpg5ms/9hwKtC8ICffN8qrp6qqNHhDG         rD5XMcar/ZBRtnO+YuPV6PQ1F2M3/hgFuUqshfvtoIL3h9e3HNJSTOEJ50x2fysX+Irv         y5Y/91wjkzu49F2kusnfGTI0Y1IdIkuhOYX/M10vLpd1DRmq6D2KlozzIJy2Y8T/rMGQ         cXkg==
X-Gm-Message-State: ALoCoQnDoS4Bnpfu1NUJnQ7T0kj+Mj8/e/etsINJGfaQunW9qgFpNEEtVF9zvNPInVIQDE/SrjZU
X-Received: by 10.195.13.135 with SMTP id ey7mr10526932wjd.25.1447237952812;        Wed, 11 Nov 2015 02:32:32 -0800 (PST)
Date: Wed, 11 Nov 2015 10:32:29 +0000
From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Re: Recent change to terminal icon / mintty breaks taskbar pinning
Message-ID: <20151111103229.GA14466@dinwoodie.org>
References: <CAPsu6LjRyq99XsOR0hqPJOU2okZqTnq7JADyd25i6U+bMy2Bjw@mail.gmail.com> <792817838.20151111065303@yandex.ru> <20151111085329.GA20598@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20151111085329.GA20598@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

On Wed, Nov 11, 2015 at 09:53:29AM +0100, Corinna Vinschen wrote:
> On Nov 11 06:53, Andrey Repin wrote:
> > Greetings, Brian Mathis!
> > 
> > > I recently updated to the latest set of cygwin packages, and something
> > > has broken the terminal icon when pinned to the start menu.  When
> > > starting from the Start menu "Cygwin Terminal" icon, mintty comes up
> > > normally, loads my user profile, and the cwd is set to ~.
> > 
> > > However, if I right-click the icon on the taskbar and select "Pin to
> > > taskbar", close the existing terminal, then open by clicking on the
> > > pinned taskbar icon, the terminal starts but it does not load the
> > > profile, the cwd is /usr/bin, and no commands can be found (e.g. ls:
> > > command not found).  I have tracked this down to the pinned icon
> > > missing the arguments "-i /Cygwin-Terminal.ico -".
> > 
> > > I'm sure this worked prior to the update, so something seems to have
> > > changed.  I update fairly often, so this is something recent within
> > > the past month or so.  I'm on Windows 8.1 x64 using Cygwin 32bit.
> > 
> > I've experienced this same issue across a wide range of applications,
> > including AD management tools.
> > 
> > I have a feeling this is unrelated to Cygwin.
> 
> Yeah, pinning is only controlled by Windows itself (shell32
> functionality, probably).  It's not under the control of the
> application the shortcut points to.

Not so.  This is related to the recent MinTTY changes[0].  I get the
bugged behaviour on v2.2.1-0, but if I downgrade to v2.1.5-0, I get the
behaviour Brian is describing as correct, with the command line
arguments preserved when the program is pinned.

I'll guess this is, in particular, related to the "optional Windows
taskbar integration" listed in the changelog in the announcement email.

[0] https://cygwin.com/ml/cygwin-announce/2015-11/msg00020.html

--
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

