Bug 160715 - Cursor flickers after clicking a link
Summary: Cursor flickers after clicking a link
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: testcase
Depends on:
Blocks:
 
Reported: 2008-04-11 16:56 UTC by Richard Hartmann
Modified: 2012-06-25 10:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (256 bytes, text/plain)
2008-06-02 12:25 UTC, Florian Reinhard
Details
Backtrace from konqueror when clicking in the link. (203.22 KB, text/plain)
2008-11-28 15:26 UTC, Raul Fernandes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Hartmann 2008-04-11 16:56:37 UTC
Version:           3.5.8 (using 3.5.8, Gentoo)
Compiler:          gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10)
OS:                Linux (i686) release 2.6.24-gentoo-r3

Go to www.naspa.de and click i.e. on "Stellenanzeigen" on the right side. 

I receive the error "Range error: exceeded maximum function call depth".

If I click on "ok" the result is, that konqueror hangs in an endless loop with lots of disk activity and a lot of flicker in the left upper window corner where the the favicon is displayed. Plugins are disabled.

The only solution is to close konqueror manually by clicking several times on the "close" icon.
Comment 1 Florian Reinhard 2008-06-02 12:24:35 UTC
i can't reproduce that on 3.5.8 and svn trunk r815560 (~4.1-beta). the cursor starts to flicker (change between wait and point) but finally loads the link i clicked on.
Comment 2 Florian Reinhard 2008-06-02 12:25:50 UTC
Created attachment 25067 [details]
testcase

clicking the link doesn't fail but the behaviour still looks like a bug ;)
Comment 3 Richard Hartmann 2008-06-03 16:32:44 UTC
I think so too... Your testcase looks like the bug I have noticed above :-)
Comment 4 Richard Hartmann 2008-06-22 17:34:26 UTC
Happens also with KDE / Konqueror 3.5.9.
Comment 5 Raul Fernandes 2008-10-24 02:02:22 UTC
It happens too with konqueror 3.5.10. No crashes but cursor flickers a lot.
Comment 6 Raul Fernandes 2008-10-24 02:38:18 UTC
Tested with konqueror 4.1.1.

The testcase works well but I have the same cursor flickering in the website.
Comment 7 Raul Fernandes 2008-10-24 02:40:33 UTC
Sorry. I'm wrong.

The testcase shows the same problem.
Comment 8 Raul Fernandes 2008-11-28 15:22:25 UTC
I have put the konqueror in gdb when clicking the link.

The problem seems to be that konqueror makes several recursive calls when doing the click() action.

I will attach the backtrace. Note the huge number of functions in stack (1666).

The funcion KHTMLView::dispatchMouseEvent (frame 1647) calls DOM::NodeImpl::dispatchEvent (frame 1646).

Later, the function DOM::HTMLAnchorElementImpl::click (frame 1631) calls DOM::NodeImpl::dispatchMouseEvent (frame 1630) again.

Then, it calls again and again the same functions. Note that DOM::NodeImpl::dispatchMouseEvent is called by DOM::HTMLAnchorElementImpl::click in frames 1613, 1596, 1579, 1562...

I haven't look the code yet. I will do later.
Comment 9 Raul Fernandes 2008-11-28 15:26:23 UTC
Created attachment 28881 [details]
Backtrace from konqueror when clicking in the link.
Comment 10 Janek Bevendorff 2012-06-18 18:55:06 UTC
There hasn't been any activity on this issue for some time. Please check if this issue is still valid for Konqueror 4.8.4 or later.
Comment 11 Tommi Tervo 2012-06-25 10:20:33 UTC
Tested with 4.8.4, cursor still flickers