This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KWin can not correctly maximize gvim window

Tags: None
(comma "," separated)
xzhao
Registered Member
Posts
6
Karma
0
Hello everyone,

I met this problem with KDE5 and gvim.
When I maximize gvim window, there is a slim grey margin above the title bar. When I click the margin, it activates the window below.
I thought this should be a bug, is it because gvim is a gtk app?

Screenshot: http://i.imgur.com/GSNzZRm.png

Environment:
openSUSE 13.2
KDE 5.9
gvim 7.4.461
luebking
Karma
0
> is it because gvim is a gtk app?
Yes, we hate the gtk+ guys and screw their stuff >-)

;-)
Naahhhh... it's because gvim uses the gtk+ terminal widget which sets a fixed aspect ration which is obeyed by default.
Make a "special window setting" (in doubt run "kcmshell5 kwinrules" and add a new rule) to forcefully disobey its geometry restrictions.
See eg. here: https://userbase.kde.org/KWin_Rules_App ... arounds/en (it's for emacs but it's the very same situation)
xzhao
Registered Member
Posts
6
Karma
0
The previous post fix my problem, thanks!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft