Ticket #1313 (new defect)

Opened 8 years ago

Last modified 8 years ago

Pencil tool not working at extremes

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b8-analysis
Component: Tools Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1457

Description (last modified by bdezonia) (diff)

Make a new 1-bit 5x5 image filled with 0.
Set Options > Channels fg to 1 and bg to 0.
Zoom up on the 5x5 image so that it fills a decent part of screen (32X is fine).
Select the pencil tool (and then right click on tool to verify width == 1)
Draw with tool.
Nothing is drawn.

(This might just be a drawing in binary error due to truncing. Or it could be an off by some pixels due to zoomed up and bad coord calx. Not sure.)

Change History

comment:1 Changed 8 years ago by bdezonia

  • Description modified (diff)

comment:2 Changed 8 years ago by bdezonia

Later testing: cannot duplicate situation where nothing is drawn. But somehow the fg & bg both reported being set to 0 when in fact they had been set to 1 and 0. Lurking bug?

Once that was straightened out drawing happens but can't reach border pixels. And drawing happens one row lower than mouse location.

Last edited 8 years ago by bdezonia (previous) (diff)

comment:3 Changed 8 years ago by bdezonia

  • Blocking 1345 added

comment:4 Changed 8 years ago by bdezonia

  • Blocking 1457 added; 1345 removed
  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:5 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta6 to imagej-2.0.0-beta7
Note: See TracTickets for help on using tickets.