-
-
Notifications
You must be signed in to change notification settings - Fork 257
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 issue regarding zero width joiners #1554
Comments
Does this occur with the light blue color, or rather with a specific emoji, or channel/stream or topic which may have one in their name? If so, this could be related to #333. |
Re the About popup, briefly:
It would be good to get to the bottom of this if possible - particularly since Depending how you installed ZT, you can edit the keys config file in the source to try another key in the mean time. |
Ah, I think you might be onto something! All the light blues are from the same channel, and it does have emojis in its name, which don't render with the font I'm using (or any other fonts I tried while diagnosing this bug) Looking in the web UI, that emoji is 🧑💻, which is one of those combo emojis with a zero width joiner, specifically: 🧑 Person, Zero Width Joiner and 💻 Laptop. It's likely the Zero Width Joiner causing problems here? |
I should definitely have been more specific: I'm using |
So I bit the bullet to just render real emojis in my terminal, but the issue persists: My best guess is that the calculation of "how many characters have we rendered in this row" is off by one because of the Zero Width Joiner. I'd be happy to try and contribute a patch here with some pointers as to where to look. |
Bug description
Occasionally, a single vertical pane will be out of place in the UI. While writing this bug, I just realized that it seems to correlate 1:1 with the light blue color being used somewhere on that horizontal line. Specifically, the first time that shade of blue shows up on a line, everything to the right will have this 1 column shift.
** Between the left panel and the center **
** On the left edge of the help menu **
** The one next to the blue horizontal line scrolls as the center pane moves, the others are generally fixed (because they come from something on the left side of the page **
How is the bug triggered?
How can you reproduce the bug?
zulip-term
It occurs on every stock theme (they all use the same blue highlight) and in both Alacritty and xterm. This happens in both 256-color mode and 24-bit mode
What did you expect to happen?
Uninterrupted vertical lines.
How are you running the application?
Please include as many of the following as possible:
[d88adae](https://github.com/zulip/zulip-terminal/commit/d88adaeb21f76182970e076693f397abe2c715f3)
) as of this writingIf possible, please provide details from the
About
menu: (hotkey: Meta + ?)(this can provide some of the details above)
This is probably for a separate bug report, but I can't open the About menu. Meta + m works for markdown, but neither of
Meta + /
andMeta + Shift + /
trigger the About page for me.The text was updated successfully, but these errors were encountered: