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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/95a8163c5b
                   |                            |5970243ca9d13244026e98bb1b3
                   |                            |2e1
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #17 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 95a8163c5b5970243ca9d13244026e98bb1b32e1 by Vlad Zahorodnii.
Committed on 13/08/2024 at 13:53.
Pushed by vladz into branch 'master'.

qpa: Implement clipboard

This allows copy pasting text between the overview and regular clients.

QMimeData::data() has a synchronous API. It is a problem for us, the
compositor, because it means we need to block the main thread to read
the mime data. This change adds a one second timeout. If no data arrives
within the next 1 second, the qpa will give up in order to avoid freezing
the screen further. Not sure how this can be handled better without
changing the API of the QMimeData to add async overloads.

M  +1    -0    src/plugins/qpa/CMakeLists.txt
A  +207  -0    src/plugins/qpa/clipboard.cpp     [License: GPL(v2.0+)]
A  +69   -0    src/plugins/qpa/clipboard.h     [License: GPL(v2.0+)]
M  +9    -0    src/plugins/qpa/integration.cpp
M  +3    -0    src/plugins/qpa/integration.h
M  +1    -1    src/wayland/display.h

https://invent.kde.org/plasma/kwin/-/commit/95a8163c5b5970243ca9d13244026e98bb1b32e1

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

Reply via email to