Opened 14 years ago

Closed 14 years ago

#616 closed bug (fixed)

[Tracker] Find window have white box

Reported by: diver Owned by: jackburton
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by jackburton)

To reproduce it open Find window and click on arrow left to catalog icon and then click it again, screenshot will follow. Tested under vmware with hrev17519.

Attachments (1)

tracker_find.PNG (5.2 KB ) - added by diver 14 years ago.
Find window

Download all attachments as: .zip

Change History (10)

comment:1 by diver, 14 years ago

op_sys: AllHaiku

comment:2 by diver, 14 years ago

Also if you open any file via get info from tracker and then press Alt+e to edit and then press Esc background will became white too.

by diver, 14 years ago

Attachment: tracker_find.PNG added

Find window

comment:3 by jackburton, 14 years ago

This sounds like a problem of missing invalidatation. BTextView calls FillRect() with the view color on Draw() when Autoresizing mode is enabled. What happens is that the view which then covers the BTextView/BTextControl doesn't get invalidated, and so it doesnt' cover the rect previously filled by the BTextView.

comment:4 by jackburton, 14 years ago

This is the same problem (I think) which happens when replicants are deleted, and the background isn't resttored till the are is triggered for invalidation. I had a look at ViewLayer::RemoveChild(ViewLayer* layer) and it seems we don't invalidate the parent view when a View is detached. Maybe we should.

comment:5 by axeld, 14 years ago

Maybe you like to have a look at it, Stephan? :-)

comment:6 by axeld, 14 years ago

Owner: changed from axeld to stippi

comment:7 by jackburton, 14 years ago

Description: modified (diff)
Owner: changed from stippi to jackburton
Platform: All

comment:8 by jackburton, 14 years ago

Status: newassigned

comment:9 by jackburton, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev18607

Note: See TracTickets for help on using tickets.