Opened 18 years ago

Last modified 18 years ago

#616 closed bug

[Tracker] Find window have white box — at Version 7

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.

Change History (8)

comment:1 by diver, 18 years ago

op_sys: AllHaiku

comment:2 by diver, 18 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, 18 years ago

Attachment: tracker_find.PNG added

Find window

comment:3 by jackburton, 18 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, 18 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, 18 years ago

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

comment:6 by axeld, 18 years ago

Owner: changed from axeld to stippi

comment:7 by jackburton, 18 years ago

Description: modified (diff)
Owner: changed from stippi to jackburton
Platform: All
Note: See TracTickets for help on using tickets.