[vim/vim] MS-Windows GUI: window contents can be missing when VimEnter is slow (PR #20858)
h_east (Vim Github Repository) <[email protected]> Mon, 27 Jul 2026 12:07:14 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/pull/[email protected]> |
```
Problem: On MS-Windows the text area can stay undrawn while a slow VimEnter
autocommand runs, so the window shows what was on the screen behind
it. Whether this happens depends on when the first paint message
arrives.
Solution: Draw the text area when the window is opened, instead of waiting for
the message loop.
```
related: #20807
You can view, comment on, or merge this pull request online at:
https://github.com/vim/vim/pull/20858
-- Commit Summary --
* MS-Windows GUI: window contents can be missing when VimEnter is slow
-- File Changes --
M src/gui_w32.c (10)
-- Patch Links --
https://github.com/vim/vim/pull/20858.patch
https://github.com/vim/vim/pull/20858.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/20858
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/pull/[email protected]>
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/20858%40github.com.