Re:Advice for the next 100 Rust GUIs
by foldr on Sunday November 22, 2026 @05:41AM
(#50598308)
The commit message seems fine. The bug is the following. Because boxes are rounded edge-by-edge, a box can end up with a zero size (and hence be invisible) if its dimensions are smaller than a pixel. If the box is solid, then it should display as a single device pixel in this case. That's what the bug fix accomplishes.
As for whether bugs like this could have been prevented in the first place, this seems squarely in the category of the kind of bug that humans are capable of introducing.
As for whether bugs like this could have been prevented in the first place, this seems squarely in the category of the kind of bug that humans are capable of introducing.