ylm / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Windows 7 taskbar pinned shortcut compatibility #420

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have two pinned mintty:
"C:\cygwin\bin\mintty.exe -- ssh linux" with icon gentoo.ico, let's say it's 
gentoo-mintty
"C:\cygwin\bin\mintty.exe -" with default icon, let's say it's cygwin-mintty

before starting gentoo-mintty, the two icon of pinned shortcut looks just fine. 
but after starting the gentoo-mintty, the icon becomes default icon instead of 
the custom one (gentoo.ico)
-> suggested enhancement 1: adds support for custom app icon from command line

close all mintty, start the cygwin-mintty, taskbar is shown as
[gentoo-mintty (not started)] | [cygwin-mintty (started)]
but after i press alt+F2 (the "New" window feature of mintty), taskbar looks 
like
[gentoo-mintty (started)] | [cygwin-mintty (started)], this is unexpected
it's expected to be
[gentoo-mintty (not started)] | [cygwin-mintty (started)][cygwin-mintty 
(started)] (the two should group next to each other)

it looks like the "New" window mintty is started with command line
"C:\cygwin\bin\mintty.exe" instead of "C:\cygwin\bin\mintty.exe -", which make 
window cannot recognize what this task should group, so it find the first one 
that match only the path part of command line without arguments

-> suggested enhancement 2: when using alt+F2/New feature, fork new mintty with 
exactly same command line argument as current one (don't forget to load correct 
custom icon btw)

Original issue reported on code.google.com by xue...@gmail.com on 15 Feb 2014 at 4:23