Problem: In the GUI a popup image is drawn even when the popup is
hidden, and hiding a popup leaves part of the image on the
screen.
Solution: Skip hidden popups when repainting images after the cursor is
undrawn or the window is exposed. Redraw the area the image
covered when the popup is hidden or closed, also for the GDI
backend.
fixes: #20796
Note: Automated tests are impossible due to the GUI render path. Verified on actual Windows gVim using the issue's reproduction steps.
https://github.com/vim/vim/pull/20798
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Unrelated note, the popup image feature can likely be tested on GTK4, since there are utilities designed for pixel perfect visual UI testing (gtk4-rendernode-tool). That will cover the common logic for GTK4 and Kitty graphics protocol. However sixel, GTK3, and GDI (which blit onto a surface) won't be covered. Not sure if GDI or GTK3 has any way to compare the drawing area with a premade image however...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Thanks. This bug is specific to MS-Windows; regarding the issue where the rendering in the area without rows wouldn't disappear upon calling popup_close(), I modified the code to promote the existing Cairo-specific function to a shared function used by both Cairo and GDI.
I don't think this affects GDK4.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()