Bug 80072 - konqueror freezes for some seconds when selecting text in text field with mouse
Summary: konqueror freezes for some seconds when selecting text in text field with mouse
Status: RESOLVED FIXED
Alias: None
Product: klipper
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
: 74771 80861 81377 81507 82563 84078 91357 93967 96234 100773 100876 100931 102769 105309 122740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-21 17:03 UTC by usa
Modified: 2008-08-26 19:17 UTC (History)
18 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description usa 2004-04-21 17:03:09 UTC
Version:           3.2.2 (using KDE 3.2.2, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.6.4

Selecting text with mouse in a web page's (multi-line) text field freezes Konqueror for 0.5-3 seconds completely. After that one can do further actions. 
It happens for example with this input field that is used for writing this text.
It doesn't happen when selecting text with keyboard.
Comment 1 usa 2004-04-21 17:07:12 UTC
It happens only in multi-line text input fields.
Comment 2 Tommi Tervo 2004-04-21 21:17:40 UTC
That's klipper bug

*** This bug has been marked as a duplicate of 74487 ***
Comment 3 Lubos Lunak 2004-04-23 14:25:36 UTC
Not really a duplicate of #74487.
Comment 4 Lubos Lunak 2004-04-23 14:31:33 UTC
Can happen even with single line edits. Caused by qt_xclb_wait_for_event() (QClipboard) being blocking, after selecting something in Konqueror Klipper sends a request for PRIMARY contents and at the same time Konqueror updates its Edit menu and calls QClipboard::provides(), which leads to requesting CLIPBOARD targets from Klipper. qt_xclb_wait_for_event() in both processes time out waiting for the other to reply.
This is not a duplicate of bug #74487 because the Qt versions mentioned there didn't have qt_xclb_wait_for_event() blocking. That change however has been reverted because of bug #61412.
Nasty bug :(.
Comment 5 Lubos Lunak 2004-05-10 19:10:49 UTC
Some kind of a hack created, before a good solution is found out. Requires patched Qt, so hope your packager will pick it up (already explicitly forwarded to the SUSE packager, so I guess you're lucky ;) ).
Comment 6 Lubos Lunak 2004-05-12 13:37:06 UTC
The qt-copy patch number is 0048.
Comment 7 Lubos Lunak 2004-05-13 16:10:50 UTC
*** Bug 81507 has been marked as a duplicate of this bug. ***
Comment 8 Tommi Tervo 2004-05-13 20:50:16 UTC
*** Bug 74771 has been marked as a duplicate of this bug. ***
Comment 9 Lubos Lunak 2004-05-31 11:39:05 UTC
*** Bug 80861 has been marked as a duplicate of this bug. ***
Comment 10 Tommi Tervo 2004-05-31 12:17:43 UTC
*** Bug 82563 has been marked as a duplicate of this bug. ***
Comment 11 Tommi Tervo 2004-06-27 18:56:12 UTC
*** Bug 84078 has been marked as a duplicate of this bug. ***
Comment 12 Waldo Bastian 2004-07-29 14:01:16 UTC
*** Bug 81377 has been marked as a duplicate of this bug. ***
Comment 13 Lubos Lunak 2004-11-15 16:28:12 UTC
Ok, let's consider this fixed, with qt-copy patch #0048. This problem shouldn't exist with Qt4, and I doubt there will be any Qt3 release before that, at least one that could change something about this. Packagers have been already told about the patch, so bug them if you have this problem. Sorry.
Comment 14 Tommi Tervo 2004-11-26 14:42:57 UTC
*** Bug 93967 has been marked as a duplicate of this bug. ***
Comment 15 András Manţia 2005-01-03 19:51:59 UTC
*** Bug 96234 has been marked as a duplicate of this bug. ***
Comment 16 Thiago Macieira 2005-03-04 03:27:58 UTC
*** Bug 100773 has been marked as a duplicate of this bug. ***
Comment 17 Maksim Orlovich 2005-03-05 14:57:13 UTC
*** Bug 100876 has been marked as a duplicate of this bug. ***
Comment 18 Mathieu Roy 2005-03-05 15:37:34 UTC
Hello,

I notice that if we configure klipper to
        "synchronize the content of the buffer and the selection"
(it may not be the exact wording, I'm using localized version, so I'm
guessing the english version)

the symptoms apparently no longer shows up (or rarely).
Comment 19 Thiago Macieira 2005-03-05 23:36:12 UTC
*** Bug 100931 has been marked as a duplicate of this bug. ***
Comment 20 Thiago Macieira 2005-03-29 22:23:57 UTC
*** Bug 102769 has been marked as a duplicate of this bug. ***
Comment 21 Maksim Orlovich 2005-05-08 23:41:13 UTC
*** Bug 105309 has been marked as a duplicate of this bug. ***
Comment 22 Lubos Lunak 2006-01-30 17:31:22 UTC
*** Bug 91357 has been marked as a duplicate of this bug. ***
Comment 23 Thiago Macieira 2006-02-28 19:50:31 UTC
*** Bug 122740 has been marked as a duplicate of this bug. ***
Comment 24 Mark Martinec 2006-05-16 14:43:35 UTC
> Ok, let's consider this fixed, with qt-copy patch #0048 ...
> Packagers have been already told about the patch, so bug them
> if you have this problem.

The bug is still very much present: KDE/Konqueror 3.5.2.
It was installed from FreeBSD ports, using qt-x11-free-3.3.6
which does include a 0048-qclipboard_hack_80072.patch.
Klipper is 0.9.7 (compiled together with the rest of KDE 3.5.2).

The problem seems to go away with one or more of these actions
in Klipper: clearing its history, or turning off "save clipboard
contents on exit", or turning it off. Unfortunately it took me
two afternoons of browsing through kde bug reports to find these
hints, after enduring the problem for the last two years (and
switching to firefox for more substantial web forms filling/editing).

  Mark

  Mark
Comment 25 Pedro de Oliveira 2006-07-12 13:03:51 UTC
Happens to me too, dont know why it is marked as FIXED.
Still happens with QT 3.3.6 with the clipboard hack and with kdebase 3.5.3.
Comment 26 Albert Astals Cid 2007-02-14 15:21:40 UTC
Does Qt 3.3.8 changelog:

"- Fixed problem with applications hanging while querying the clipboard. This is related to the KDE bug reported at http://bugs.kde.org/show_bug.cgi?id=80072." 

means that is fixed now?
Comment 27 Sebastian Turzański 2008-08-26 19:16:01 UTC
this bug is still cousing problems with konqueror from kde 4.1

Fast-reply in phpbb2 forum takes forever - no copy/pasting
Comment 28 Sebastian Turzański 2008-08-26 19:17:22 UTC
... and also when using keyboard the latency is about 4 seconds for every key pressed.

Reopen?