From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3433 invoked by alias); 10 Aug 2016 23:16:50 -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 3403 invoked by uid 89); 10 Aug 2016 23:16:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=schrieb, yhbrent@yahoo.com, yhbrentyahoocom, brian X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 Aug 2016 23:16:39 +0000 Received: from [192.168.2.101] ([178.11.248.74]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0Lp9KG-1b3lYr1rS0-00eskG for ; Thu, 11 Aug 2016 01:16:33 +0200 Subject: Re: chere mintty window position To: cygwin@cygwin.com References: <308637801.11319327.1470693117361.JavaMail.yahoo.ref@mail.yahoo.com> <308637801.11319327.1470693117361.JavaMail.yahoo@mail.yahoo.com> From: Thomas Wolff Message-ID: <57ABB5D0.4010800@towo.net> Date: Thu, 11 Aug 2016 06:33:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:LqjvHk+ElF8=:sHw+BZh5PvzXCNHbnMMz+r buj4tvrhu09HDqdLPnPeYDoIFdpoqWa3VZczlmoramsaCIuvMWdIwaafeZxnvRyFqoaii2eFu b+/eyD0J6GAsbxhZvYYvh2KKilV3kUmYuPUD/80+8XErfY/zO4lNfHGmvG08D/aQtzOozz77H iwS3LMeV5Bhg7kBByQT/+PDsgeOMzuI/5Ga/b/v52Me3ZVUc6M4/DXlkqazB4q7s6ZSJ0daI3 lMbjpkJOBbe38JAThCbYkXEQ4dP6d0xQdKfn7cTzfkrN+fo9avoWqtvDm8ErorPNlyJ300iUZ 23ktldfzA+zi7M4PqEWXpsRT1tue5IU5w+HV4fJKRBr5iYa5IIncI9TzmjPXfkxRaD80o8fy4 S2ZSVtVPpUZ9R6727aGRQKUWkzMGXZCYrEfpB+zAGHc7NCwNkpdLtL0PdtpcU7mjzZmnzSQ5h 46dEyZoDexBwgWJHM+Zbrs7RNucnNdzRJUbgxJVYIdi+INdtUFPhnQk1Tnh4Jj3A9xPS+BJ5T mg8neCOuCqKtTGNDQZfNjH+KiuNiOtLPMm1cWccUdJDvODtICKYAWgFxSpSRBVVkMKeIRrcZj xBkmpjNGz2Sq/d+gnmTXPPVl8WywrCjb/OvoqjK5e3pTP3UIKpXzQaJc86SmaSr4k0fLx2gpH TwdLjx1MHx3ebLmMt0PIH9ZVBqCshGYIkGWm5QDFpBsetjfAjEvXRgM56mN8qz4LrQ3nYp37w m2IOI2evWaZW3HUx X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00182.txt.bz2 Am 11.08.2016 um 00:53 schrieb Brian Mathis: > Are you seeing this on Windows 10? I have noticed a lot of other apps > do this as well on Windows 10, such as Evernote and Firefox. It seems > to be caused by the invisible window border that Windows 10 puts on > everything to make it appear that apps have no border, but still give > you enough pixels to grab them to resize with the mouse. You won't > notice it if you always have your apps maximized. > > In that case, I don't think even a position parameter would help, > since the 0,0 would still include the invisible window border, unless > maybe you tried negative positions. > > The fix needs to be done in code, as described here: > http://stackoverflow.com/questions/35259756/wpf-and-windows-10-invisible-border-around-windows > > You can pass options to mintty when you run chere using the -o option. > Try something like -o "-p -5,-5". Run "chere -h" to see help. How about mintty -w max or -w full instead? ------ Thomas > > > > On Mon, Aug 8, 2016 at 5:51 PM, Brent wrote: >> Hello. >> >> I recently did a clean reinstallation of 32 bit cygwin, and as part of that, downloaded the chere package so that I could get Windows Explorer context menu bash here support. >> >> I like my cygwin bash terminal windows to come up maximized by default. >> >> So, my usual procedure the first time that I use the context menu bash here feature is to: >> 1) click on mintty's Windows square button in the top right to maximize the window >> 2) right click inside mintty --> Options... --> Window --> click on Current Size button >> >> Doing that this time ALMOST works. When I try the context menu bash here feature now, the mintty window does come up greatly enlarged. BUT it is not correctly centered! It actually is shifted to the right by ~5 or so pixels! That means that the right side scroll bars, for example, are partly going off the right side of the screen. This is very annoying. >> >> Is this a known bug with mintty? >> >> Is there a fix? >> >> I have one guess. This mintty page >> https://mintty.github.io/mintty.1.html >> says that it supports a >> -p, --position X,Y >> options, so something like >> -p 0,0 >> should do the trick. The question is how can I supply an option like that to mintty when it is opened by chere from a Windows Explorer context menu. >> >> -- >> 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 >> > -- > 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 > -- 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