notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

Sluggishness when active, but fast when not as active window.

Open
#12,522 0 comments 0 reactions 0 assignees View on GitHub

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
  1. Open a very long lines of code
  2. Open it as active window, no other window on top of that
  3. Scroll your cursor using mouse.
  4. Try open Task Manager on top of it
  5. Try scrolling again without making Notepad++ to foreground
  6. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.