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

      Alex, this debug mode: can that help Ken work out which plugin greys out the menus?

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

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

        @thomthom said:

        Alex, this debug mode: can that help Ken work out which plugin greys out the menus?

        Debugging is for informational purposes and shows the number of objects (Sketchup::Menu, UI::Command) available in the current object space.
        Default debug info is off.
        I think my plugin will solve the Ken's problem.

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

          thomthom, I am still having the problem after updating Fredo's plugins. I do have quite a large collection of plugins that I use so I have learned to live with the context menu gray-out by going to the selection menu under Edit (not sure what this menu is actually called - Edit context menu? - so see 1st screen shot).


          http://archlight.files.wordpress.com/2010/06/edit_contextmenu_thumb.jpg

          Can go here instead of right-click context menu if it is grayed out


          http://archlight.files.wordpress.com/2010/06/plugin_running_thumb.jpg

          Alex, your plugin is installed properly and is running

          Alex, I installed your plugin, it is running (see second screen shot) but I am still having the context menu gray-out issue, at least in part (see third screen shot). Most of the options I use such as "Explode" are grayed out.


          http://archlight.files.wordpress.com/2010/06/stillgrayedout_thumb.jpg

          Right-click context menu is still grayed out to some degree

          I'll keep using the Edit menu for now. Just thought you might appreciate the feedback. Thank you for all the hard work! ๐Ÿ˜„ I hope this annoying problem goes away along with toolbar migration. ๐Ÿ˜ฎ

          Checkout the Sketchup Graphics Blog at http://sketchupgraphics.com

          1 Reply Last reply Reply Quote 0
          • kenK Offline
            ken
            last edited by

            @alexmozg said:

            @thomthom said:

            Alex, this debug mode: can that help Ken work out which plugin greys out the menus?

            Debugging is for informational purposes and shows the number of objects (Sketchup::Menu, UI::Command) available in the current object space.
            Default debug info is off.
            I think my plugin will solve the Ken's problem.

            Note: I haven't had the problem since I reload only the plugins I wish to use. I am no longer a plugin groupie. I am being careful, not to have multi plugins for the same purpose. So here is hoping I have solved my problem just by not being a plugin in hog.

            Tom thanks for the help and Alex thanks for the plugin. If I have a re-occurrence of the problem, I know where I will head.

            Ken

            Fight like your the third monkey on Noah's Ark gangway.

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

              The menu buffer overflows anyway if the number of objects UI::Command becomes more then 500-600!
              And 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 ๐Ÿ˜„.
              craigbic
              โ— In your case, you can only limit the number of plugins which you use.

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

                @alexmozg said:

                The menu buffer overflows anyway if the number of objects UI::Command becomes more then 500-600!

                So it's not really the fixed 1000 that Google said?

                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
                  craigbic
                  last edited by

                  @alexmozg said:

                  The menu buffer overflows anyway if the number of objects UI::Command becomes more then 500-600!
                  And 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 ๐Ÿ˜„.
                  craigbic
                  โ— In your case, you can only limit the number of plugins which you use.

                  Limit plugins? NEVER! Not a big deal - just an annoyance really. Thank you for the explanation and the plugin! Good work! ๐Ÿ˜Ž

                  Checkout the Sketchup Graphics Blog at http://sketchupgraphics.com

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

                    @thomthom said:

                    ...
                    So it's not really the fixed 1000 that Google said?

                    Maybe...
                    500-600 for Sketchup 5, I have been tested it.

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

                      Thom, i'm quite sure the selection toys are causing the issue on my pc - so the google fix is not working after all

                      when i remove S.T. the menu does not grey out even after hours of working ๐Ÿ˜’

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

                        That is very odd. I can not reproduce it. Nor does it have the code that Google said caused this.

                        How many plugins had you got installed? I wonder if one might run into this if one just has many menu items - Selection Toys has quite a few. Have you tried disabling some of the menu items?

                        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

                          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.. ๐Ÿ˜Ž

                          1 Reply Last reply Reply Quote 0
                          • 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
                                            • 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