Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40662 - KVim window width shrinks impossibly upon startup.
Summary: KVim window width shrinks impossibly upon startup.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 17:22 UTC by Joe Khoobyar
Modified: 2004-07-31 09:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Khoobyar 2004-02-06 17:22:39 UTC
kvim starts up maximized and then shrinks to an impossible width (like 50 to 75 pixels or so), with the menus and toolbars flickering all the while, until it can shrink no more.  It then continues to flicker as above, until you manually resize the window, at which point the anomalous behaviour ceases.

....

What the hell is 'dat?  ;-)

....

Is this a kvim bug related to incompatiblity with kde 3.2, or is this just a problem with the current ebuild?  I'm not sure if the kvim build has been updated since the 

Reproducible: Always
Steps to Reproduce:
emerge -vu kvim
Actual Results:  
kvim starts up maximized and then shrinks to an impossible width (like 50 to 75
pixels or so), with the menus and toolbars flickering all the while, until it
can shrink no more.  It then continues to flicker as above, until you manually
resize the window, at which point the anomalous behaviour ceases.


Expected Results:  
normal startup.

It is worth mentioning that I unmerged kvim, and then remerged it after merging
in all of KDE 3.2 stuff.  I wonder if this could've caused the problem?
Comment 1 Wes Morgan 2004-02-08 19:14:15 UTC
It does this on my Apple TiBook too (can someone w/ permission switch Hardware from x86 to All?). I think it worked before I merged the latest kvim (6.2.14) and vim (6.2-r6) and KDE 3.2. I saw it too on another guy's x86 laptop on a fresh install of Gentoo (w/ KDE 3.2 final also). I'm at a loss...
Comment 2 Philip Webb 2004-02-15 01:29:58 UTC
definitely reproducible on my otherwise stable system with KDE 3.2 .
on the KDE desktop, the behaviour is as described.
on XFCE, there's no flickering, but you can't hold the window open.

the same bug occurs in a version made from a bz2 from the KVim site:
i have reported it to the address advertised 'marchandatkdeorg'.
Comment 3 Joe Khoobyar 2004-02-15 09:04:04 UTC
Killer.  Let's hope he fixes it. :)
Comment 4 John Shaw 2004-03-09 10:25:57 UTC
Ya, I am seeing this nasty bug too.

If it helps I am using KDE 3.2 (using the newest ebuilds as of 3/9/03)
Using Qt 3.3.1-r1

Emerge Info:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crd crypt cups dga doc dvd encode esd foomaticdb gd gdbm gif gnome gtk gtk2 gtkhtml imagemagick imap imlib java jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Comment 5 Ben Dugdale 2004-04-30 13:35:40 UTC
I get the same problem on Athlon.  If I launch kvim from an kterm it gives the following potentially useful output.

bdug@ben ~
 <>< kvim
kvim: WARNING: KLocale: trying to look up "" in catalog. Fix the program
kvim: WARNING: KLocale: trying to look up "" in catalog. Fix the program

Here is my version info:
bdug@ben ~
 <>< kvim --version
VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Apr 24 2004 12:00:40)
Included patches: 1-14
Compiled by root@ben
Huge version with KDE GUI.  Features included (+) or not (-):
+arabic +autocmd -balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +dialog_con_gui +diff +digraphs -dnd -ebcdic +emacs_tags +eval
+ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer
+fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap
 +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm
+mouse_netterm +mouse_xterm +multi_byte +multi_lang -netbeans_intg -osfiletype
+path_extra +perl +postscript +printer +python +quickfix +rightleft -ruby
+scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
+X11 +xfontset -xim -xsmp +xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_KDE  -I/usr/qt/3/include -I/usr/kde/3.2/include    -O2 -march=athlon-xp -pipe  -I/usr/X11R6/include  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.2/i686-linux/CORE  -I/usr/include/python2.3 -pthread
Linking: gcc -L/usr/kde/3.2/lib -lkio -L/usr/qt/3/lib -lqt-mt -L/usr/kde/3.2/lib -lkdeui -lkdecore -lDCOP -Wl,--rpath -Wl,/usr/kde/3.2/lib -Wl,--rpath -Wl,/usr/qt/3/lib  -L/usr/X11R6/lib  -rdynamic   -L/usr/local/lib -o kvim    -lXt -lncurses -lgpm -ldl  -rdynamic  -L/usr/local/lib /usr/lib/perl5/5.8.2/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.2/i686-linux/CORE -lperl -ldl -lutil -lc -L/usr/lib/python2.3/config -lpython2.3 -ldl -lutil -lm -Xlinker -export-dynamic
Comment 6 Ole Langbehn 2004-05-24 01:10:11 UTC
the problem went away on my system after adding the following to my .vimrc:

if has("gui_kde")
  set guifont=Clean/8/-1/5/50/0/0/0/1/0
endif
Comment 7 Ole Langbehn 2004-05-24 01:14:55 UTC
A more elaborate explanation (copied from kvim bugs mailinglist):


   I observed that behavior yesterday, and it was caused by a bogus
   'guifont' option. More accurately, by a guifont which gvim can
   understand but kvim can't (gvim uses spaces as delimiters, kvim uses
   slashes).

   I had "set guifont=Console\ 12" in my ~/.vimrc; when I commented it
   out, kvim worked just fine. If you use KVim font selection dialog, it
   will tell you what to put in your .vimrc to make the change
   permanent. You can use something like this:

        if has("gui_kde")
            set guifont=Fixed/20/-1/5/50/0/0/0/1/0
        else
            set guifont=Console\ 12
        endif

    With the appropriate fonts, of course.
    HTH.

Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2004-07-25 13:59:43 UTC
Please raise your voice in bug 56992, if necessary. I'll close this bug, if kvim gets hard masked.
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2004-07-31 09:03:40 UTC
see above comment