Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The teaser splitter javascript can cause data loss when splitting the body and then merging again. When the teaser is split, the teaser box is left blank. Merging again causes the content of the teaser to be lost. This was an issue with the original addition of the teaser splitter, and was never fixed before it was added to head.
Original splitter issue: http://drupal.org/node/107061#comment-174656
And this problem was brought up in the jQuery 1.2.1 update patch: http://drupal.org/node/176222
Comment | File | Size | Author |
---|---|---|---|
#14 | disable_konqueror_0.patch | 943 bytes | anders.fajerson |
#11 | disable_konqueror.patch | 644 bytes | anders.fajerson |
#7 | browser_support.patch | 941 bytes | quicksketch |
Comments
Comment #1
Crell CreditAttribution: Crell commentedSubscribing, since I'm one of our few Konqueror users. :-)
Also setting to critical, as a data loss situation is never acceptable. I'm OK with just disabling the teaser splitter if we can't fix it, but data loss is a release blocker.
Comment #2
chx CreditAttribution: chx commentedThis is an irksome browser with few users. Let's fix these issues with the help of the killswitch. And yes, I run Kubuntu.
Comment #3
Crell CreditAttribution: Crell commentedWell, most of the JS effects work fine. It's just the teaser splitter, I think, that is dangerously buggy.
Comment #4
dmitrig01 CreditAttribution: dmitrig01 commentedBTW, http://drupal.org/node/176222#comment-308773 fixed it in Safari for me.
Comment #5
chx CreditAttribution: chx commentedAnd OpenID login is broken too. (or it was when i last tested)
Comment #6
Frando CreditAttribution: Frando commentedYes, OpenID is broken, too. I tried to debug it when jQuery 1.2 came out, but I failed. There are some major features of jQuery that don't seem to work properly in some cases in Konqueror (like $(foo).show() was the problem with OpenID login).
Comment #7
quicksketchJust to play devil's advocate, here's a patch to support only IE, Firefox, Opera, and Safari javascript. Admittedly, I think this is extreme and the lazy way out. Then again, I think if you're using Konquerer you should be used to remembering what things do and do not work. I'm still downloading Konquerer for Mac OS X, but it's taking a while to get all of KDE (3 gigs, sheesh!) We'll see if a better solution is available.
Comment #8
quicksketchComment #9
anders.fajerson CreditAttribution: anders.fajerson commentedI will not debate whether it's lazy or not to support Konquerer. But in regards to the actual patch - generally browser detection is discouraged. So if we can't do object detection in the specific cases I think it's wiser to just check for UNsupported browsers (Konquerer in Drupals case).
Comment #10
Gábor HojtsyAgreed with fajerstarter.
Comment #11
anders.fajerson CreditAttribution: anders.fajerson commentedHere is a patch that turns off the table splitter for Konqueror. Open ID was mentioned as well (should be easier to debug/fix though)?
Comment #12
chx CreditAttribution: chx commentedThis needs to get in and then we can deal w/ OpenID. I verified it with an amount of browsers and also by googling, there is a massive amount of articles stating that checking for KDE in the vendor string is the best way to check for Konqueror.
Comment #13
anders.fajerson CreditAttribution: anders.fajerson commentedThanks for the literature search ;) I took this from http://davecardwell.co.uk/javascript/jquery/plugins/jquery-browserdetect/ which in turn is based on Quirksmodes http://www.quirksmode.org/js/detect.html
I don't rule out that it's possible to do object detection here, I just don't have a good enough KDE setup to debug this. BTW, there is a usability patch for the OpenID login form, I don't expect it to fix anything, but would be interesting to have a Konquer user test it anyway: http://drupal.org/node/186658
Comment #14
anders.fajerson CreditAttribution: anders.fajerson commentedOk, so I actually took the time to try Drupal in Konqueror. I had no idea was that bad (guess I could have search d.o first...). Did some testing and what it boils down to is that a lot of jQuery selectors doesn't work in Konqueror, one example is the often used
$("element.classname")
. So collapsible fieldsets, OpenID form, etc is broken.So, it seems that it's time to pull the plug for Konqueror and re-evaluate that after the next jQuery upgrade. This patch is quicksketch's approach but checks only for Konqueror.
Comment #15
Crell CreditAttribution: Crell commentedWhen the heck did that happen? I use Drupal in Konqueror all the time, including D6-dev, and the teaser splitter is the only thing I've ever found that broke. (I haven't tested OpenID myself, though.) Collapsible fieldsets worked fine the last time I was testing D6. There must be something else going on here.
Comment #16
catchThis and this both suggest that Konqueror support died with 1.1.
Comment #17
anders.fajerson CreditAttribution: anders.fajerson commentedOk, seem like my efforts to actually test this was out of luck then. Putting back the patch in #11 to RTBC since chx deemed it ready.
Comment #18
Crell CreditAttribution: Crell commented@catch: See the original jQuery 1.2.1 issue. As of then, everything worked in Konqueror except for the teaser splitter. If it doesn't now, then something since then broke it and needs to be fixed.
Comment #19
catchdoh! I even posted on that issue :(
Comment #20
anders.fajerson CreditAttribution: anders.fajerson commentedCrell, have you tested the patch in #11? It does what you proposed in #1 (turning off just the teaser splitter), which seems like the best approach after all. chx tested it succesfully and set it RTBC.
Comment #21
Crell CreditAttribution: Crell commentedI just tested #11 in Konqueror 3.5.6, and it successfully disabled the teaser splitter. Other javascript functionality seems unaffected, and works normally. (And it's such a small patch I don't know how it could be.) RTBC.
I haven't tested OpenID. That should be a separate issue.
Comment #22
Gábor HojtsyThanks, committed #11.
Comment #23
anders.fajerson CreditAttribution: anders.fajerson commentedI adressed the OpenID problem here: http://drupal.org/node/186658#comment-329139
Comment #24
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.