Community
    • Login

    "Find In Files progress..." box will not hide

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 239 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.
    • Erik OlsonE
      Erik Olson
      last edited by

      On v8.8.5. As title, the “Find In Files progress…” box upon doing a search in files will not hide, always being stuck on top of all other windows. Worth noting that this is not the case on an installation of v8.5.6 I have on another computer.

      Possibly something to do with high dpi? Old W10 computer with v8.5.6 is at 100% scaling whereas this new W11 computer with v8.8.5 is at 150% scaling.

      See same/similar issue at:
      https://community.notepad-plus-plus.org/topic/10887/hide-find-in-files-progress-dialog-box
      https://community.notepad-plus-plus.org/topic/11390/search-in-files-progress-window-make-background

      CoisesC 1 Reply Last reply Reply Quote 1
      • CoisesC
        Coises @Erik Olson
        last edited by Coises

        @Erik-Olson said in "Find In Files progress..." box will not hide:

        On v8.8.5. As title, the “Find In Files progress…” box upon doing a search in files will not hide, always being stuck on top of all other windows. Worth noting that this is not the case on an installation of v8.5.6 I have on another computer.

        Possibly something to do with high dpi? Old W10 computer with v8.5.6 is at 100% scaling whereas this new W11 computer with v8.8.5 is at 150% scaling.

        I can reproduce — Windows 10 here, not high DPI.

        Based on the topics you linked, it sounds like this was a problem that was once fixed and then regressed. So far, I found it not occurring in 8.6.6 but happening in 8.7.7.

        I’ll see if I can track it to a particular change. I’m a bit surprised I never noticed this, and that no one appears to have complained since the apparent regression sometime after 8.6.6 (2024-05-10).

        Edit to add:

        This changed between 8.6.7 (2024-05-13) and 8.6.8 (2024-06-04). In 8.6.7 I observed a different problem: the progress dialog could get hidden behind the Find in Files dialog if focus left the Notepad++ application and then returned to it. Possibly fixing that problem and introducing this one were related.

        Edit to add more:

        The cause is surely this line:

        ::SetWindowPos(_hwnd, HWND_TOPMOST, 0, 0, xWindow, yWindow, SWP_NOMOVE | SWP_SHOWWINDOW);
        

        which was new as part of Commit 9c1f972: Add new dpi support to Find in Files Progress window.

        While this explains the cause, I doubt the fix is as simple as changing HWND_TOPMOST to HWND_TOP.

        Erik OlsonE 1 Reply Last reply Reply Quote 3
        • Erik OlsonE
          Erik Olson @Coises
          last edited by

          @Coises Thank you for the information. It is not happening on 8.6.6 on my machine either. I will stick with this version for the time being.

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