Opened 5 years ago

Last modified 2 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:
Has a Patch: no Platform: All

Description (last modified by diver)


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 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by diver

Attachment: haikudepot.png added

comment:1 Changed 5 years ago by diver

Description: modified (diff)

comment:2 Changed 5 years ago by diver

Description: modified (diff)

comment:3 Changed 4 years ago by stippi

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 Changed 2 years ago by axeld

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