-
Notifications
You must be signed in to change notification settings - Fork 63
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
Rendering glitches when switching tabs #366
Comments
Thanks for reporting and tracking down the commit. I'm surprised that this started with 33df77e, I don't see anything in that commit that could cause something like this. Is it possible for you to give instructions to replicate the problem? I reverted that commit in branch |
Everything works fine on the revert branch. This shows that the specific commit is the source of the problem. Terminal emulator: Alacritty Steps to Reproduce:
Expected behaviour: Actual behaviour: I was not able to reproduce this bug without running the backlog command on ZNC. Edit: You need to set up a ZNC instance with the backlog plugin enabled, and you must connect it to at least one channel in order to test out this bug with these instructions. There might be another way to reproduce this bug, I might look into the raw data output to see what special characters might be causing this to happen. |
Thanks for the details. I installed ZNC, installed backlog plugin, connected to irc.oftc.net #tiny, and tried your commands. Probably because I don't have any backlog, it doesn't cause any problems. I also tried the same thing in alacritty instead of my default terminal. Just to understand this better, So you need to create the backlog channel, but don't need to switch to it? In the screenshot you don't have a I think we should be able to debug this using tiny debug logs. Could you please try these and share the results?
Now if you look at |
alt-3 is the first channel I am connected to in the server. If I don't fetch the backlog, everything seems to be fine.(?) Haven't seen what happens if I let the screen fill with text naturally. The reason I didn't have a backlog tab in the screenshot is because, usually I call an alias for the backlog command, and when I do so it doesn't open the *backlog plugin chat buffer. This is what I got for the logs. I edited all the messages to remove the text and names. I didn't find any strange control characters or anything. I don't see anything that could help in the logs. |
Thanks @alxgnon, I figured it out from the log file you shared: it's the new line characters znc backlog plugin is sending. Interestingly, when I tried it it didn't add new line to the end of the messages. Maybe because they fixed it? I installed it from the source (current master branch). Could you please try the branch |
@alxgnon just pushed one more commit -- I forgot to remove a debug print in the previous version. |
Works! |
Fix is now in master :-) |
When switching tabs, I get visual glitches that stick around until I resize the window.
I've tracked down the specific commit where this issue appeared. This issue has appeared since 33df77e .
The text was updated successfully, but these errors were encountered: