> > Gerhard Siegesmund wrote:
> >
> > > Just a small question. Maybe this is a problem with my configuration.
> > > Whenever a error popup opens (e.g. when the file to open already is
> > > opened) after the popup vanishes the mouse cursor is moved to the upper
> > > left corner of the screen.
> > >
> > > This would not be such a problem, if the upper left corner wasn't
> > > active. When the mouse is in the upper left corner the desktop is shown.
> > > Effectively if a error popup appears, all my windows vanish after
> > > closing the popup. Not really a problem, but soft of a nuisance. It
> > > would be great, if I could turn off that behaviour.
> >
> > What system are you using?
> >
> > Vim may move the mouse cursor to avoid losing focus in specific
> > situations. Pehaps the position is miscalculated. Please give a
> > step-by-step description so that we can try to reproduce it.
> Hello Bram
>
> I am using ubuntu on one computer and debian unstable on another
> computer.
>
> The steps are quite simple. Open up a terminal and edit a file. Then
> open another terminal (or screen window) and then open the same file
> using gvim. You get the popup-box showing the message, that the
> '*.swp'-file already exists. Now when you press "open read only", the
> popup vanishes, but the cursor is in the upper left corner.
>
> I have the same problem on debian with ratpoison, which is even more
> frustrating, as i am using synergy with another computer which means,
> that I loose focus on this computer as the mouse course even jumps to
> the other monitor (meaning at least one pixel left of the upper left
> corner). If you know synergy, you might understand, what I mean. :)
I use Synergy to share a keyboard and a pair of monitors between two
computers, one running Windows XP (the Synergy client) and the other
running Red Hat Enterprise Linux 4 (the Synergy server). I thought
I might be able to contribute something to this discussion.
However, I don't see the problem.
While in an xterm window, I opened an existing text file using vim.
Then, from another xterm window, I opened the same file using gvim.
Gvim displayed the "VIM - ATTENTION" pop-up saying that the swap
file already exists. The pop-up appeared to be centered over the
gvim window. I clicked on "Open Read-Only" and the pop-up closed,
but my mouse pointer stayed exactly where it was on the screen.
I repeated the experiment, starting vim as "vim -u NONE myfoo" and
starting gvim as "gvim -u NONE" and the results were the same.
I'm afraid I don't have access to a box running either Ubuntu or
Debian.
I'm using Synergy 1.3.1 and Vim 7.2.411, normal version with GTK2
GUI.
Regards,
Gary
--
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:
Post a Comment