"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.
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 -
@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.
-
@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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login