public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Re: Recent change to terminal icon / mintty breaks taskbar pinning
Date: Wed, 11 Nov 2015 10:32:00 -0000	[thread overview]
Message-ID: <20151111103229.GA14466@dinwoodie.org> (raw)
In-Reply-To: <20151111085329.GA20598@calimero.vinschen.de>

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

  reply	other threads:[~2015-11-11 10:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11  3:49 Brian Mathis
2015-11-11  4:05 ` Andrey Repin
2015-11-11  8:53   ` Corinna Vinschen
2015-11-11 10:32     ` Adam Dinwoodie [this message]
2015-11-11 12:12       ` Corinna Vinschen
2015-11-11 14:33         ` cyg Simple
2015-11-12  8:25           ` David Macek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151111103229.GA14466@dinwoodie.org \
    --to=adam@dinwoodie.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).