Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2102 closed bug (fixed)

Unarchived BBox doesn't draw its label

Reported by: shinta Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

Unarchived BBox doesn't draw its label. It draws dirty line. See the screenshot.

Haiku: hrev25042 (patched #2099 fStyle initializing) SHINTA

Attachments (2)

UnarchivedBBox.png (1.1 KB ) - added by shinta 16 years ago.
TestBox.zip (32.8 KB ) - added by shinta 16 years ago.

Download all attachments as: .zip

Change History (7)

by shinta, 16 years ago

Attachment: UnarchivedBBox.png added

comment:1 by shinta, 16 years ago

It seems to be caused by BFont::SetShear()'s bug.

SetShear()'s argument is within the range 45.0 to 135.0 by Be Book. If the argument is out of range, the argument is adjusted. But, SetShear() doesn't seem to adjust the argument when the argument is -1.

Source code for adjusting SetShear()'s argument isn't found in Font.cpp. Sorry, but, I can't correct this bug.

comment:2 by korli, 16 years ago

Could you please provide your testcase application ?

by shinta, 16 years ago

Attachment: TestBox.zip added

comment:3 by shinta, 16 years ago

I uploaded TextBox.zip. Please place "Box.rsrc" to /boot/home and run the test app, then click the button.

comment:4 by korli, 16 years ago

Resolution: fixed
Status: newclosed

Should be fixed in hrev25220

comment:5 by shinta, 16 years ago

Thanks.

Note: See TracTickets for help on using tickets.