ilivit / mintty

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

Windows does not handle windows API of Hidden correctly #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a VB.NET program that runs your mintty (example,dim cmd as string =  
"mintty /bin/env DISPLAY=localhost:0.0 ssh -p 22 -Y -X user@host leafpad"
2. Get the window process information in VB.NET with DIM proc as new 
ProcessStartInfo(cmd)
3. Vb.NEt proc variable now has 4 window styles, hidden, maximized, minimized 
and normal.  All these work fine, even minimized, EXCEPT hidden.  Where any 
other standard windows program works find with .hidden, this mintty does not 
get hidden, instead it get full screened.
4. Setting proc.WindowStyle = ProcessWindowStyle.Hidden makes mintty go into 
fullscreen mode (not hidden like other windows apps)

What is the expected output? What do you see instead?
Hidden Window, instead mintty goes in fullscreen mode

What versions of mintty, Cygwin/MSYS, and Windows are you using?
mintty 0.8.1, cygwin 2.712

Please provide any additional information below.
Of course, since I am ssh'ing an x11 app, it doesn't really matter if I use 
standard cygwin's bash to execute it, or mintty. 

Original issue reported on code.google.com by mreschk...@gmail.com on 20 Aug 2010 at 6:21

GoogleCodeExporter commented 9 years ago
forgot to add, running windows 7 64bit

Original comment by mreschk...@gmail.com on 20 Aug 2010 at 6:23

GoogleCodeExporter commented 9 years ago
Should be fixed in r984 on svn trunk. Can you give that a try?

Original comment by andy.koppe on 20 Aug 2010 at 8:34

GoogleCodeExporter commented 9 years ago
Confirmed fixed using cygstart's --hide option.

Original comment by andy.koppe on 22 Aug 2010 at 6:50