Skip to content

Avoid redrawing background shadow on progress message updates#3299

Open
YuryChaikou-ServiceNow wants to merge 1 commit into
elfmz:masterfrom
YuryChaikou-ServiceNow:scratch/yc7
Open

Avoid redrawing background shadow on progress message updates#3299
YuryChaikou-ServiceNow wants to merge 1 commit into
elfmz:masterfrom
YuryChaikou-ServiceNow:scratch/yc7

Conversation

@YuryChaikou-ServiceNow

@YuryChaikou-ServiceNow YuryChaikou-ServiceNow commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Use MSG_KEEPBACKGROUND on subsequent progress Message() calls to
prevent re-darkening the background on every update. This fixes
visible flicker during:

  • Directory size calculation (F3)
  • Editor file loading (F4 on large files)
  • Editor file saving
  • Editor search with progress bar
  • Panel directory reading progress

Track whether progress message has been shown with a bool flag
in each loop, pass MSG_KEEPBACKGROUND on second and subsequent
calls. PreRedraw callbacks are left unchanged (flags=0) since
they run after full screen repaint where the popup must be fully
redrawn including border and shadow.

@YuryChaikou-ServiceNow YuryChaikou-ServiceNow force-pushed the scratch/yc7 branch 2 times, most recently from 8c6db93 to b1ae463 Compare March 11, 2026 04:47
Use MSG_KEEPBACKGROUND on subsequent progress Message() calls to
prevent re-darkening the background on every update. This fixes
visible flicker during:
- Directory size calculation (F3)
- Editor file loading (F4 on large files)
- Editor file saving
- Editor search with progress bar
- Panel directory reading progress

Track whether progress message has been shown with a bool flag
in each loop, pass MSG_KEEPBACKGROUND on second and subsequent
calls. PreRedraw callbacks are left unchanged (flags=0) since
they run after full screen repaint where the popup must be fully
redrawn including border and shadow.
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

Successfully merging this pull request may close these issues.

1 participant