notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Sluggishness when active, but fast when not as active window.
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
When I opened a very long lines of code, I experience sluggishness when it is as active window.
But when I scroll Notepad++ as background window, it fast.
Steps to Reproduce the Issue
- Open a very long lines of code
- Open it as active window, no other window on top of that
- Scroll your cursor using mouse.
- Try open Task Manager on top of it
- Try scrolling again without making Notepad++ to foreground
- it really fast.
Expected Behavior
Keep fast.
Actual Behavior
Slow when scrolling.
Debug Information
Notepad++ v8.4.6 (64-bit)
Build time : Sep 25 2022 - 19:51:39
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 (64-bit)
OS Version : 21H2
OS Build : 22000.1219
Current ANSI codepage : 1252
Plugins :
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)
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 scrolling comparison with a very long line while Notepad++ is foregrounded and while Task Manager is on top, using the reported Notepad++ and Windows versions. Compare the behavior and gather the missing diagnostics needed to identify the responsible code; done means active-window scrolling is no longer sluggish.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100