Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have dialog boxes reopen in same positions? #6171

Open
Ander3232 opened this issue Sep 25, 2019 · 4 comments
Open

Have dialog boxes reopen in same positions? #6171

Ander3232 opened this issue Sep 25, 2019 · 4 comments

Comments

@Ander3232
Copy link

Ander3232 commented Sep 25, 2019

Description of the Issue

Thanks for NP++—it's awesome (although it can be awkward trying to follow its name with more punctuation).

My only peeve about it is, it doesn't record the positions of dialog boxes (e.g. Find, Find/Replace) between sessions, and keeps reopening them directly over the editing window (it couldn't be anywhere else?), requiring you to stop and move them out of the way before you can do much else. (I know Find/Replace can be made transparent—but as it still opens over the editor, I don't see how that's an advantage.)

Steps to Reproduce the Issue

  1. Run NP++.
  2. Open a dialog box.
  3. Stop everything to drag it away from the editing window.
  4. Continue.

Expected Behavior

For dialog boxes not to, you know, hide the main part of the program. I'm just saying. ;?)

Actual Behavior

They hide it.

Debug Information

I recommend that, before opening a dialog box in a subsequent session, NPP++ first be sure the dialog box's recorded position still places it entirely onscreen—and if the display and/or resolution has changed, and part or all of the d. b. would now be offscreen, its coordinates be reduced to fix that. (Can this be why you've so been opening them over the main window—so there's no possibility they'll appear offscreen? That's thoughtful, but you can avoid that with a simple resolution/position comparison before showing the form.) Cheers!

@sasumner
Copy link
Contributor

Semi-related: Normally I have 4(!) monitors. One dead center in front of me, one to the right and two to the left. I run Notepad++ full-screen on the one directly in front of me. I invoke Find and the window appears, right smack in the middle of the Notepad++ window (per the above posting creating this issue). Is this desirable? Not really. I promptly move the Find window to the monitor immediately to my left (into its upper right corner) where it remains for the rest of the Notepad++ run. It's OK, I can live with it.

However, if I undock my laptop and use it elsewhere, I have one (smaller) screen. Running Notepad++ (again, full screen), invoking Find puts it right in the middle again. But this time, ugh, what can I do with it (because I want to keep it open)? There really is no good place to move it to.

This isn't really helpful to the current issue, just relating my "user experience" related to Find window placement. :)

@Ander3232
Copy link
Author

I know, right?

@sasumner
Copy link
Contributor

sasumner commented Feb 4, 2020

it doesn't record the positions of dialog boxes (e.g. Find, Find/Replace) between sessions, and keeps reopening them directly over the editing window

See #905

@alankilborn
Copy link
Contributor

Tested in N++ 8.4.4 (current version as of this writing) and could not repro.
Find window location is remembered and reused.
Recommend CLOSURE of this item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants