Tuesday, July 24, 2012

Re: Empty lines at bottom and right side when on Fullscreen.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/23/2012 09:08 PM, Ben Fritz wrote:
> On Monday, July 23, 2012 1:23:42 PM UTC-5, Ney wrote:
>> Everything is turned off: set guioptions-=m set guioptions-=T set
>> guioptions-=L set guioptions-=r set guioptions=ac
>>
>> i think it's a core gvim problem.
>
> Yes, you mentioned everything is turned off. What happens if you
> turn scroll bars on, or use the default settings by launching Vim
> with gvim -N -u NONE -i NONE. I agree it looks like a core gvim
> problem, I'm hoping to see under what circumstances it arises. I
> don't have a Windows 7 machine accessible to try this on right
> now.
>
> Bug reports should go to the vim_dev mailing list or to the Google
> Code issue tracker: http://code.google.com/p/vim/issues/list
>
> What you've reported is probably enough, but the more specific the
> report, the faster the issue can be tracked down and fixed.
>

I also have this 'problem' on Linux (XFCE with Compiz), but I don't
think it is really a bug or a 'problem', rather expected behaviour.
When not maximized the GVim window always resizes to exactly fit
X-amount of rows and columns in the window. You can also see this by
changing the font in GVim. While other editors would change the number
of displayed rows and columns when changing the font, GVim actually
changes the window size to fit exactly the same amount of columns and
rows in the window.
Now, when GVim is maximized, the window will in most cases have a size
which does not exactly fits a round number of rows and columns of
text. So instead of drawing half-visible characters (such as Gedit
does for example), GVim simply ads a border to the right and the
bottom of the window.

Personally I 'fixed' this by add a few lines of code to my .gtkrc-2.0
(I'm on Linux) file to change the color of the 'border' to black, so I
don't notice it anymore:

# color the right and bottom edges of maximized gvim windows
style "gvim" {
bg[NORMAL] = "#000000"
}
widget "vim-main-window.*GtkForm" style "gvim"

Jeroen

- --
website: http://budts.be/ - twitter: @teranex
___________________________________
Registered Linux User #482240 - GetFirefox.com - ubuntu.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAEBCAAGBQJQDkm8AAoJEBrqc/v4ufiMRpsQAM17tzj5zqk9HMGAC/70xH0Z
RBO+G9BA6OZUzygOJdV7NRml7M9nnN3YKeabx2haa8GKOJE4fOjzC1OYLjaFQdNn
s8q/Tt3AeSkNkzPQKDF2tmWh1cIphRgu1WDLOYw1J9qjjwGM4KHh1UFodNoi12TU
U+3uzumu1mLMHXS4fzu0ivBT2fm+4Dw/dNM/HOiZyXiPR8/1/h1EFpEfxJFjCpuk
yjo0NQt/GvpXyjSNO8JRta7j6sfu4MY8kTiNw+b9Ur8i8C5hE2U+bJKdeme3oNLD
J8dT0xScP5FPxJqfRsR/6FKaK7VV4gXG5jXIdaKqjKcjq46SarSwRyy1V/e+XRgq
T+HVmSJxBpKjZIFuv97PdsiTloLjtZRDncqf9KnKIy5pa7TYACFMCuZ6fK/PuLtH
80Bpz07YvVGsf4ZM9VKSSMzvdy3ieEcIpQ7Coyn/pWEujHimVQ9jSs65h9cxuPtF
xnJMxQCGU+bSIjK10rSTpV1bAhEqPkpGXTw2RlFCFuQQGvyJ8yDBFz85dll7aZhZ
Ei6K488Z6rYxKQvvHwO8RXGecMGYOjdtLoRhU2fCOZXP8TwDx9N1m47Z6/bIvRMl
cr3HlrrkY+/aM0Qm6B5EgtXj5dCSD2zjfe8jA+o1boQLG1nY0AHTPiCiQuQYjD+Y
GirUZnJyu+gFqHxYcJ+r
=Eltx
-----END PGP SIGNATURE-----

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