Back-end page editing issue...

At some point a few months ago, I brought up the issue that when I clicked an article or news page, the content box was empty. I had to click "Toggle Editor" once to switch to plain-text mode (which displayed the content), and again to switch back to the TinyMCE editor, after which the content was appearing correctly.

The thought at the time was that this might be an issue related to the nightly builds of Firefox I was using. However, given that Firefox 4 is now on Beta 6 and the problem is still there, I'd think a browser bug is an unlikely cause.

In Firefox, the issue is still there, and has been for a couple months now. Is it possible to look into whether this is indeed a browser bug that I should report to Mozilla, or possibly a bug in the page code that "shouldn't" work, but does in IE and Chrome anyway?

I also tried using Google Chrome 6 to see if it had the problem as well, but the problem there is worse - clicking on the title link for an article puts the item in drag mode to rearrange it, even when not clicking-and-dragging. For News pages, it works fine.

Thanks!

Comments

  • acrylian Administrator, Developer
    I remember that but it does apparently not surface in any other browser. Actually I can't test FF4 as it does not run on my slightly older Mac, same with Chrome... But given that Firefox 4 is still beta we won't further investigate anyway. It still might be happen something as JS is always more difficult.

    It might even be something in TinyMCE's own JS code we have no hand in of course. Most likely they will have to update for a browser, which would not be the first time. I suggest to visist their forum, maybe it is already known.

    Did you try to disable the toggle function maybe?

    I also tried using Google Chrome 6 to see if it had the problem as well, but the problem there is worse - clicking on the title link for an article puts the item in drag mode to rearrange it, even when not clicking-and-dragging. For News pages, it works fine.
    News articles can't be sorted, the code is not even there. For pages the sorting is active always (it is the same code used on the albums list - vice versa actually). If you click on the title a page should open with the page to edit.
  • I remember that problem and I still see it on my Firefox beta as well (using nightly x64 build). I could never find any indication of what might going wrong with it.

    It wouldn't do any harm to report the problem on Bugzilla. The worst that could happen is that the devs mark it as duplicate. Finding a regression range would probably help speed up fixing the issue.

    You might also want to try using vanilla TinyMCE to see if the problem stands in TinyMCE, Zenphoto's implementation, or perhaps just in Firefox.
  • If I click the page title using Chrome, I just get the 4-way drag arrows icon. I didn't know the toggle function could be disabled - where is that setting? Or do you mean to modify the core files to disable it as a test?

    I did come across this - possibly related: http://tinymce.moxiecode.com/punbb/viewtopic.php?id=22939

    It looks like the 3.3.9 release corrects this - I'll see if I can drop those files over the 3.3.6 that ships with ZenPhoto and see if that corrects it or not.
  • acrylian Administrator, Developer
    I don't understand the Chrome issue nor did I ever see that even in older browsers. Chrome is Webkit, isn't it?

    But very well, our sorting script is based on a precedessor of jQuery UI called Interface. the reason is that we did not find any other that fluently working and also layout customizable one than this. We tried some of the complete ones but they were partly a pain to style (one worked quite well but did not with link within the sortable item) or did not work well in - of course - IE.

    Besides that it does not work with jQuery 1.4.2 which is why we ship 1.4.1 it does work in all newer and older browser (besides Chrome probably) so we did not try to change it yet.

    We sadly have neither the time nor js knowledge to write a nested sortable script that will work with our current design. We know sometime this will get urgent, so if one of you want to jump in with that, that would be welcome.

    The toggle can not be disable via a option but within the config files you could comment out a few lines.

    I thought we had the latest TinyMCE but might have been that we didn't include it as it was too late for 1.3.1. We would of course update that for 1.3.2 anyway.
  • Hmm, the 3.3.9 didn't have any effect on that issue, apparently. Damn.
  • Btw, it seems that it is a Firefox bug. Happened on this today: https://bugzilla.mozilla.org/show_bug.cgi?id=605481

    A patch was pushed to mozilla-central yesterday, so it should be fixed in today's Firefox nightly. :D
Sign In or Register to comment.