#15645: Blinking background under the mouse cursor
----------------------------------+----------------------------
Reporter: miqlas | Owner: X512
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: Servers/app_server | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: x86-64
----------------------------------+----------------------------
Comment (by X512):
Artifacts caused by moving cursor are present in Haiku for a long time
since introducing screen double buffer. It caused by flushing back buffer
at cursor location when it is not ready. There is no easy fix, but I have
some ideas such as make additional buffer for every overlay layer objects
(cursor and drag&drop contents).
Views that use backbuffer BBitmap and SetViewColor(B_TRANSPARENT_COLOR)
like Koder and Qt applications were not affected by this, but after
hrev53713 it are affected. Before hrev53713 only bitmap was painted on
update so no flickering even if backbuffer was flushed early, but now
background and then bitmap is painted. Fixing this require introducing
some new API to distinguish transparent view and disabling background
drawing.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15645#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.