Community
    • Login

    Give focus to Find window

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 2.5k 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.
    • AlienmuppetA
      Alienmuppet
      last edited by

      In previous versions of Notepad++, when opening the Find or Find in Files window via the Search drop-down menu, the Find window would open and focus would change to it, so that when I started typing my search term, it would appear in the Find window as expected.

      In the current version, focus stays in the main edit window, leading me to start typing my search term only to realise I am writing onto the current document! This is extremely frustrating as I always have to undo to make sure I’ve not broken the code I am editing.

      Could this behaviour please be reverted?

      (Opening via CTRL+F works as expected).

      Thanks.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Alienmuppet
        last edited by Claudia Frank

        @Alienmuppet

        I do not have the described behavior. Could you give it a try to

        • stop npp
        • rename plugin folder*
        • start npp and redo test.

        *depending on your installation either the one under installation directory or %APPDATA%\notepad++ is used.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • AlienmuppetA
          Alienmuppet
          last edited by Alienmuppet

          I did that, still the same problem.

          However, I think I can see what causes the focus to change:

          If after clicking “Find”, I do NOT move my mouse pointer, focus does indeed switch and stay in the Find window. However, when I move my mouse down slightly causing it to momentarily hover over the tab, the miniature view of the text file pops up and focus switches back to the document.

          I must be in the habbit of moving the mouse down after opening the Find window, before typing…

          I’ve just confirmed this by clicking in the Find window to give it focus, and then hovering over a tab until the miniature view pops up: focus switches back to the document without clicking.

          If focus could stay where it is when hovering over the tab, that would fix it…

          Scott SumnerS 1 Reply Last reply Reply Quote 0
          • Scott SumnerS
            Scott Sumner @Alienmuppet
            last edited by

            @Alienmuppet

            Well you could disable the Peek on tab feature in the MISC. section of Preferences.

            1 Reply Last reply Reply Quote 1
            • AlienmuppetA
              Alienmuppet
              last edited by

              Well, it’s not the real fix, but I’ve done that and I now do not get the problem. Thanks :-)

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