This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Konqueror (KHTML), left click does not work on Duck Duck Go

Tags: konqueror, khtml, duckduckgo konqueror, khtml, duckduckgo konqueror, khtml, duckduckgo
(comma "," separated)
User avatar
zuargo
Registered Member
Posts
60
Karma
0
OS
Hello all.

I am having a weird behaviour on Duck Duck Go using Konqueror with KHTML.

When I get the results of search on the above mentioned search engine, and I do left click on one of them nothing occurs. I mean, the web page is not opened. But if I do right click, on one of the results, and select "open in a new tab", the web page is opened.

This does not occur using WebKit.

So, how can I discern whether is a problem of konqueror or duckduckgo.com?

Does anybody have the same issue?

I use Konqueror and KDE 4.7.4

Thanks for reading 8)
User avatar
google01103
Manager
Posts
6668
Karma
25
I can not confirm, but I am using 4.8 beta 2

does a different user have the save issue?


OpenSuse Leap 42.1 x64, Plasma 5.x

GTalbot
Registered Member
Posts
69
Karma
1
OS
zuargo wrote:Hello all.

I am having a weird behaviour on Duck Duck Go using Konqueror with KHTML.

When I get the results of search on the above mentioned search engine, and I do left click on one of them nothing occurs. I mean, the web page is not opened. But if I do right click, on one of the results, and select "open in a new tab", the web page is opened.

This does not occur using WebKit.

So, how can I discern whether is a problem of konqueror or duckduckgo.com?

Does anybody have the same issue?


zuargo,

I confirm your findings.

If you set the javascript section to report errors, you will see that Konqueror 4.7.4 reports several errors, one being

TypeError: Attempt to use a non-function object or value as a function
for http://duckduckgo.com/d626.js at line 0.



So, it could be an object like DOMready or onreadystate which is not supported by Konqueror 4.7.4 with the KHTML rendering engine.

Lists of attributes and methods of browser objects and DOM objects


A closer look to http://duckduckgo.com/d626.js shows that the script fully targets Yahoo as a string (it is found 913 times in the file) and webkit as a rendering engine.

I tried to investigate more this http://duckduckgo.com/d626.js with Konqueror's javascript debugger and could not.

We really need someone with ECMAScript 5.1 understanding and experience so that these kinds of problems and bugs could be investigated and fixed. I have someone in mind on this.

Finally, note that a setInterval in a function registered to the scroll event. When scrolling down the page, it affects painting of the topmost page division.

zuargo wrote:I use Konqueror and KDE 4.7.4

Thanks for reading 8)


season's greetings, Gérard


GTalbot
Registered Member
Posts
69
Karma
1
OS
[snipped]

GTalbot wrote:
So, it could be an object like DOMready or onreadystate which is not supported by Konqueror 4.7.4 with the KHTML rendering engine.

Lists of attributes and methods of browser objects and DOM objects


I just created a quick

DHTML test webpage on document.readyState and readystatechange event type

and Konqueror 4.7.4 supports document.readyState (although it appears to be only supporting the "complete" value when I tried with the javascript debugger) and Konqueror 4.7.4 does not support onreadystatechange and readystatechange event type.

Note that Firefox 8.0, Opera 11.60, Chrome 16.0.912.63 and IE8+ support onreadystatechange.

There is probably many more attributes, properties and events which are missing in Konqueror 4.7.4 too. We not only need DHTML testing, DHTML-javascript debugging and better web debugger tools but someone to be able to implement the missing ones.

season's greetings, Gérard


User avatar
zuargo
Registered Member
Posts
60
Karma
0
OS
GTalbot wrote:
zuargo wrote:Hello all.

I am having a weird behaviour on Duck Duck Go using Konqueror with KHTML.

When I get the results of search on the above mentioned search engine, and I do left click on one of them nothing occurs. I mean, the web page is not opened. But if I do right click, on one of the results, and select "open in a new tab", the web page is opened.

This does not occur using WebKit.

So, how can I discern whether is a problem of konqueror or duckduckgo.com?

Does anybody have the same issue?


zuargo,

I confirm your findings.

If you set the javascript section to report errors, you will see that Konqueror 4.7.4 reports several errors, one being

TypeError: Attempt to use a non-function object or value as a function
for http://duckduckgo.com/d626.js at line 0.


Where is it? in KDE web page for bugs or in duckduckgo.com page site for reporting bugs?. Sorry I can't find the error report.

GTalbot wrote:A closer look to http://duckduckgo.com/d626.js shows that the script fully targets Yahoo as a string (it is found 913 times in the file) and webkit as a rendering engine.


When I make click on that url konqueror freezes (using KHTML).

GTalbot wrote:Finally, note that a setInterval in a function registered to the scroll event. When scrolling down the page, it affects painting of the topmost page division.


I too have noticed the behaviour that you describe.

GTalbot wrote:
[snipped]

GTalbot wrote:So, it could be an object like DOMready or onreadystate which is not supported by Konqueror 4.7.4 with the KHTML rendering engine.


Lists of attributes and methods of browser objects and DOM objects

I just created a quick

DHTML test webpage on document.readyState and readystatechange event type

and Konqueror 4.7.4 supports document.readyState (although it appears to be only supporting the "complete" value when I tried with the javascript debugger) and Konqueror 4.7.4 does not support onreadystatechange and readystatechange event type.

Note that Firefox 8.0, Opera 11.60, Chrome 16.0.912.63 and IE8+ support onreadystatechange.

There is probably many more attributes, properties and events which are missing in Konqueror 4.7.4 too. We not only need DHTML testing, DHTML-javascript debugging and better web debugger tools but someone to be able to implement the missing ones.

season's greetings, Gérard


Thank you by the explication, you are very gentile :)
GTalbot
Registered Member
Posts
69
Karma
1
OS
zuargo wrote:
GTalbot wrote:
If you set the javascript section to report errors, you will see that Konqueror 4.7.4 reports several errors, one being

TypeError: Attempt to use a non-function object or value as a function
for http://duckduckgo.com/d626.js at line 0.



Where is it? in KDE web page for bugs or in duckduckgo.com page site for reporting bugs?. Sorry I can't find the error report.



The javascript section to report errors that I was referring to is
Configuration/Configure Konqueror.../Internet Navigation/Java & Javascript/Javascript tab/Enable (javascript) debugger and Report errors checkboxes

zuargo wrote:
GTalbot wrote:A closer look to http://duckduckgo.com/d626.js shows that the script fully targets Yahoo as a string (it is found 913 times in the file) and webkit as a rendering engine.


When I make click on that url konqueror freezes (using KHTML).


My Konqueror 4.7.4 (using KHTML) also freezes (Konqueror application becomes unresponsive and CPU monitor will report high and maintained CPU percentage activity for process).

2 other objects which are frequently reported as javascript errors: Iterator as an object and objects.Keys. The other mainstream browsers (IE9.0.4, Firefox 9.0.1, Opera 11.60, Chrome 16.0.912.63, Safari 5.1.2) have no problems with those.

GTalbot wrote:Finally, note that a setInterval in a function registered to the scroll event. When scrolling down the page, it affects painting of the topmost page division.


I too have noticed the behaviour that you describe.

zuargo wrote:Thank you by the explication, you are very gentile :)


Then add a karma to my profile :)

regards, Gérard


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
On my KDE Trunk (to be 4.9, codewise close to 4.8) system, Konqueror loads the http://duckduckgo.com/d626.js file fine - by embedding Kate. It did take a little while to load however due to the long line length, etc.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
Is there any solution for this ?
With konqueror 4.8.5 i have this problem, cannot click on results


«The magic continues...»
http://www.mageia.org
Image
User avatar
zuargo
Registered Member
Posts
60
Karma
0
OS
At least I don't have found some solution.

I can reproduce this in KDE 4.9.1

However if you switch the engine to webkit, left click works
User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
There are two more workarrounds here:
http://duck.co/topic/clicking-on-the-re ... eror-khtml

I have a problem to set the duckduckgo as default engine in konqueror
I choose duckduckgo as default engine on the searchbar at the right up corner but after reopen konqueror, the google search engine is selected again as the default.
How can i set the duckduckgo as default ?


«The magic continues...»
http://www.mageia.org
Image
User avatar
google01103
Manager
Posts
6668
Karma
25
Dimitrios wrote:There are two more workarrounds here:
http://duck.co/topic/clicking-on-the-re ... eror-khtml

I have a problem to set the duckduckgo as default engine in konqueror
I choose duckduckgo as default engine on the searchbar at the right up corner but after reopen konqueror, the google search engine is selected again as the default.
How can i set the duckduckgo as default ?


I don't think that's is the way to change the default, just the session. Try select search engines (same way you selected duck) -> change default web shortcut -> duckduckgo


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
google01103 wrote:
Dimitrios wrote:There are two more workarrounds here:
http://duck.co/topic/clicking-on-the-re ... eror-khtml

I have a problem to set the duckduckgo as default engine in konqueror
I choose duckduckgo as default engine on the searchbar at the right up corner but after reopen konqueror, the google search engine is selected again as the default.
How can i set the duckduckgo as default ?


I don't think that's is the way to change the default, just the session. Try select search engines (same way you selected duck) -> change default web shortcut -> duckduckgo


I change it there, is always duckduckgo. But in the search field the selected engine is google. I change it to Duckduckgo but it does nt rememeber the setting, even after reboot
If i type something in the url bar, it search with duckduckgo which it means that the setting you describe is enabled


«The magic continues...»
http://www.mageia.org
Image
User avatar
google01103
Manager
Posts
6668
Karma
25
the search field seems to work fine for me using duck, even after a reboot - can you try a new user

not that it should matter but I use webkit


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
But you can have other engine than google as default in the search bar (at the top right of konqueror) ?
Me i cannot, i tried also with another user.
If i uncheck google, in the searchbar after restart konqueror there is no engine selected by default (at the top right bar)


«The magic continues...»
http://www.mageia.org
Image


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]