My favorite text editor is vim and my favorite GUI text editor is KVim, because it incorporates all the nice KDE dialog boxes and buttons that I like to use. Unfortunately, KVim has a serious bug that hasn't been fixed in well over a year; actually, there are two bugs, but they seem related to me.
Bug #1 (which I have reported several times on the KVim dev list): Every time I save my work, the window shrinks about 50 or so pixels on the right & bottom. After 5 or so saves, I have to manually maximize the window again, which is both annoying & ridiculous.
Bug #2 (which I have not experienced, but has been reported over and over again on the KVim dev list): A user simply opens KVim, and the window rapidly shrinks on the left & bottom until it is about a half-inch wide and a few inches tall, obviously making it unusable.
I found a solution to this and the other problem that I've reported a few times & never gotten a reply on (and yes, that ticks me off just a little bit).
- Open KVim. In the upper left corner, click on the Window menu and choose Configure Window Behavior.
- In the Configure - KDE Control Module window that opens, choose Window-Specific Settings from the list of choices on the left side.
- Press the New button.
- In the KDE Control Module window that opens, enter the following:
-
On the Window tab:
- Description: kvim_resize (or whatever you want)
- Window class: kvim
- Choose Exact Match from the dropdown under Window Class
-
On the Window Extra tab:
- Window types: choose everything except Dialog Window
-
On the Geometry tab (I am aware that some of the following may in fact be doing nothing toward solving my problem; basically I played with these choices until I got what I wanted):
- Check Size, then choose Force in the dropdown next to Size, and then enter 1024,710 in the textbox (these last numbers should be changed according to your needs - I'm using a 1024x768 resolution with a big KDE Panel)
- Check Maximized horizontally, then choose Force in the dropdown next to it, and check the box following the dropdown.
- Check Maximized vertically, then choose Force in the dropdown next to it, and check the box following the dropdown.
- Check Fullscreen, then choose Force in the dropdown next to it, but do NOT check the box following the dropdown.
- Press OK at the bottom of the KDE Control Module window to close it.
- Press OK in the bottom of the Configure - KDE Control Module window to close it.
- Close KVim & restart it. It should open maximized & stay so as you use it, or when you save your work.
I find it incredible that these problems have been going on well over a year, and that many people have reported them multiple times, and yet it is still an issue. Fortunately, KDE gives us a way to work around these issues; hopefully one day the KVim developers will fix these issues themselves.
|