sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin]ContextMenuOptimizer v2.8 (menu gray-out issue fix)

    Scheduled Pinned Locked Moved Plugins
    36 Posts 7 Posters 56.1k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      @cadfather said:

      thanks that's a good idea, might just be it...well hope so.. after all together there must be something like 500 or 600 plugins in there by now.. 😎

      ❗ ❗ ❗
      Well - that might very likely be the cause. Google said their limit of Command objects where at about 1000 - if you ahve that many you might hit some limit even without some leak like Fredo's tools.

      What would be interesting is if you could install one more. (No worries no menus or anything πŸ˜‰ )
      Then open your Ruby Console and type in stats - see what it reports.
      Then do some right clicks and see what it reports afterwards.


      tt_stats.rb

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • CadFatherC Offline
        CadFather
        last edited by

        well, 600 was my very quick estimate of all the commands in the folder from didier's spray comps to su2kt

        but the stats gives this: (cool thing) - UI:Command objects: 283 of 1000 (28.30%)

        so i guess that's still not too greedy..

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          Does it increase during usage? After right-clicking for instance?

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            not for the moment - i think it needs more work-time - i'll put it through the paces this afternoon though.

            to be continued.. πŸ‘

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              Then it can't be the same issue, because you should see increase immediately. (However, you might get different results from what you right click on, Edge,Face,Group,Component.)

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • CadFatherC Offline
                CadFather
                last edited by

                i see.. i shall let you know how i get on, i have some work later so i will be able to test it properly..
                meantime i disabled the selection toys i don't use so much, so i'm preparing for sunshine through the clouds! πŸ˜„ β˜€

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AlexMozg
                  last edited by

                  CadFather
                  Do you use my plugin?
                  I think it should solve such issues.

                  1 Reply Last reply Reply Quote 0
                  • CadFatherC Offline
                    CadFather
                    last edited by

                    hi Alex

                    yes i did as soon as i saw it.. but the result was that only some menus 'refreshed' - some other (strangely the sketchup ones like activate section plane, reverse face etc) were still grey πŸ˜•

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      AlexMozg
                      last edited by

                      @cadfather said:

                      hi Alex

                      yes i did as soon as i saw it.. but the result was that only some menus 'refreshed' - some other (strangely the sketchup ones like activate section plane, reverse face etc) were still grey πŸ˜•

                      My plugin does not allow a possible memory leak, it protects the buffer menu.
                      And I wrote about it:

                      @alexmozg said:

                      ...unfortunately, the predefined context menu commands
                      (such as Explode, Hide, Erace etc.)
                      are not amenable to correction,
                      but the commands of other plugins should always work.

                      My colleagues and I use my plugin and we are not experienced this issue any more. But we have limit plugins in use, basically most necessary.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        chango70
                        last edited by

                        OMG all my menus are greyed out from the start with or without this plugin!!! What is going on?

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          You may have too many context-menu / commands running - do you have many plugins ?
                          Temporarily remove any you recently added and see what happens...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            @chango70 said:

                            OMG all my menus are greyed out from the start with or without this plugin!!! What is going on?

                            Have you updated any Fredo plugins?

                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by

                              Fredo's latest CurviLoft... has/needs 'Lib3.5' BUT I've found that 'Lib3.4c' [the one that was issued to stop this very problem] is still needed by Fredo's other tools to stop the dreaded graying out issue - if you don't use this 'optimizer tool'... πŸ˜•

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                chango70
                                last edited by

                                thx for the quick reply guys.

                                Yes I do have lots of plugins.

                                I will try removing them.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  chango70
                                  last edited by

                                  @tig said:

                                  Fredo's latest CurviLoft... has/needs 'Lib3.5' BUT I've found that 'Lib3.4c' [the one that was issued to stop this very problem] is still needed by Fredo's other tools to stop the dreaded graying out issue - if you don't use this 'optimizer tool'... πŸ˜•

                                  Argh... Curviloft is so much fun.. I guess ill try uninstall that.

                                  1 Reply Last reply Reply Quote 0
                                  • thomthomT Offline
                                    thomthom
                                    last edited by

                                    Try to update all your Fredo plugins and have the latest 3.4 and 3.5 of Fredo Lib.

                                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      chango70
                                      last edited by

                                      It appears as though fredoscale and fredo's ghosted components where the culprits. I removed them and the menu came back...

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        chango70
                                        last edited by

                                        Ok i got the menus back but only after removing all fredo plugins and fredolib... Real shame really I liked his plugins...

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          @chango70 said:

                                          It appears as though fredoscale and fredo's ghosted components where the culprits. I removed them and the menu came back...

                                          What versions did you have? He updates his whole suite to address this issue.

                                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            chango70
                                            last edited by

                                            @thomthom said:

                                            @chango70 said:

                                            It appears as though fredoscale and fredo's ghosted components where the culprits. I removed them and the menu came back...

                                            What versions did you have? He updates his whole suite to address this issue.

                                            Ghosted components was old. V1.0 I gues that must be it. Fredoscale is 2.0i which should be the latest.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement