Bug 158974

Summary: Cannot properly maximize GVim
Product: [Plasma] kwin Reporter: Daniel Nelson <torham>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ag+services, chinmaykamat, ilya.hegai, ingmar, jorge.adriano, L.S.Lowe, sandys, spatz, tassilo, thomas.luebking, walch.martin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Nelson 2008-03-08 17:54:01 UTC
Version:            (using KDE 4.0.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

If you try to maximize GVim, it immediately resizes itself smaller so that its geometry will be a multiple of its character size.  If you set "strictly obey geometry" it will resize in the same way when you use maximize the first time, then if you maximize again it will become slightly larger, and the third time it will set itself as maximized, but you still will be able to see around the window and click on windows that are behind.

Both GVim and Emacs had similar behavior in KDE 3.5.9, but Emacs is working properly in KDE 4.0.2
Comment 1 Daniel Nelson 2008-03-08 17:58:59 UTC
GNU Emacs works in 4.0.2 but XEmacs behaves like GVim
Comment 2 Dror Levin 2009-01-02 20:58:36 UTC
I can confirm this happening with gvim-7.2 and emacs-gtk-22.3 on KDE 4.1.3 in Gentoo.
Comment 3 Ingmar Vanhassel 2009-01-08 20:18:24 UTC
Confirmed on 4.1.96 (KDE 4.2 RC1), with gvim 7.2.069
Comment 4 Ilya Hegai 2009-11-26 11:43:13 UTC
Still presents in 4.3.3, gvim 7.2.303
Comment 5 Adam Russell 2010-01-13 21:20:49 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Thomas Lübking 2010-02-21 19:43:22 UTC
*** Bug 227967 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Lübking 2010-04-12 10:15:34 UTC
*** Bug 233921 has been marked as a duplicate of this bug. ***
Comment 8 Sandeep 2010-04-12 10:52:53 UTC
Does this bug need to be filed upstream (on gvim itself) - or is the bug going to be resolved at KDE level ?
Comment 9 Lawrence 2010-05-10 15:53:55 UTC
Confirmed no ability to un-maximize, and no benefit of forcing "strictly obey geometry", in Fedora 12 with KDE 4.4.2 for all these apps: 
  gvim (vim-X11) 7.2.411, 
  emacs 23.1.1,  
  Terminal 0.4.2-2 

But no such problems for xemacs 21.5.29, for me.
Comment 10 Tassilo Horn 2010-09-10 15:00:48 UTC
I also have that issue with GNU Emacs.  I tried various combinations of the window-specific settings "Ignore requested geometry" and "Strictly obey geometry", but that doesn't seem to make any difference here.

I'm using KDE 4.5.1.
Comment 11 Thomas Lübking 2010-11-16 17:48:11 UTC
http://svn.reviewboard.kde.org/r/5871/
Comment 12 Thomas Lübking 2010-12-20 19:19:15 UTC
SVN commit 1208120 by luebking:

adjust strict geometry policies
http://svn.reviewboard.kde.org/r/5871/
BUG: 158974
CCBUG: 252314

@Jorge:
please see the request description and check whether this allows you to fix your bug
in case, don't forget to close it ;-)


 M  +6 -7      geometry.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1208120
Comment 13 Jorge Adriano 2011-06-08 09:47:05 UTC
There is a regression of bug Bug 252314 in KDE 4.7 beta 1. I seem to remember these bugs were tightly related, so chances are there is a regression of this one too.
Comment 14 Thomas Lübking 2011-06-08 16:19:44 UTC
no, gvim is not affected and can be made to either be maximized but not covering the entire screen (default) or maximized & covering the entire screen (forcing the geometry to not be strictly obeyed)