Skip to content

wayland: Truncate strings sent via plasmawindowmanager interface

David Edmundson requested to merge work/d_ed/plasma_titles into master

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

Merge request reports