https://bugs.kde.org/show_bug.cgi?id=378144

            Bug ID: 378144
           Summary: Hiding mouse cursor leads to black flash
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: subd...@gmail.com
  Target Milestone: ---

Open Kate, move mouse cursor in text area. After short pause the cursor hides
(as intended), i.e. DrmOutput::hideCursor() is called. Bug: A quick black flash
appears from bottom till cursor position.

My guess is, that calling drmModeSetCursor(m_backend->fd(), m_crtc->id(), 0, 0,
0) in between presents is the cause.

We could:
* Try to synchronize it with present (difficult in legacy mode, possible in AMS
after we introduced a cursor plane instead of using drmModeSetCursor).
* For hideCursor() instead of removing the cursor via drmModeSetCursor(..) show
a transparent cursor image.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to