1. 31 Aug, 2021 1 commit
  2. 30 Aug, 2021 1 commit
  3. 25 Aug, 2021 1 commit
    • Erik Kurzinger's avatar
      platforms/drm: check wl_eglstream buffers before attaching · 9056eccd
      Erik Kurzinger authored and Xaver Hugl's avatar Xaver Hugl committed
      If a wl_eglstream buffer is attached to a surface, but then later a different
      type of buffer, such as a dmabuf, is attached to the same surface, kwin will
      mistakenly keep trying to acquire frames from the EGLStream associated with the
      previous buffer. This can happen if an Xwayland window is made full-screen
      causing it to switch to the flipping presentation path, for instance. The
      result is that the window contents will no longer be updated.
      Instead, the eglstream backend's loadTexture and updateTexture functions should
      first pass the buffer to eglCreateStreamAttribNV. If it fails with
      EGL_BAD_STREAM_KHR, that indicates it is indeed a wl_eglstream, and that we've
      already associated a server-side EGLStream with it in attachStreamConsumer, so
      we can proceed as usual. If it fails with EGL_BAD_ACCESS, though, that
      indicates it is not a wl_eglstream and we should fall back to the parent class
      which handles attaching other buffer types. If it doesn't fail at all, that
      means the client tried to attach a new wl_eglstream to a surface without first
      attaching the stream consumer. There's not really a great way to handle this,
      so just re-use the previous EGLStream.
      BUG: 440852
      (cherry picked from commit 770875a7)
  4. 24 Aug, 2021 1 commit
  5. 18 Aug, 2021 1 commit
  6. 17 Aug, 2021 1 commit
  7. 16 Aug, 2021 1 commit
  8. 14 Aug, 2021 1 commit
  9. 05 Aug, 2021 1 commit
    • Vlad Zahorodnii's avatar
      Copy shape region to Deleted · ad62f7c3
      Vlad Zahorodnii authored
      Currently, the shape region is not copied to the Deleted. If either
      SurfaceItemX11 or SurfaceItemXwayland needs to build quads for a shaped
      window, it won't be able to do so properly because the corresponding
      x11 window is long time gone.
      If the shape region changes before the window is unmapped, you may still
      see visual artifacts. Unfortunately, the only way to fix that bug is to
      switch to wayland.
      BUG: 440001
      BUG: 438458
      BUG: 435378
      (cherry picked from commit e94fbcd8)
  10. 04 Aug, 2021 2 commits
    • Vlad Zahorodnii's avatar
      Avoid discarding previous pixmap · f432ba78
      Vlad Zahorodnii authored
      When resizing, the SurfaceItem will discard the current pixmap until a
      new one is created. If the newly created pixmap is valid, the previous
      pixmap will be discarded in SurfaceItem::updatePixmap().
      However, the previous pixmap can be discarded only if it's unreferenced,
      in other words, no effect needs the previous pixmap.
      BUG: 439689
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · 598daac9
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
  11. 03 Aug, 2021 1 commit
  12. 02 Aug, 2021 1 commit
  13. 01 Aug, 2021 1 commit
  14. 27 Jul, 2021 2 commits
  15. 22 Jul, 2021 1 commit
  16. 19 Jul, 2021 2 commits
    • Vlad Zahorodnii's avatar
      wayland: Force decoration update · c6d61f5f
      Vlad Zahorodnii authored
      If the client had created an xdg-toplevel-decoration and has called the
      set_mode() request with csd before the initial configure event is sent,
      we still need to send an xdg-toplevel-decoration configure event with
      csd mode.
      (cherry picked from commit a3e19283)
    • Vlad Zahorodnii's avatar
      scripting: Make QTimer constructible · 71a1ff04
      Vlad Zahorodnii authored
      If a QObject is exposed to js using QJSEngine::newQMetaObject(), a new
      instance of it can be made only with constructors exposed by Q_INVOKABLE
      At the moment, QTimer's constructor is not Q_INVOKABLE, so code such as
      `const timer = new QTimer()` will not work.
      BUG: 439630
      FIXED-IN: 5.22.4
      (cherry picked from commit d29954ae)
  17. 11 Jul, 2021 1 commit
  18. 08 Jul, 2021 1 commit
  19. 07 Jul, 2021 1 commit
    • Xaver Hugl's avatar
      platforms/drm: only show cursor on dpms on if not hidden · 4e81abfc
      Xaver Hugl authored
      While always calling showCursor isn't a problem for when there's no
      pointing device as the cursor image is empty in that case, it can
      cause a temporarily stuck cursor image when it's supposed to be
      hidden because of touch input
      (cherry picked from commit a1847f77)
  20. 06 Jul, 2021 2 commits
  21. 01 Jul, 2021 2 commits
  22. 29 Jun, 2021 1 commit
  23. 28 Jun, 2021 1 commit
  24. 25 Jun, 2021 1 commit
  25. 22 Jun, 2021 3 commits
  26. 21 Jun, 2021 1 commit
  27. 20 Jun, 2021 2 commits
  28. 18 Jun, 2021 1 commit
  29. 16 Jun, 2021 1 commit
  30. 15 Jun, 2021 3 commits