notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
"Go To..." window doesn't update when left open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description of the Issue
The Go To... window for jumping to a line or position is "modeless" and can remain open while the editing of a document is taking place. However, its information doesn't update as the user navigates the document.
Steps to Reproduce the Issue
- Open the Go To... window by pressing Ctrl+g; observe:

- Move input focus back to an editing tab (don't close the Go To... window!)
- Do some editing and/or caret navigation in the document tab
Expected Behavior
Since Go To... was left open, I expect its information to update to reflect the current state.
Actual Behavior
Go To... window remains static, presenting old information from the time it was invoked.
Additional
Current "line" data is maintained on the N++ main status bar:

If PR #8780 is adopted, perhaps this issue becomes moot as it will cause a display of "offset" ("position") on the status bar as well. If this happens, perhaps the Go To... window should be made "modal" as it has no value in being modeless.
Debug Information
Notepad++ v7.8.9 (32-bit)
Build time : Jul 15 2020 - 20:26:50
Path : C:\...............\npp.7.8.9.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1339
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with Ctrl+g, leaving the Go To... window open, then editing or moving the caret in the document. Trace the Go To... window's update path and the existing main status-bar line data; done means its displayed information reflects the document's current state while it remains open.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100