Trying to reproduce the problem, I get the following bizarre results in GTK2/Gnome gvim 8.0.1567 on a desktop with openSUSE 42.3 "latest stable" and all software updates so far, including Test ones:
Starting "gvim -u NORC -N" gives me a non-maximized gvim at top left (20 'lines', 80 'columns', x 0, y 27 just below the winmanager's toolbar). Clicking the Maximize button on gvim's title bar gives me 58 lines, 153 columns, x 0, y 34 But then ":set lines-=1" to unmaximize it by the least possible vertical amount brings y back to 27. If instead of clicking the Maximize button I type ":set lines=999 columns=9999" I get 58 lines, 152 columns, x 0, y 27. The titlebar has a Maximize button, not an Unmaximize one (the icon is noticeably different). Clicking that gives 58 lines, 153 columns, x 0, y 34 and the button becomes Unmaximize. Clicking that gives 58 lines, 152 columns, x 0, y 27 again (and a Maximize button). IOW I cannot reproduce the big move (giving more than enough space for a second winmanager toolbar) experienced by the OP. But the act of maximizing gives me 7 pixels extra space at top, and about the same at bottom by eyeball estimùation. AFAICT this seems to be less than one text column height (in the indicated setup, 'nocompatible' with -u NORC, 'guifont' ends up empty but ":hi Normal" answers "Normal xxx font=Monospace 10". That "Monospace 10" font is not visibly different from a "Bistream Vera Sans Mono 10" (in particular the lowercase L has the same characteristic shape), it should be either that, or something extremely similar like DejaVu Sans Mono 10 which is also installed. Oh, and a last idea: starting as «gvim -u NORC -N --cmd 'set ghr=0'» instead makes no difference except that after starting up, ":set ghr?" answers 0 rather than 50. However, that 'guiheadroom' setting is not something I usually play with, I'm not sure what it does (and I cannot reconcile its help paragraph with what I see happen). Best regards, Tony. -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
