On Tue, Jun 19, 2012 at 8:24 PM, <geoffrey.wood@thomsonreuters.com> wrote:
> tUsing Vim 7.3 patches 1 - 556 (the Vim without Cream
> version) on XP SP3.
>
> I have a dual-monitor system, both monitors are the same
> size and resolution, the left-hand monitor is the primary
> one so no negative desktop coordinates.
>
> 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 -
> I think whichever monitor is showing more of the window
> at the time. It's reproducible, like this:
>
> . Run "gvim -N -u NONE -i NONE"
> . Put the Application window across the boundary between
> the two monitors
> . Enter command ":vsplit"
>
> Background: I'm using ":vert diffsplit" and stretching gvim
> across both monitors to fill the screen. Every time I
> switch to another tab and back, it changes the application
> window position.
>
> Can I stop this from happening? Anyone else see this, or
> indeed do this with vimdiff and NOT see it?
>
> regards,
> Geoff
>
> 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. (I've
> turned off the SwapScreen utility I used there so it
> isn't involved in this vsplit problem.) No-one had any
> insight into that one, so I'm wondering if my machine
> is peculiar in some way.
>
> https://groups.google.com/forum/?fromgroups#!searchin/vim_use/Vim$20splits$20resize$20switching$20between$20dual$20monitors/vim_use/Zra0F3EhFsg/Mv3adN7YtQIJ
I can reproduce it.
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
--
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
Wednesday, June 20, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment