ashersyed / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

MacVim does not work with window managers when attempting to span multiple displays #422

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
RULES: READ FIRST!
1.  This page is only for reporting bugs.  Feature requests are to be
posted to the [http://groups.google.com/group/vim_mac vim_mac] mailing
list.
2.  Go through the
[http://github.com/b4winckler/macvim/wiki/Troubleshooting Troubleshooting
guide] before creating a new Issue to rule
out common problems that are not bugs.
3.  Search older Issues and the [http://groups.google.com/group/vim_mac
vim_mac] mailing list before creating a new Issue.
(Please delete this text now that you have read it and enter an issue
report.  Thank you for taking the time to report bugs!)

What steps will reproduce the problem?

What is the expected output? What do you see instead?

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

Please provide any additional information below.

When using MacVim in combination with window manager applications e.g. Mercury 
Mover or Breeze, MacVim fails to move to preset window sizes that span multiple 
displays. Sometimes it appears to briefly resize correctly then snap back to 
it's original size/position. Other applications e.g. Chrome do not exhibit this 
behavior. The reason I am interested in doing this is that I have 3 displays in 
vertical orientation and would like sometimes to be able to split a MacVim 
window vertically and then resize it to show two buffers on two displays. I am 
running Mac OS X 10.7.3 and MacVim snapshot 64 and already tried the steps 
above.

Thanks,
Rick

Original issue reported on code.google.com by rrto...@gmail.com on 18 Aug 2012 at 7:14

GoogleCodeExporter commented 9 years ago
I am aware of this problem. It should be possible to manually resize a window 
to span multiple monitors, but as soon as you programmatically change the 
window dimensions then the window will snap to fit one monitor. Unfortunately, 
Vim is quite ambitious about resizing so it triggers programmatic changes in a 
lot of circumstances, e.g. when splitting a window.

Fixing this would require a substantial effort so I've been putting it off for 
a long time (particularly, since I won't benefit from a fix personally).  Sorry 
about that.

Original comment by bjorn.winckler@gmail.com on 19 Aug 2012 at 4:07