delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/10/19:17:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=kimDH86Y42hUOqf0
OSDF+WWKx+HuuHuDkKDNfTmibiAWQhLfsTNLXerWKxLkftjuxdL6xsYSvClvTDIM
FTYx46EzGGRRkXHAfdWa68CXsRpYXBgLsSIXqRP+/JDylYP2X6lYKxAWvrT8iWM+
J3AOBggpU9oXGPoaJXeaPQV/5l4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=F0p/Znq5/iq4zJIsivLacr
fXSn8=; b=UVS02Xs+w5FQoGMSHIeIBRZCUPjr4H/FKUIt5fcUwFnD623WGE3jO9
3PDyg1wbDXUekVw5tRz7Llyozh2rRWtUOkjR4avTq53z7uPuvT2o/ormuY9eAYh4
+1/5frg1bc+7EfFb5+2AJg+VDHnXZI9RyBNGWfh/IwCqca8O1ilo0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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 AT yahoo DOT com, yhbrentyahoocom, brian
X-HELO: mout.kundenserver.de
Subject: Re: chere mintty window position
To: cygwin AT cygwin DOT com
References: <308637801 DOT 11319327 DOT 1470693117361 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com> <308637801 DOT 11319327 DOT 1470693117361 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <CAPsu6LjKbfSQDUeqUZPqWh0BisuUTjG61ZKSLT=R_TVDHb53og AT mail DOT gmail DOT com>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <57ABB5D0.4010800@towo.net>
Date: Thu, 11 Aug 2016 01:16:32 +0200
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: <CAPsu6LjKbfSQDUeqUZPqWh0BisuUTjG61ZKSLT=R_TVDHb53og@mail.gmail.com>
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

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 <yhbrent AT yahoo DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019