6.0.0-alpha14
7/3/25

[#6365] Konqueror not being detected as WebKit by prototype.js
Summary Konqueror not being detected as WebKit by prototype.js
Queue IMP
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester thomas.jarosch (at) intra2net (dot) com
Created 03/03/2008 (6331 days ago)
Due
Updated 08/10/2010 (5441 days ago)
Assigned 03/18/2008 (6316 days ago)
Resolved 08/10/2010 (5441 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/10/2010 09:54:36 PM Michael Slusarz Comment #15
State ⇒ Not A Bug
Version ⇒ Git master
Reply to this comment
Rejecting - browser bug from 2+ years ago.
05/11/2008 09:30:01 PM Jan Schneider State ⇒ Stalled
 
04/03/2008 03:27:13 AM Michael Slusarz Comment #14 Reply to this comment
I've been running the patch for a week now with no noticable side
effects. I'm still in favor of fixing it as imp is not usable without
it.
Looking at http://dev.rubyonrails.org/ticket/10532 the issue is far 
from being fixed/resolved in prototypejs.  So hacking Horde's 
prototypejs version is premature (not to mention my same reservations 
previously made in this ticket - prototype bugs should be worked 
around in our code rather than hacking the prototype code).


04/02/2008 08:56:03 AM thomas (dot) jarosch (at) intra2net (dot) com Comment #13 Reply to this comment
I've been running the patch for a week now with no noticable side 
effects. I'm still in favor of fixing it as imp is not usable without 
it.


03/19/2008 06:55:50 AM Michael Slusarz Comment #12 Reply to this comment
I think we should patch it, if it's foreseeable that it's gonna be
fixed in a future version of prototype.
I believe the opposite.  I think we should simply wait until 
prototype.js is fixed.  Additionally, I have worked around a bunch of 
prototype bugs in DIMP without resorting to hacking the code, so 
that's a better option.
03/18/2008 08:56:18 PM Jan Schneider Comment #11 Reply to this comment
I think we should patch it, if it's foreseeable that it's gonna be 
fixed in a future version of prototype.
03/18/2008 07:09:40 PM Chuck Hagenbuch Comment #10
Summary ⇒ Konqueror not being detected as WebKit by prototype.js
State ⇒ Feedback
Reply to this comment
I would rather not patch prototype, but this seems to be sitting for 
them for a while. I think http://dev.rubyonrails.org/ticket/11262 is 
the proper fix... anyone else have opinions here?
03/18/2008 07:05:34 PM Chuck Hagenbuch Comment #9 Reply to this comment
btw: How can I rebuild the "compressed" Javascript source?
Using horde-js-compress from the devtools framework package.
03/18/2008 12:16:12 PM thomas (dot) jarosch (at) intra2net (dot) com Comment #8
New Attachment: horde-fix-konqueror-dom-load.patch Download
Reply to this comment
Here's the patch I've used for my horde HEAD installation.



btw: How can I rebuild the "compressed" Javascript source?

Right now I'm copying the js/src/prototype.js file to js/prototype.js.


03/18/2008 11:02:11 AM thomas (dot) jarosch (at) intra2net (dot) com Comment #7 Reply to this comment
After the "create new folder" popup in IMP was missing, too, I 
investigated the issue.

I've debugged the problem by stripping down the javascript code and it 
turned out it's the "prototype" javascript framework that doesn't 
properly detect konqueror as "WebKit". See bug reports like this:



http://dev.rubyonrails.org/ticket/11262



or



http://dev.rubyonrails.org/ticket/10532



I've developed the same patch as in #11262 and now I can create folders again

and even the expand of email addresses works in konqueror 3.5.9 :-)



Should we include the patch until it's fixed upstream?

It could potentially trigger code that works in Safari only

but IMHO this is much better than not working at all.



Cheers,

Thomas


03/05/2008 10:12:07 PM Chuck Hagenbuch Comment #6
State ⇒ Not A Bug
Reply to this comment
Probably. Thanks.
03/05/2008 01:20:51 PM thomas (dot) jarosch (at) intra2net (dot) com Comment #5 Reply to this comment
Ajax features (xmlhttprequest) need to be present and working. Do any
of those, like Horde's sidebar automatically updating, work for you?
Ok, I enabled the sidebar and set the "menu_refresh" pref to 15 
seconds. Guess that's what you meant, right? Works ok in Firefox and 
Konqueror 3.5.8



I've also checked expanding with KDE4, it works, too. Should we leave 
it at that?


03/04/2008 08:40:05 PM Chuck Hagenbuch Comment #4 Reply to this comment
Ajax features (xmlhttprequest) need to be present and working. Do any 
of those, like Horde's sidebar automatically updating, work for you?
03/04/2008 11:33:12 AM thomas (dot) jarosch (at) intra2net (dot) com Comment #3 Reply to this comment
Safari works fine. Do other javascript features work for you (does
the sidebar refresh, for example)? Do you get any javascript errors?
(Safari at least has a js console, not sure about Konqueror)
Other features work, like I get the spinning wheel when I create a new 
ticket at bugs.horde.org or the tab switching in Turba's contact view 
also works.



I've now enabled to report Javascript errors, so far nothing popped 
up. If I tamper with the JS code I get a nice dialog box with the 
syntax error :o)



Is there any special feature needed from the browser to get expanding working?


03/03/2008 10:33:46 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Safari works fine. Do other javascript features work for you (does the 
sidebar refresh, for example)? Do you get any javascript errors? 
(Safari at least has a js console, not sure about Konqueror)
03/03/2008 06:59:16 PM thomas (dot) jarosch (at) intra2net (dot) com Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ Expand of email addresses in konqueror
Type ⇒ Bug
Reply to this comment
Hello together,



expanding of email addresses doesn't work in konqueror 3.5.8. It works 
fine using the same horde/imp installation with Firefox. Konqueror 
does not show the spinning wheel when I finish typing the name, so I 
guess it could be a) lack of the proper javascript features in 
konqueror or b) Browser.php doesn't detect it yet.



I tried lurking around the code to find out what is needed for 
expanding to work but didn't have much luck, so some hints would be 
nice. It would also be interesting f.e. if it works with Safari (which 
got an improved JS implementation than Konqueror IIRC).



The latest live CD of Knoppix features a preview of KDE4, I'll also 
try that the next days.



Cheers,

Thomas


Saved Queries