-
-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kitty image protocol fails to delete images after resize by placement id #2422
Comments
If you need more info on this please let me know |
This should be resolved now in It typically takes about an hour before commits are available as nightly builds for all platforms. Linux builds are the fastest to build and are often available within about 20 minutes. Windows and macOS builds take a bit longer. Please take a few moments to try out the fix and let me know how that works out. You can find the nightly downloads for your system in the wezterm installation docs. If you prefer to use packages provided by your distribution or package manager of choice and don't want to replace that with a nightly download, keep in mind that you can download portable packages (eg: a If you are eager and can build from source then you may be able to try this out more quickly. |
Hi @wez! I have just tried
But it must be some kind of race condition, my application on resize deletes all images by placement_id but some of them are not being deleted and remain floating, until full screen is cleared. |
my bad, while running the tests I didn't realize this one needed resizing wezterm to surface the issue, for some reason I thought it was about resizing with the parameters as the rest of the issues. I've tested this one again and the issue still persists. |
I've been checking this issue again and I have some findings. I have a fix for this particular issue, but it is more of a "hack" as it does not address the underlying issue of the pane geometry making the line indexes stale after geometry changes. In summary the problem is that the |
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
Reproducible on X and Wayland with any window manager, tested on:
WezTerm version
20220814-222723-f2ee48bd
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Deleting image by placement id via kitty protocol
\x1b_Ga=d,d=i,i={image_id},p={placement_id}\x1b\\
right after resize (this is done in response toSIGWINCH
to redraw the screen) leaves them behind sometimes. Looking atkitty_remove_placement
it looks likeplacement_id
is resolved to coordinates which might change after resize?To Reproduce
I do not have small reproducible example, I have a program that renders scalable graphic icons and displays them as glyphs when I resize it leaves some glyphs behind
Broken output (images left behind)
How it looks on kitty
Configuration
Expected Behavior
Image should be deleted by its
(id, placement_id)
on delete command even after resizeLogs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: