We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Quote from: MrDutchy at Sep 01, 2007, 06:04 AM

    Sure, I understand this. What would be interesting to know is the minimum "mootools build" required by "built-in" MODx parts like Quickedit and some manager javascrpt features. Or are you saying they aren’t using any mootools anymore?
    There’s the problem. QuickEdit is an add-on that is included in the default distribution. It is not built-in to the core of MODx. This is one of the reasons why 0.9.7 will be distributed as a core package, and add-ons either separately, or in a custom distribution that includes the core along with a set of components meant to work together without conflicts to implement a specific style or type of site.

    Producing add-ons for MODx that work together without conflicts, especially when they involve a variety of javascript libraries that have the potential to conflict with each other, and were likely never meant to run together in the first place, is as of yet more of an art than a science. Emphasizing this separation, adding JS dependency and potential conflict information into the add-on repository, and other steps can be taken to help address this issue moving forward. But the price of flexibility in the core framework is that there is always the potential for these kinds of conflicts without extensive planning and organization of your MODx site and selected/authored add-ons.
      • 36805
      • 354 Posts
      Quote from: OpenGeek at Sep 01, 2007, 01:05 PM

      Quote from: MrDutchy at Sep 01, 2007, 06:04 AM

      Sure, I understand this. What would be interesting to know is the minimum "mootools build" required by "built-in" MODx parts like Quickedit and some manager javascrpt features. Or are you saying they aren’t using any mootools anymore?
      There’s the problem. QuickEdit is an add-on that is included in the default distribution. It is not built-in to the core of MODx. [...]
      Granted quickedit could and should be considered an add-on but to return to the issue of the original post: the MODx manager throws the same error, just less frequently. Just today i experienced it twice when i clicked edit document from the context menu of a document in the tree. Besides even if the error does not show up there is a tremendous slowdown.

      I am kind of hoping someone from the coding team (ff2 + winxp users?) starts to experience the same issue since I am starting to wonder if something else is going on on my system and that of the original poster. Something specific to a certain firefox addon configuration or something maybe?
        • 28215
        • 4,149 Posts
        Quote from: MrDutchy at Sep 03, 2007, 10:32 AM

        Granted quickedit could and should be considered an add-on but to return to the issue of the original post: the MODx manager throws the same error, just less frequently. Just today i experienced it twice when i clicked edit document from the context menu of a document in the tree. Besides even if the error does not show up there is a tremendous slowdown.

        I am kind of hoping someone from the coding team (ff2 + winxp users?) starts to experience the same issue since I am starting to wonder if something else is going on on my system and that of the original poster. Something specific to a certain firefox addon configuration or something maybe?

        You’re not running Firebug are you?
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 33372
          • 1,611 Posts
          The other computer that I mention does this where I am is not running Firebug, so I don’t think it’s that. I think that it’s just that the Dean Edwards packer requires the browser to do a lot of heavy thinking, and depending upon what else is going on and how fast your PC is it can be too much. I bet that if you get the unpacked version of mootools that this issue will go away (we haven’t done this here yet because the error is so rare and we’ve been busy).
            "Things are not what they appear to be; nor are they otherwise." - Buddha

            "Well, gee, Buddha - that wasn't very helpful..." - ZAP

            Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
            • 14786
            • 57 Posts
            Quote from: OpenGeek at Aug 23, 2007, 11:44 AM

            I’ve only ever noticed this "the script has stopped responding" error when I have a lot of browser windows open and am visiting a bunch of web sites that use too much javascript all at the same time. Or god forbid, if I have a Java applet running in a browser; Fx likes to choke on those. Or if I just have too many applications open and Windows is drowning in it’s own excrement, but perhaps I’m being too graphic. But otherwise, the latest manager in 0.9.6 is the leanest and meanest of the MODx manager interfaces yet, and performs so much faster than it used to.

            I believe this assessment is correct. It is unfortunate though if this isn’t considered a high priority because of these reasons. Is there even a bug tracker / ticket for this? The past few days I’ve been working on three different websites, simultaneously, for my employer that were built in MODx. At any given time I could have a whole lot of junk running on my computer. I was under the impression MODx is supposed to be built with developers in mind and those are just the people that would be most impacted by this issue. What self respecting developer does the majority of their work in IE?
              • 33372
              • 1,611 Posts
              @joshua. Have you tried using an unpacked version of mootools for the Manager only? The Dean Edwards packer is extremely CPU-intensive, and Firefox just seems to be more sensitive to things taking a long time than IE is. I’ve never had this problem on a newer computer with a faster CPU and more RAM, only on old clunkers trying to do too much at once.

              The Manager is being completely rewritten for 0.9.7. It wouldn’t make any sense to redo the 0.9.6 Manager to use less CPU at this point, especially given that a workaround should resolve it. I guess an unpacked version of mootools could be bundled with 0.9.6.1, so you could create a bug on flyspray and suggest that if you like.

              Personally I’m not convinced that the problem is affecting enough users to merit a change to the core distribution, but it’s really six of one, half dozen of the other...
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 14786
                • 57 Posts
                Quote from: ZAP at Oct 19, 2007, 01:07 PM

                The Manager is being completely rewritten for 0.9.7. It wouldn’t make any sense to redo the 0.9.6 Manager to use less CPU at this point, especially given that a workaround should resolve it.

                ok thats all i needed.
                  • 36805
                  • 354 Posts
                  For completeness’ sake I feel like I should report back that since I deactivated Firebug on my development machine I never experienced the issue again.