From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5243 invoked by alias); 11 Nov 2015 10:32:38 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5235 invoked by uid 89); 11 Nov 2015 10:32:37 -0000 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 Received: from mail-wm0-f50.google.com (HELO mail-wm0-f50.google.com) (74.125.82.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 11 Nov 2015 10:32:35 +0000 Received: by wmec201 with SMTP id c201so174918581wme.0 for ; Wed, 11 Nov 2015 02:32:33 -0800 (PST) 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) Received: from dinwoodie.org ([2001:ba8:0:1c0::9:1]) by smtp.gmail.com with ESMTPSA id j8sm8287757wjf.1.2015.11.11.02.32.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 11 Nov 2015 02:32:31 -0800 (PST) Date: Wed, 11 Nov 2015 10:32:00 -0000 From: Adam Dinwoodie To: cygwin@cygwin.com Subject: Re: Recent change to terminal icon / mintty breaks taskbar pinning Message-ID: <20151111103229.GA14466@dinwoodie.org> References: <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 X-SW-Source: 2015-11/txt/msg00179.txt.bz2 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