Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    BtnCmd-DWC Plugin - Customise DWC - v01.03.08 01-03-25

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    27
    244
    38.6k
    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.
    • MintyTreborundefined
      MintyTrebor @Diamondback
      last edited by MintyTrebor

      @diamondback Can you see what happens if you change the button to a Gcode and use
      M117 "Hello world"
      as the command.

      The reason for asking about the selects setting, is because there is an existing problem with some local installations which causes issues with layering/elevation in DWC. When you enable selects any drop down field renders the options behind the dialog window. I wanted to check if you had found another symptom of the same issue.

      Edit: Also that macro path looks wrong to me see https://forum.duet3d.com/post/234267

      NodeDSF - Native Node-Red integration with Duet boards.
      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
      ReleaseMgr - Duet update info inside DWC.
      Repo

      Diamondbackundefined 1 Reply Last reply Reply Quote 0
      • Nurgelrotundefined
        Nurgelrot
        last edited by

        Backup/restore button greyed out on 0.8.19. I've completely removed the plugin and reinstalled but the backup restore feature is un-selectable on one of my 2 installations... It worked one time to restore and then locked off.

        MintyTreborundefined 1 Reply Last reply Reply Quote 0
        • MintyTreborundefined
          MintyTrebor @Nurgelrot
          last edited by MintyTrebor

          @nurgelrot I'll have to do some tests, the button should only disable if the printer is busy (eg printing), or you are in layout or custom panel edit mode.

          NodeDSF - Native Node-Red integration with Duet boards.
          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
          ReleaseMgr - Duet update info inside DWC.
          Repo

          Nurgelrotundefined 1 Reply Last reply Reply Quote 0
          • Diamondbackundefined
            Diamondback @MintyTrebor
            last edited by

            @mintytrebor Interesting, changing it to a gcode rather than macro makes it mostly work. It still doesn't show up in the footer bar, but it does actually execute the gcode.

            However, with macros still no luck in custom panels. (there is also nothing in the logs)

            The macro path is fine, mine do not have extensions. The button without custom panel that works, also has no extension in the path and works just fine. I also tried that very macro path in the custom panel button to no avail.

            This is the working button:
            2021-06-19_21-51-45.png

            MintyTreborundefined 1 Reply Last reply Reply Quote 0
            • MintyTreborundefined
              MintyTrebor @Diamondback
              last edited by

              @diamondback Thanks for the update. I will see if I can re-create the issue tomorrow.

              When I mentioned the Macro path, I was more concerned with the first '/' in your path. The default system Macro path is read from memory & should end with '/' (from memory - it was a while ago now 😊 ) - which means the combined path in your case would be '/default/Macro/Path//your/Macro/Path/macro'. The double '//' is what was concerning me. I am pleasantly surprised it works...

              NodeDSF - Native Node-Red integration with Duet boards.
              BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
              ReleaseMgr - Duet update info inside DWC.
              Repo

              1 Reply Last reply Reply Quote 0
              • Diamondbackundefined
                Diamondback
                last edited by

                @mintytrebor Oh, I see, I was just assuming it uses the same syntax as M98 🙂

                1 Reply Last reply Reply Quote 0
                • Nurgelrotundefined
                  Nurgelrot @MintyTrebor
                  last edited by Nurgelrot

                  @mintytrebor Something was off with my SBC on that host/printer got some permission errors when updating so I just redid the pi and the problem is gone. Prob not related to your plugin at all but thanks for taking a look.

                  MintyTreborundefined 1 Reply Last reply Reply Quote 0
                  • Diamondbackundefined
                    Diamondback
                    last edited by Diamondback

                    So for now I just switched to using the gcode command and calling my macros with M98, this works fine and is a usable workaround.
                    Please let me know if I can be of any further help in debugging this issue 🙂

                    A couple more things I noticed:

                    • On my 7" iPad (where the sidebar collapses and needs to be shown via the hamburger menu), the custom panels render on top of the DWC sidebar when it's expanded
                    • During design time, button icons do not update, only in the "use" mode they show the correct icons
                    • Empty tooltips still "show", as in it displays an empty tooltip, maybe this can be omitted
                    • Would be cool to include a link to the material design icon database so people can more easily see which icons exist (stretch goal could be a direct icon browser of course)
                    • My OCD dislikes that "BtnCmd" is the only abreviation in the sidebar... 😄 Maybe give it a proper name 🙂
                    • Being able to reorder existing tabs would be really welcome

                    I'm really loving this, it makes DWC a TON more usable!

                    1 Reply Last reply Reply Quote 0
                    • MintyTreborundefined
                      MintyTrebor @Nurgelrot
                      last edited by MintyTrebor

                      @nurgelrot Glad you have it working. 😃
                      @Diamondback

                      • Icons change to cogs in layout/create mode by design (its a legacy decision from the first iterations of the plugin). I'll add it to the wish list.

                      • Empty tool tips - agreed. I'll see if the framework allows me to make them conditional based on content.

                      • There is a link to the material design icons website in the Info panel of the plugin.

                      • Reordering Tabs - I looked at this before - believe it or not, its not as simple as it sounds😩 . I'll add to the wish list

                      • Its called BtnCmd because its the smallest version of "Button Command" that did not get truncated by different screen sizes. It bugged me that it was inconsistent depending on the monitor and window size.

                      • I'll look into the Tablet display issue. But if the DWC menu has not been coded to respect elevation - it may be a limitation I have no control over.

                      NodeDSF - Native Node-Red integration with Duet boards.
                      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                      ReleaseMgr - Duet update info inside DWC.
                      Repo

                      Diamondbackundefined 1 Reply Last reply Reply Quote 1
                      • Diamondbackundefined
                        Diamondback @MintyTrebor
                        last edited by

                        @mintytrebor Thanks for the insights 🙂

                        • Icons: The reason I mentioned this is that I struggled to see what exact syntax the icon reference was using (the help says mdi-#, making me think it possibly wants a number there) and since the default cog icon didn't update in design mode (but everything else did), I was thinking that I did something wrong.
                        • Reordering: No worries, I pay my bills by being a software engineer, so I have no troubles believing you 😄
                        • DWC/Tablet: Here's an image:
                          IMG_0001.PNG

                        Thanks a lot for caring! 🙂

                        MintyTreborundefined 1 Reply Last reply Reply Quote 0
                        • MintyTreborundefined
                          MintyTrebor @Diamondback
                          last edited by

                          BtnCmd Version 0.8.20 (Alpha) has been released here.

                          Changes:
                          -Icons can now be viewed in settings dialogs
                          -When viewing on mobile/tablet devices layouts will no longer support user defined layers.

                          Bug Fixes

                          -Fixed Macros not working in custom panels
                          -Fixed Action text not showing for buttons in custom panels
                          -Mitigated issue of DWC menu rendering below BtnCmd layout items.
                          -Stopped empty hover text box from appearing when no Hover Text has been specified.

                          NodeDSF - Native Node-Red integration with Duet boards.
                          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                          ReleaseMgr - Duet update info inside DWC.
                          Repo

                          cosmowaveundefined 1 Reply Last reply Reply Quote 2
                          • Diamondbackundefined
                            Diamondback
                            last edited by

                            @mintytrebor Very nice release! Did not find anything else so far, all my reported issues are fixed. 🙂

                            1 Reply Last reply Reply Quote 1
                            • cosmowaveundefined
                              cosmowave @MintyTrebor
                              last edited by

                              @mintytrebor my installation of 0.8.20 is failed with the info:

                              TypeError: m.dwcFiles is undefined
                              

                              I have stopped the Plugin and refreshed the browser...

                              Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                              MintyTreborundefined 1 Reply Last reply Reply Quote 0
                              • MintyTreborundefined
                                MintyTrebor @cosmowave
                                last edited by

                                @cosmowave Sorry but that is not one of my plugin files.

                                When you say failed do you mean the plugin wizard failed during the install or when you try and start the plugin?
                                Did you use the "upload & start" or "upload system files feature" - I ask because I had an installation error on my Duet2 Ethernet using the "upload & start" feature, but it only happened once so I disregarded it.

                                You could download the version of the plugin you already had previously installed and try to install that again, if that works try to upgrade again, if it fails then you have a DWC problem. The plugin framework is new so I suspect there may be a few issues with it.

                                NodeDSF - Native Node-Red integration with Duet boards.
                                BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                ReleaseMgr - Duet update info inside DWC.
                                Repo

                                cosmowaveundefined 1 Reply Last reply Reply Quote 0
                                • cosmowaveundefined
                                  cosmowave @MintyTrebor
                                  last edited by

                                  @mintytrebor It fails during the plugin wizard. I have used the "upload system files feature".
                                  I will try to re-install it today evening...

                                  Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                  MintyTreborundefined 1 Reply Last reply Reply Quote 0
                                  • MintyTreborundefined
                                    MintyTrebor @cosmowave
                                    last edited by

                                    @cosmowave That's the second issue you have had with your setup trying to install plugins - you don't seem to be having much luck. 🙁

                                    NodeDSF - Native Node-Red integration with Duet boards.
                                    BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                    ReleaseMgr - Duet update info inside DWC.
                                    Repo

                                    cosmowaveundefined 2 Replies Last reply Reply Quote 0
                                    • cosmowaveundefined
                                      cosmowave @MintyTrebor
                                      last edited by

                                      @mintytrebor Hahaha... you're right! But there are no big problems... so it's ok for me! 🙃

                                      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                      1 Reply Last reply Reply Quote 0
                                      • cosmowaveundefined
                                        cosmowave @MintyTrebor
                                        last edited by

                                        @mintytrebor Just for information: The uptade to 0.8.20 is ok now. I have deleted the 0.8.18 and then directly installed 0.8.20.

                                        But a small problem remains.
                                        In layout mode, when i like to edit a custom panel with a "right klick", the blue "edit buttons" are often behind the hole panel. So it is impossible to edit the panel.
                                        These blue "edit buttons" should allways be on the top layer for visibility...

                                        But once again: Thanks for this Plugin!! 👍

                                        Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                        MintyTreborundefined 1 Reply Last reply Reply Quote 1
                                        • MintyTreborundefined
                                          MintyTrebor @cosmowave
                                          last edited by MintyTrebor

                                          @cosmowave Can you share a screenshot of it happening please.
                                          Also:
                                          What Browser?
                                          What Screen Resolution?
                                          What Device/OS?

                                          Have you tried in a different browser?

                                          Edit: Also does it still happen if you bring the panel to the front.

                                          You state in "Layout Mode" - Custom Panels cannot be edited in layout mode only deleted, moved, resized, or moved to the top layer. You can only edit custom panels in "Create & Edit Custom Panels"

                                          Custom Panel in Layout Mode:
                                          24071102-53a8-4c2c-8d6d-9aeb1e86f562-image.png

                                          Custom Panel in Create & Edit Custom Panels mode:
                                          84e06bb8-0dbf-436f-bfe2-7f1cd4ca0105-image.png

                                          Can you clarify please?

                                          NodeDSF - Native Node-Red integration with Duet boards.
                                          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                          ReleaseMgr - Duet update info inside DWC.
                                          Repo

                                          cosmowaveundefined 1 Reply Last reply Reply Quote 0
                                          • cosmowaveundefined
                                            cosmowave @MintyTrebor
                                            last edited by

                                            @mintytrebor Browser: Firefox / Chrome both the same.
                                            Res: 1920 x 1080
                                            Intel Xeon CPU E3-1220 V2 @ 3.10GHz 3.10 GHz, Win 10 Pro

                                            To bring the panel to the front has no effect on this problem.
                                            The problem remains also in the "normal mode".

                                            Here you can see a picture of normal view. The "info text" is behind the panel.
                                            P1080898.JPG

                                            Here a picture in the layout mode. I have right clicked on the "home all" button (the button above home x/y... bad picture). The blue edit buttons are more or less completly covered by "it's own button"
                                            P1080897.JPG

                                            The last picture is also from normal mode. The info text is behind the panel.
                                            P1080899.JPG

                                            I think, info text and the blue edit buttons should always be showed on top layer.
                                            I don't know, if this is configurable/programmable.

                                            But the info text is not very important for me. Normally i know what my buttons make! 😅

                                            The blue edit buttons are more important. Now, when i like to edit a button, i have to move it outside of any panel or button to have acces to blue buttons.

                                            Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                            MintyTreborundefined 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA