chere mintty window position
Thomas Wolff
towo@towo.net
Thu Aug 11 06:33:00 GMT 2016
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@yahoo.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
More information about the Cygwin
mailing list