chia-blockchain-gui
chia-blockchain-gui copied to clipboard
[Bug] Sometimes the GUI can't display non-standard unicode characters
What happened?
I have an NFT that has Zalgo text in it's name on mainnet - NFT ID: nft10t04c0yzz8k3c23rnqafhmwsng6zn3qkgnp98rndgcda8n0u9lss5uxnyc Meta Name:
"name": "Ohnmy GODD!",
(github won't render the zalgo in comments)
Meta URI: https://gist.githubusercontent.com/wallentx/56419164de254a3ab5efb1db1df5f276/raw/04a18a141983cbd3d6893aea3eb899f4be510ace/nft-meta.json
I did this intentionally to see if it would break stuff. It only breaks stuff SOMETIMES. For whatever reason, the GUI fails to render the text at random, maybe about 30-40% of the time.
When I click the NFT tab on the left, the GUI will sometimes stretch out my NFTs super wide when it fails to render the Zalgo text.
Loading fine:
Messed up:
Version
1.3.6758
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output
JS Selector path:
document.querySelector("#root > div > div.sc-hKwDye.vhcVc.LayoutDashboard__StyledBody-sc-1nay716-3.kEvrAS > div.sc-hKwDye.ciNAva > div > div > div.sc-iqseJM.LayoutDashboardSub__StyledContent-sc-1srf8a1-3.kdJGvt.MuiBox-root > div > div:nth-child(2) > div > div > div > button:nth-child(2) > div > div > div.sc-hKwDye.jZAkJc > p")
Contents of div when it is working: Element HTML:
<p class="sc-crHmcD neAzV MuiTypography-root MuiTypography-body1 MuiTypography-noWrap">Ohnmy GODD!</p>
Contents of div when it is messed up: Element HTML:
<p class="sc-crHmcD neAzV MuiTypography-root MuiTypography-body1 MuiTypography-noWrap">O̸ÌÌÍÌÍÌ¿ÍÌ¿Ì̹Ì̤̦Ị̯̯̀ÍÌ ÌÌÌÌ¥ÌỊ̡̨́Ì̧̩̼̰ÌÌ Ì¬Ì¯Ì¯Ì»ÌºÍÍÍh̶ÌÍÍÌÌÌÌÌÍÌÍÍÌ
ÍÌÌÌÌÌÍÌÍÌÌ̬Ì̺ÍÌÌ«ÌÌÌÍ̢̳Í̼̫Ì̲̱ÌÌÌ®Ì̧̲̱̪ÌÌÌÌÌÌ̡̱̮̩Į̨́ÍÍÌÍ̳ÌÍÍ̳̫Ì̻̣̳̥Í̯Ì̡̡̱̺Ì̯Į̫̺́Í
n̶ÍÍÌÌÌÍÍÌÌÌ̽ÌÍÍÍÍÌÍÌÍÌÍÌÍÍÌ¿ÍÍÌÍÌÌÍÍ̱ÌÌ̧̤ÌÌÍÍÍÍ̲Ì̬ÌÍÌÍÍ̧̬ÍÍ̪̦Ì̧̺̰Í̧̩̻ÌÍ
̲ÌḬ̢̯̮̦́ÍÌm̵̽ÌÌÌÍ ÌÍÌ
ÌÌ
ÌÍÌÍÌÌÍÍÌÌÌÌ£Ì Ì¥ÍÍ̺Í̢̪̪ÌÍ̱ÍÌ£ÍĮ̲̩̀ÌÌºÌ Ì³ÍÌÌÍÍ̬ÍÍÌÌÌ̥̹̼ÌÍ̡̡̪̹̰̤̹ÍÍ̹̹ÌÌÍ̬y̵ÍÌÌÍÌÌÌÌÌÍÍÍÍÍÍÌÍÌÌÌÌÌÍÌÍÌ
ÌÍ̽Í̾ÍÍÌ̽ÌÌÍÌÍÍÍÌÌÌÍÌ¿ÍÌÍÌÍÍÍÌ̧ÍÍÌÌ̳̯ÍÌ̢̻ÌÍÌ¥Í
Ḭ̢̧̫̣̀ÌÍÌÍÍÍÌ¥ÌÌ̤ÍÌÌÌÍ̧̨̫̻ÌÌ¯Ì¦Ì¬Í ÌµÌ½ÌÍÌÌÌÍÌÍÍÌÌÌÌÌÍÌÌÍÌÌÌÍÍÍÌÍÍÌÍ ÍÍÍÌÌÌÍÍÍÌÌ¡ÌÍÌÌ Ì§ÌÌG̶ÍÍÍÍÍÌ̽ÍÌÌÍÌÍÌÌÌ
ÍÍ̽ÌÍÌÌÌÌÍ ÌÍ̬̮̾ÌÍ
̲̺ÌÌÍÌÌ Ì«Í̮̼ÍÌ©Ì ÌªÌ¤ÍÍÌÍ̡̱̰ÍÌ¯Ì Ì¹Į̯́ÍÌ°Í
Ì Ì¥ÍÌÌÍÌÍÍ̱ÍÌÌ̯̥OÌ·ÍÍ Ì
ÍÌÍÍÌÌÍÌÌÍÌÌÍÌÌÍ̽Ì
ÌÌÌÌÌÌÌÌÍÌÌÍÌÍ̽ÍÌÌÌÍÍÌÌÌÌÌÍÍ̽ÍÌÌÌ
ÍÍÌ̽ÍÌÌÌ̽ÌÌÌÍÍÍÌÍÌÌ¿ÌÌ̡̱̲̰Í̬̦Í̼ÍÌÍÌ®ÌĮ̀ÌÌÍÌ ÌÌ Ì»ÌÍÍ
Ì©Ì̧̧̪̪Í
Ì©Í̤ÍÍÍ̡̬̣Í̧DÌ´ÌÍÍÌÌÍÌÌ̽Ì
ÍÍÌ̽ÌÍÍÍÌ
ÌÍÌÌÌÍÌÌÌÍÌÌ
ÌÌÌÍÍÌÍÌÌÍÍÌÌÌÍÌÍÍÌ
ÍÌ¿ÍÍÍÍÍÍÌÍÍÌÍÌ°ÍÌ«Ì¥ÍỊ̢̮̀ÍÍÌ¯Ì²Ì¢Ì Ì¨Í̱Í̼ÍÌ®ÌÌ ÌÌ̡̬̼Í̡̧ÍÌÍÍÌ̡̩̥̺̻̮̩ÍÌ®Į̥́ÍÌỊ̡́Í̦̦D̵ÍÍÌÍÍ Ì½ÍÍÌÌ¿ÌÍÌÍÌÍÌÌÍÍÌÍÌÌÌÌ̾ÌÍÌÌÍ ÌÌÌÌÌ
̽ÍÌÍÌÌÌ¾Í Í̾ÌÍÌÍÍÌ£ÌÌ̮̱̯ÍÍ̦ÌÍÌ ÌªÍÌÌÍÍÌ»!̵ÌÌÍÌÌÍÍ ÍÍÍÌ£ÌÌ¥Ì̬̬Į̰́ÍÍ̺̳ÌÍ
̮̩ÍĮ̪̬̣̀ÍÌÍÍÌÍ̪ÌĮ̪́ÍÍ</p>
It's not just Zalgo text. It's emojis, and other non-standard unicode characters:
This is a chia-blockchain-gui issue isn't it? Can you transfer the issue to that repo
This should be fixed in 1.5.1