Elektrine lite

← Feed

@nikitonsky@mastodon.online

Post #3671566

2026-07-08 08:33 UTC

Jira patch viewer already was my favorite thing (page marging! page breaks!) but today I looked under the hood and it is even more hilarious. Apparently patches are rendered as SVG (!!! for text!), and at what appears to be 1/4 of screen resolution somehow, and then scaled up with nearest neighbor. On top of that all, text selection/copy-paste doesn’t work. Thank god it’s staying ahead of times with AI

Replies (3)

  • @volpeon@icy.wyvern.rip 2026-07-08 08:44

    @nikitonsky@mastodon.online It's even worse, the SVG exists purely to handle the text selection, and what's displayed on top of it is a dynamically generated raster graphic put into an img tag. That's also why there's the weird copy-paste discrepancy, because both don't line up. This is amazing, it's like they had a challenge to implement this in the most complicated and unreliable way possible. ​:neofox_googly_shocked:​

    Open ##3763365

  • @joakimfors@mastodon.green 2026-07-08 14:08

    @nikitonsky@mastodon.online What the hell is this even?!?!?!?! Guess I'm lucky I've almost completely managed to avoid JIRA

    Open ##4198434

  • @mo@mastodon.ml 2026-07-12 17:33

    @nikitonsky@mastodon.online in the «most overengineered way to render plain text» competition they would at least got some prize, if not a total win

    Open ##4198435