#5468: Draw() can overtake FrameResized()
----------------------------------+----------------------------
Reporter: bonefish | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Kits/Interface Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+----------------------------
Comment (by axeld):
The view bounds are updated synchronously, while `FrameResized()` (and
`Draw()`) are called asynchronously via messages. The app_server can issue
a drawing update at any time, so the behavior is actually to be expected.
Of course, it would be possible to change the implementation in a way that
`FrameResized()` is always called before `Draw()`. I'm just not sure if
it's worth the hassle. Opinions welcome. In any case, if the current
behavior is not changed, it should at least be documented.
--
Ticket URL: <https://dev.haiku-os.org/ticket/5468#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.