chat render bare asterisk
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
Keybase has a weird display bug on Windows and android clients. the following string contains 3 x-s and 2 asterisks, "x * x * x," but Keybase is only visibly displaying the x-s, but if you copy this text and paste it somewhere else, the asterisks are on the clipboard. where an asterisk is adjacent to something, it's displayed just fine: x* x*x *x
steps to reproduce
1. type the following string into a chat session without quotes: "* x* * x*x * *x *"
2. observe the following is displayed: " x xx x *"
3. observe what is displayed is not what was pasted
4. copy the displayed chat to the clipboard
5. paste into another application that accepts text
6. observe that the original string was pasted
tested with other printable ascii chars, and seems to only be an issue with the asterisk:
Dec Char Bare
32-
33-! !
34-" "
35-# #
36-$ $
37-% %
38-& &
39-' '
40-( (
41-) )
42-* *
43-+ +
44-, ,
45-- -
46-. .
47-/ /
48-0 0
49-1 1
50-2 2
51-3 3
52-4 4
53-5 5
54-6 6
55-7 7
56-8 8
57-9 9
58-: :
59-; ;
60-< <
61-= =
62-> >
63-? ?
etc.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the asterisk rendering mismatch in a chat session on the affected Windows or Android client, then trace the chat message rendering entry point. Compare the visible text with copied clipboard text and add a regression test for bare and adjacent asterisks; done means both representations preserve the original string.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100