This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Click the + button on a UML diagram repeatedly. You get zoom increments 110%, 121%, 133.1%, 146.41%, 161.05%, 177.16%. My guess is this is supposed to be percentages, but it's not being done with integer math (hint: multiply the int percentage, do the math on the multiple, then int-divide it back down).
why do you think it's error?
Take Adobe Acrobat or any other application that has a zoom button. They typically zoom in increments of 10%. Round numbers are easily understandable to users, and the additional precision adds no useful information, just confusion (i.e. nobody ever said "Man, I want to zoom this thing in to 161.05%!" Furthermore, it's obvious that whoever wrote this code was *trying* for 10% increments, they just didn't use integer math to compute them.
as I understand it's not "+10%", it's "*1.1" on each step, but yes it may have sense to round "big" percents, but not small one as for another tools, I tried acrobat reader and it goes through some unique sequence of zoom levels, like 100,125,150,200,300,400... (seems to be predefined, not calculated) and 75, 66.67,... to lower side
Well, 66.67 is 2/3rds, people are familiar with that. 177.16% and 146.41% on the other hand...
this is no longer reproducible in 6.5.
verified in 6.5 build 20080622.