message history randomly flickers/disappears
Description
seems to be a rendering issue since opentui rewrite where occasionally messages become invisible, scrolling up and down doesn't reveal them, and resizing doesnt properly redraw them
OpenCode version
v1.0.19
Steps to reproduce
it is hard to directly replicate, but seems to happen in nearly every long-running session
Screenshot and/or share link
No response
Operating System
arch linux
Terminal
lxterminal
This issue might be a duplicate of existing issues. Please check:
- #3719: [navigating away from an active session causes it to flicker/be blank when returning to it] - Very similar flickering/blank session behavior
- #3669: [Unable to Load Old Sessions] - Session history flashing and disappearing issue
- #3697: [Missing main view text when resizing] - Text disappearing after window resize events
- #3776: [Screen becomes completely blank] - Similar blank screen rendering issue
Feel free to ignore if none of these address your specific case.
I think this is gonna be fixed in 1.0.21
Still happens to me on 1.0.23. :(
I found a workaround: Ctrl+P then Jump to message, or just Ctrl+X G.
This still happens on 1.0.25 as well
Partial 'hacky' fix to get back the messages is to trigger the "jump to message" action since it forces render
Partial 'hacky' fix to get back the messages is to trigger the "jump to message" action since it forces render
Yeh it's the only way i can use it right now lol
How do you guys use the workaround without pressing esc, reverting code or forking? I want to keep the actions going, not terminate them.
I actually switched to selecting /theme.
Is this still happening on the latest version 1.0.35?
Is this still happening on the latest version 1.0.35?
Yes, I am still seeing bad performance, rendering problems, and bun crashes for sessions with a long message history with version 1.0.35.
Could you share one such session that causes the issues? Are you also on linux?
@kommander what do I use to share one with you?
Also, wild guess: could it be a bug in the progress bar / scrolling implementation? Something that adds a lot of blank space and the actual log is above?
You can use /share and give the URL, if you don't want to have it public DM me on discord or twitter
The problem is that the scrollbox has culling, but the culling is calculated before the children are updated by the layout. I thought I mitigated that, going to fix that properly tonight.
Should be better in the upcoming version.
I haven't noticed this in a while, even on [some really] long sessions, so I'm gonna close it