MUI - Migration to original grepWin Portable, update divers scripts and cleanup#5642
Merged
hpwamr merged 8 commits intorizonesoft:masterfrom Apr 10, 2026
Merged
MUI - Migration to original grepWin Portable, update divers scripts and cleanup#5642hpwamr merged 8 commits intorizonesoft:masterfrom
hpwamr merged 8 commits intorizonesoft:masterfrom
Conversation
Addresses reported flickering and rendering problems on ARM64 devices running Windows 11 25H2 by implementing ARM64-specific rendering defaults, build configuration fixes, and redraw optimizations. Rendering fixes: - Default to SC_TECHNOLOGY_DIRECTWRITERETAIN on ARM64 to preserve back buffer between frames, avoiding blank flashes with Qualcomm Adreno GPUs and Win11 25H2 DWM compositor changes - Wrap MsgThemeChanged() in WM_SETREDRAW FALSE/TRUE to suppress N intermediate repaints during heavy theme/DPI transitions - Add WS_EX_COMPOSITED to main window on ARM64 for system-level double-buffering - Remove RDW_ERASE from DarkMode ListView/TreeView RedrawWindow() calls to avoid background erase flash during theme changes Build configuration fixes: - Add _WIN64 preprocessor define to Scintilla, SciLexer, Lexilla ARM64 configurations (was missing, could cause 32-bit code paths) - Add TargetMachine=MachineARM64 to all ARM64 linker sections across Notepad3, Scintilla, SciLexer, Lexilla projects - Add CETCompat=false to Scintilla and SciLexer ARM64 configurations (CET is x86/x64 only, not compatible with ARM64) Platform code improvements: - Add _M_ARM64 detection for GrepWin binary selection (ARM64 was silently mapped to x64 binary via _WIN64 check) - Add NP3_BUILD_ARM64 helper macro in TypeDefs.h for future ARM64-specific code paths - Document RenderingTechnology setting in Build/Notepad3.ini with per-resolution override syntax and ARM64 troubleshooting tips Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add comprehensive ARM64 section to both CLAUDE.md and copilot-instructions.md covering: - Architecture detection (_M_ARM64 vs _WIN64 distinction) - NP3_BUILD_ARM64 helper macro in TypeDefs.h - ARM64 rendering defaults (DirectWriteRetain, WS_EX_COMPOSITED) - ARM64 build config requirements (CETCompat, TargetMachine, _WIN64) - GrepWin x64 emulation on ARM64 - Theme change flickering prevention (WM_SETREDRAW lock) - ARM 32-bit not supported (solution config maps to Win32) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fix: try to fix flickering issue
…M_Flickering Revert "fix: try to fix flickering issue"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.