Opened 11 years ago

Last modified 8 years ago

#10908 assigned bug

[HaikuDepot] separator cause invalid drawing state

Reported by: diver Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

hrev47323.

Moving separator beneath the package list up and down several times results in a weird drawing state, where the top part of the package list moves down or behind the filter view. The same happens to the bottom part of text view with email and url of a package.

To reproduce select ale package and move the separator all the way up and then down 5-20 times.

Attachments (1)

haikudepot.png (80.2 KB ) - added by diver 11 years ago.

Download all attachments as: .zip

Change History (5)

by diver, 11 years ago

Attachment: haikudepot.png added

comment:1 by diver, 11 years ago

Description: modified (diff)

comment:2 by diver, 11 years ago

Description: modified (diff)

comment:3 by stippi, 10 years ago

Component: Applications/HaikuDepotKits/Interface Kit
Owner: changed from stippi to axeld

I am relatively sure that this should be a problem in the splitter code. I can reproduce it easily and it seems the problem depends on the specific way in which I drag the splitter. If I drag it up very quickly, it seems to be more easy to reproduce. The problem fixes itself when I release the mouse from dragging the splitter. I suspect that the splitter relies on a valid layout when it receives a mouse drag event and doesn't deal correctly with the situation when it receives multiple mouse events in between layout validations.

comment:4 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.