Thursday, June 21, 2012

Re: Vertical split changing GVim application window position

On Wednesday, 20 June 2012 13:46:26 UTC+1, Yukihiro Nakadaira wrote:
> On Tue, Jun 19, 2012 at 8:24 PM, <geoffrey.wood@thomsonreuters.com> wrote:
> > When switching the display to show a vertical split (e.g.
> > use :vsplit, or switch to a tab that's already split), if
> > the GVim Application window is across the boundary of the
> > two monitors, it changes position to be on one of them -

> Workaround is :set guioptions+=l, :set guioptions-=L, :set guioptions+=r
> or :set guioptions-=R.
>
> When splitting window vertically, Vim shows scrollbar. It causes window
> resize. When resizing window, Vim try to keep window completely on
> screen. And currently it is performed by comparing window position with
> workarea (not entire screen). Therefore, Vim window always moves when
> it is across the boundary the two monitors.
>
> We are discussing this problem in vim_dev.
>
> --
> Yukihiro Nakadaira - yukihiro.nakadaira@gmail.com

I see, so it's the vertical scrollbars appearing
or disappearing that triggers it. This workaround
works for me, thanks! (I had guioption L)

I'll keep an eye on the thread in vim_dev :)

> > This doesn't happen with horizontal splits, but some time
> > back I mentioned another issue with this configuration that
> > does - switch the position of the application window
> > between monitors and the split changes position.

Turns out that problem is no longer reproducible
in the latest build (I checked before upgrading to
latest build, I should have checked afterwards).

Thanks for your help,
Geoff

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: