Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127892 - konqueror hangs when marking text in edit boxes, maybe klipper's fault
Summary: konqueror hangs when marking text in edit boxes, maybe klipper's fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 12:01 UTC by Volker Hemmann
Modified: 2006-05-05 06:33 UTC (History)
3 users (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 Volker Hemmann 2006-03-28 12:01:23 UTC
Hi,
whenever I am creating a forum posting, and it does not depend on the forum, forums.gentoo.org is as much hit by this bug as heise.de, parsimony or ocworkbench or even this bugzilla, and I mark some parts of the text, konqueror hangs for several seconds.
In this time, it does not refresh, it is possible to minimize it, but it won't react reliably to pressed keys.
When this happens, the klipper icon in the systray area is grey and 'invisible'. As soon as it reappears, konqueror reacts normaly.

For example:
I type:abcdefg and mark bcde to replace it with an h, it will hang - and after it reacts again, it will show something like this: ahhfg. (This I meant with not reliable.. the pressed key is most of the time doubled or trippled). Editing this bug report made me suffer several times from this misbehavior.

I just did the kde-3.5.2 update and the bug is still there.

emerge --info
Portage 2.1_pre7-r2 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-rc6 x86_64)
=================================================================
System uname: 2.6.16-rc6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 S3TC X aac acpi aio alsa aotuv asf audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cegui cg clamav cpudetection crypt css curl dio dnd dpms dri dv dvd dvdr dvdread emul-linux-x86 encode experimental exscalibar fame ffmpeg fftw flac foomaticdb fortran gif gimp glitz glut glx gnokii gpm gtk gtk2 icq id3 imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse irmc jabber java javascript joystick jp2 jpeg jpeg2k kde kdeenablefinal kdepim lame lesstif libwww lm_sensors lzo lzw lzw-tiff mad matroska mime mjpeg mmap mng mp3 mpeg mpeg2 mplayer ncurses nls no-old-linux nocd nosendmail nowin nptl nptlonly nsplugin nvidia offensive ogg opengl oscar pam pdf pdflib perl pertty physfs player png python qt quicktime rar readline real reiserfs rtc scanner sdl sendfile sharedmem sms sndfile spell sqlite ssl stencil-buffer subtitles svg sysfs szip tcpd tga theora threads tiff toolbar tools transcode truetype truetype-fonts type1 type1-fonts unicode usb userlocales v4l v4l2 vcd video_cards_nv video_cards_nvidia video_cards_v4l videos visualization vorbis webdav wmf xanim xcomposite xine xml2 xpm xrandr xv xvid xvmc yv12 zlib zvbi elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS

KDE 3.5.1&3.5.2 are affectec, it started, IIRC after the qt-3.3.6 update. Because the bug irritates me only for some days now.
XGL is not used ;)
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-03-28 12:15:42 UTC
I'll confirm I've had this behavior since 3.4.2, but I can't say what is wrong or how to fix it.
Comment 2 Volker Hemmann 2006-03-28 15:20:24 UTC
Hi,

everything was fine until the qt-3.3.6 update. After that kmail crashed on hitting the reply button, so I rebuilt kdelibs, kdebase and kdepim, and shortly after that (I don't post every day in forums - it could also started after the last -rX update), the mess started.

I did not change any configs or even touched the kontrol center, so I am pretty sure that it is not related to the configuration. Even marking white space makes konqueror hang.

Strangely the address bar is not affected by this bug, or normal text. Only the input boxes (I really don't know how they are called) - and I mean every single one I encountered in the last couple of days.
Comment 3 Volker Hemmann 2006-03-30 19:39:50 UTC
Hi,

it is definetly klipper's fault.

After some very 
Comment 4 Volker Hemmann 2006-03-30 19:41:08 UTC
argl, 

that should have been:

'after some very bad behaviour this morning, I killed klipper and had no problems since then.

What is klipper good for?'

Comment 5 radfoj 2006-03-31 07:02:39 UTC
Hi,

I can confirm this too. Konqueror start freezing for few second during editing posts after upgrade to qt-3.3.6. Before this upgrade editing posts worked without problems.

I can also confirm, that after I quit klipper, Konq freezing is gone.

 (In reply to comment #4)
> What is klipper good for?'

Klipper is tool for managing clipboard. If you start it, it sits in your systray and records text/images you select/copy and so. Just start it and right click on it - you will understand. I am using klipper everyday, I cant imagine live witnout it.

# emerge --info
Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-ck1 i686)
=================================================================
System uname: 2.6.16-ck1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/mnt/mandrake/opt/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://mirror.gentoo.sk/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apache2 asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr crypt cups curl dbus dri dts dvd dvdread emboss encode exif expat ffmpeg firefox flac flash foomaticdb fortran ftp gd gdbm gif glut gmp gpm gstreamer gtk gtk2 hal iconv icq idn imagemagick imlib isdnlog jabber java jpeg kde kdeenablefinal lcms libg++ libwww mad maildir mbox mikmod mime mmx mng motif moznoirc moznomail mozsvg mp3 mpeg msn musepack mysql nas ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php pic png pppd python qt quicktime readline recode ruby sdl slang sndfile speex spell ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs wma xine xml xml2 xosd xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-03-31 07:05:01 UTC
Note that i'm running qt-3.3.4-r8 and experiencing this problem haphazardly as well.
Comment 7 Volker Hemmann 2006-03-31 07:07:00 UTC
Hi,

I know what klipper does, that was a cynical rhetoric question ;)

But to be honest - I don't use klipper. I only need to coyp around the last marked stuff...
Comment 8 radfoj 2006-03-31 07:58:37 UTC
Guys, what about file in portage x11-libs/qt/files-qt-3.3.4-qclipboard-hack.patch ? Is there any reason why not add this patch for qt-3.3.6? I never experienced any konq-freeze during editing with 3.3.4  

Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-01 04:04:43 UTC
 (In reply to comment #8)
> Guys, what about file in portage
> x11-libs/qt/files-qt-3.3.4-qclipboard-hack.patch ?

Possibly. Give it a try. The 3.3.4 patch does still apply. I wonder what is exactly triggering it, though, since I can't reproduce the problem.
Comment 10 radfoj 2006-04-01 07:06:16 UTC
(In reply to comment #9)
>  (In reply to comment #8)
> > Guys, what about file in portage
> > x11-libs/qt/files-qt-3.3.4-qclipboard-hack.patch ?
> 
> Possibly. Give it a try. The 3.3.4 patch does still apply. I wonder what is
> exactly triggering it, though, since I can't reproduce the problem.

Ok, I never patched anything, but this freezes makes me nervous a lot, so I tried it for the first time (not sure, if correctly) 
1) uncomment the line about qclipboard in the 3.3.6 ebuild
2) rename the patch to 3.3.6
3) make digest and reemerge qt-3.3.6
4) play with writing post/comments, selecting and deleting, CTRL+X and so -  here and on other phpbb forums

Great, Konqueror freezes seems to be gone, and Klipper is sitting in tray and collecting selection :-)

It was easy, thanks
Comment 11 Francisco J. Vazquez 2006-04-14 03:56:25 UTC
I was also suffering this bug (it's REALLY annoying), and it was solved with the qclipboard-hack patch from 3.3.4. If the patch isn't harmful (with it everything seems to work ok), I think it should be applied by default.
Comment 12 Patrizio Bassi 2006-04-14 04:48:35 UTC
i do agree, so it's up to QT mainteiners
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2006-05-05 06:33:05 UTC
*qt-3.3.6-r1 (05 May 2006)

  05 May 2006; Caleb Tennis <caleb@gentoo.org>
  +files/0044-qscrollview-windowactivate-fix.diff,
  +files/0047-fix-kmenu-widget.diff,
  +files/0048-qclipboard_hack_80072.patch, +qt-3.3.6-r1.ebuild:
  Fix some patches that were dropped when moving to 3.3.6. This should make a
  lot of people happy