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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/commit/f88ff99d82f3 |ma/kwin/commit/ec6a5e794580
                   |e2f9811d174838d28fc4339e228 |6afcc80f26950820a5307659fad
                   |4                           |0

--- Comment #5 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit ec6a5e7945806afcc80f26950820a5307659fad0 by David Edmundson.
Committed on 17/03/2023 at 20:01.
Pushed by davidedmundson into branch 'Plasma/5.27'.

wayland: Truncate strings sent via plasmawindowmanager interface

Wayland has a limited size for strings in arguments. We should truncate
any strings that come from user-defined data before sending.

We keep the full title around within kwin as it keeps logic simpler.
Size length logic is lifted from QWaylandWindow's setTitle


(cherry picked from commit f88ff99d82f3e2f9811d174838d28fc4339e2284)

M  +13   -0    src/wayland/autotests/client/test_wayland_windowmanagement.cpp
M  +17   -4    src/wayland/plasmawindowmanagement_interface.cpp

https://invent.kde.org/plasma/kwin/commit/ec6a5e7945806afcc80f26950820a5307659fad0

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

Reply via email to