Community
    • Login

    UI artifact from Find 2-button mode enable/disable checkbox

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 3 Posters 513 Views
    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.
    • Alan KilbornA
      Alan Kilborn
      last edited by

      Anybody else noticed this little bit of user interface oddness, highlighted in yellow?:

      4e50f72a-80e6-4d0a-80ad-0d00eb2dad7f-image.png

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil @Alan Kilborn
        last edited by

        @Alan-Kilborn

        This “artifact” is quite normal for a checkbox. Checkboxes are common Windows controls and are drawn by code from a Windows DLL file. When a checkbox receives keyboard focus, the related text is marked with a dotted-line box. Then it is possible to check/uncheck the box by pressing the SPACE bar.

        The developers of the checkbox drawing code didn’t think for checkboxes without related text, thus the marking box is drawn always. The only way of getting rid of it is to reduce the width of a checkbox control to the width of the box itself. But users are then not able anymore to understand that the checkbox has the input focus.

        Alan KilbornA 1 Reply Last reply Reply Quote 0
        • Alan KilbornA
          Alan Kilborn @dinkumoil
          last edited by

          @dinkumoil

          Sure, it’s just odd from a visual perspective.

          I suppose from a “completeness” point of view that every control should be activate-able via the keyboard, which I suppose is the entirety of what this UI weirdness provides.

          However, for this case, true keyboardists would never actuate this control in normal usage, but would merely use Enter or Shift+Enter to do their Find Next (Previous).

          Note that I’m not advocating for any kind of change, just commenting on something I never noticed before and wondering what others thought.

          1 Reply Last reply Reply Quote 0
          • dtoxic64D
            dtoxic64
            last edited by dtoxic64

            Maybe a Visual style bug in windows? [if you are using Win that is?]

            i don’t have that artifact

            https://imgur.com/ccqN5Di

            Alan KilbornA 1 Reply Last reply Reply Quote 1
            • dtoxic64D
              dtoxic64
              last edited by dtoxic64

              forgot to mention i am using Windows 7 sp1 with a custom theme
              @Alan-Kilborn

              found it, if you use “TAB” to cycle trough various options in the Find Dialog you will eventual get that “Artifact” probably a remnant from the past??? not a coder so it;s only speculation

              1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @dtoxic64
                last edited by

                @sick13

                In your screenshot, I couldn’t tell which control has input focus at the time. Maybe you took the shot when the Find window didn’t have focus at all?

                I guess that might be an advantage of the “artifact”, however weak: It shows where in the Find window input focus is, when it is on that checkbox control.

                dtoxic64D 1 Reply Last reply Reply Quote 1
                • dtoxic64D
                  dtoxic64 @Alan Kilborn
                  last edited by

                  @Alan-Kilborn

                  it was in focus i just did not use the keyboard to cycle trough options, i could no get the “artifact” using the mouse,and you are correct ,once you get to the “artifact” you can cycle it with “space bar” so not useless after all :D

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors