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
Closed

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

i3bot opened this issue Jul 9, 2013 · 11 comments
Assignees
Labels
4.6 bug reproducible A bug that has been reviewed and confirmed by a project contributor

Comments

@i3bot
Copy link

i3bot 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
Copy link
Member

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

@i3bot
Copy link
Author

i3bot 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
Copy link
Author

i3bot 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
Copy link
Author

i3bot 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
Copy link
Member

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

@i3bot
Copy link
Author

i3bot 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
Copy link
Author

i3bot 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
Copy link
Author

i3bot commented Jul 10, 2013

[Original comment by zhu.qunying@…]

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

@stapelberg
Copy link
Member

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
Copy link
Author

i3bot commented Nov 22, 2013

[Original comment by TonyC]

This issue is still present in version 4.6

Bumping and updating info.

@stapelberg stapelberg removed the general label Feb 4, 2015
@acrisci acrisci added bug reproducible A bug that has been reviewed and confirmed by a project contributor labels Mar 27, 2015
@Airblader
Copy link
Member

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
Labels
4.6 bug reproducible A bug that has been reviewed and confirmed by a project contributor
Projects
None yet
Development

No branches or pull requests

4 participants