Skip to content

(cherry-pick) wayland: Truncate strings sent via plasmawindowmanager interface

David Edmundson requested to merge work/cherry-pick-f88ff99d into Plasma/5.27

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

BUG: 465775

(cherry picked from commit f88ff99d)

Merge request reports

Loading