Tuesday, February 14, 2017

gVim under Linux starts too low when it is configured to take all vertical space.

For some odd reason, when I am staring gVim on my Linux Ubuntu 16.04 LTS laptop using the Unity desktop, it starts to low when I am asking it to take all the vertical space available. It starts at position y=53 while it should start at y=24, just below the desktop's menu bar (it is 29 pixels too low). The length of the window is fine and well within the screen height once I move it at its proper place.

It is the only application that shows this behavior. All the other applications start at a proper height, just under the menu bar. This suggest that this has something to do with gVim.

It used to work properly in 14.04. I cannot recall exactly when this started. Not sure if that problem occurred as soon as I upgraded to 16.04 or if it happened later.

Following, the .vimrc used for reproducing the problem:


winpos 0 0
set lines=999 " 999 = take all the vertical space.
winpos 0 0
" Window position report at this point: X 0, Y 53


This occurs with the latest code found in the git repository, as of 2017-02-14 04:27:56 EST.

Best regards,
Hans Deragon

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: