Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gvim is not resize properly when using tab in gvim #1047

Closed
i3bot opened this issue Jul 9, 2013 · 11 comments

Comments

@i3bot
Copy link

commented Jul 9, 2013

[Originally reported by zhu.qunying@…]
(1. open two window in vertical split mode, one is a gvim instance, the other could be any X program. order is not important.
2. run command ":tabnew" in gvim, the gvim window is not resize properly and
bottom is hidden.

@stapelberg

This comment has been minimized.

Copy link
Member

commented Jul 9, 2013

With which window manager does this work correctly? Did you try awesome, twm?

@i3bot

This comment has been minimized.

Copy link
Author

commented Jul 9, 2013

[Original comment by anonymous]

Hmm, I just tried twm, it seems behave the same, window's size got increased. I removed all other DEs from my system a few days ago, could not try others, but I suspect it would be the same case.

@i3bot

This comment has been minimized.

Copy link
Author

commented Jul 10, 2013

[Original comment by zhu.qunying@…]

Also in horizontal split mode, gvim's windows has a larger than normal bottom border (gvim's own border, not wm's decoration, anyway has border none set in i3). ":tabnew" will give a even larger border at the bottom.

After moving the gvim window into vertical split position and back, the border is back to normal.

@i3bot

This comment has been minimized.

Copy link
Author

commented Jul 10, 2013

[Original comment by zhu.qunying@…]

Further test on XFCE.

  1. If gvim window is not full screen, and has enough vertical space to expand.
    1.1 if gvim is at the bottom of screen, its window height will increase at the top side.
    1.2 if gvim is at the center or top, its window height will increase at the bottom.
  2. if gvim window is full screen, then it will act as normal. The tab bar will occupy some editing
    area.

On i3, if gvim is on full screen, it has the problem describe in comment3, it has abnormal high border at the bottom.

@stapelberg

This comment has been minimized.

Copy link
Member

commented Jul 10, 2013

Can you try it with another tiling wm, such as awesome? I suspect gvim just doesn’t play nice with tiling WMs.

@i3bot

This comment has been minimized.

Copy link
Author

commented Jul 10, 2013

[Original comment by zhu.qunying@…]

No, gvim is not playing nice with tiling manager. Just tried xmonad, same problem. Maybe an gvim bug should be raised.

@i3bot

This comment has been minimized.

Copy link
Author

commented Jul 10, 2013

[Original comment by zhu.qunying@…]

It seems gvim has similar problem in gnome under Ubuntu also. https://bugs.launchpad.net/ubuntu/+source/vim/+bug/137854

@i3bot

This comment has been minimized.

Copy link
Author

commented Jul 10, 2013

[Original comment by zhu.qunying@…]

Seems wmii solve it. http://code.google.com/p/wmii/issues/detail?id=7

@stapelberg

This comment has been minimized.

Copy link
Member

commented Jul 10, 2013

I can’t really tell how wmii fixes it from looking at these commits. Apparently they seem to focus the window after receiving a WM_NORMAL_HINTS update.

@i3bot

This comment has been minimized.

Copy link
Author

commented Nov 22, 2013

[Original comment by TonyC]

This issue is still present in version 4.6

Bumping and updating info.

@Airblader

This comment has been minimized.

Copy link
Member

commented Sep 26, 2015

I cannot reproduce this anymore, so given the age and inactivity I'm closing this now. If anyone can reproduce it still, let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.