notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[BUG] <Text window within NPP not visually updating on second screen>
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
I've recently begun using a new laptop and downloaded a new copy of NPP, so it's possible this is a laptop configuration issue I've not run across yet. However, this is the only program so far where I've run across this issue.
One my primary screen (built-in) NPP functions as desired. However, when I attempt to move it to my second screen, the text window of NPP stop visually updating. I can move the cursor type new text, but no visual updates occur within the window. I can confirm that the inputs are being read because the information bar at the bottom of the window updates with position, even on the second monitor. I can use the menu bar and update settings, I can even get the text auto-complete suggestion pop-ups. I just can't get visual updates in the actual text body of the window.
Steps To Reproduce
- Open NPP
- Drag NPP window to second monitor (extend mode)
- attempt to type in new window
Current Behavior
visually frozen text window with no cursor or text updates. Inputs are being read correctly as observed when returning to the primary screen
Expected Behavior
modified text and cursor position to visually update within the text body
Debug Information
Notepad++ v8.6.9 (64-bit)
Build time : Jul 12 2024 - 05:09:25
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Home (64-bit)
OS Version : 23H2
OS Build : 22631.3880
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
Anything else?
Additional System info:
CPU: Intel i7-14700HX
GPU: GeForce RTX 4070
Driver Version: 31.0.15.4692
https://github.com/user-attachments/assets/eb029bd6-1137-4eb9-828b-054f47c19a73
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
No source file or test is named. First reproduce the issue on Windows 11 with Notepad++ moved to an extended second monitor, then trace the desktop text-rendering and repaint path. Done means the text body and cursor visibly update while typing on the second screen without breaking the reported status-bar and autocomplete behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100