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

    DWC 2 - Stupid #$%# popup when trying to type console cmds

    Scheduled Pinned Locked Moved
    Duet Web Control
    10
    18
    951
    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.
    • A Former User?
      A Former User
      last edited by A Former User

      might be able to swing it with tampermonkey

      offending divs:

      • input field
        <div data-v-053bc093="" class="v-input v-text-field v-text-field--single-line v-text-field--solo v-text-field--enclosed v-text-field--placeholder v-select v-select--is-menu-active v-autocomplete v-input--hide-details v-input--is-focused theme--dark primary--text">
      • command history
        <div class="v-menu__content theme--dark v-autocomplete__content" style="max-height: 300px; min-width: 1674px; top: 410px; left: 312px; transform-origin: left top; z-index: 8; display: none;">
      garyd9undefined 1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal @garyd9
        last edited by Danal

        @garyd9 said in DWC 2 - Stupid #$%# popup when trying to type console cmds:

        I realize that @chrishamm is busy with RRF3/Duet3 related stuff.

        Is anyone proficient with DWC2 (is it javascript based?) that could explain how to just disable that "feature" (and pack it up so it can be dropped/installed on a duet?)

        I ran into this same thing, trying to use a tablet. Overlays what you are typing, can't see.

        .

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • garyd9undefined
          garyd9 @A Former User
          last edited by

          @bearer said in DWC 2 - Stupid #$%# popup when trying to type console cmds:

          might be able to swing it with tampermonkey

          offending divs:

          Unfortunately, I'm not at all familiar with the HTML code or how to go about modifying DWC2. Is there some way to modify a file or two on the duet SD card to "fix" this (or just get rid of it?)

          Thanks
          Gary

          "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by A Former User

            Seemed the easiest was to remove :items="displayedCodes" from the relevant component and rebuild it.

            Danalundefined 1 Reply Last reply Reply Quote 0
            • zaptaundefined
              zapta
              last edited by

              @garyd9 said in DWC 2 - Stupid #$%# popup when trying to type console cmds:

              I think I'm hitting ENTER on my newly entered command, I instead find that instead I sent "M1" or something else destructive.

              +1. Non intuitive indeed.

              Enter should send what the user typed unless the user explicitly selects one of the suggestions. Currently I type a few extra spaces to make sure it doesn't select any of the suggestions.

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @garyd9
                last edited by

                @garyd9 said in DWC 2 - Stupid #$%# popup when trying to type console cmds:

                PLEASE get rid of this horrible "feature" in DWC2 that "helpfully" pops up a list of previously typed console commands every time I try to type a command.

                AMEN to that 😄
                I just started using duet2eth and this is making it very hard to use...

                check out how terminal works on octoprint, it is ugly but works hella lot better (up/down history works ok so if you want to repeat command, up will load it into type box)

                also the order of the terminal output is rather weird in latest version of dwc.. I really think you should look at how terminal for octoprint works, it's way simpler, no fancy coloring, but contrary to this fancy one on DWC it's actually useful

                1 Reply Last reply Reply Quote 0
                • Danalundefined
                  Danal @A Former User
                  last edited by

                  @bearer said in DWC 2 - Stupid #$%# popup when trying to type console cmds:

                  Seemed the easiest was to remove :items="displayedCodes" from the relevant component and rebuild it.

                  I removed that (from the minified file app.296c62fd.js) and it does eliminate the list of previous commands. It also seems to make it harder to overtype the one command that's in the input area. Backspace key doesn't work.

                  Did your re-built version do that?

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by

                    @Danal said in DWC 2 - Stupid #$%# popup when trying to type console cmds:

                    Backspace key doesn't work.
                    Did your re-built version do that?

                    No, can't say I noticed that, nor is there any reason it should. I'm not used to vue, and tried fiddling with it to change the enter behaviour and that had some side effects, but just removing the part that generated the list of remembered commands didn't seem to have any adverse effects.

                    But you'd probably want to remove the this.addCode(codeToSend); bit further down to avoid dwc to keep adding all the successfully exectuted commands to the local storage or wherever it goes.

                    1 Reply Last reply Reply Quote 0
                    • chrishammundefined
                      chrishamm administrators
                      last edited by chrishamm

                      Hmm, this is really a no-go and I hoped I had fixed it. I'll come up with a solution.

                      Duet software engineer

                      A Former User? 1 Reply Last reply Reply Quote 4
                      • A Former User?
                        A Former User @chrishamm
                        last edited by

                        @chrishamm said in DWC 2 - Stupid #$%# popup when trying to type console cmds:

                        I'll come up with a solution.

                        would it be possible to change the enter behavior as well? Either add tab/right arrow key to populate the input field from the autocomplete list, or having to press enter twice to send past command (once to select, and once to submit)?

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