Skip to content
  • Martin Flöser's avatar
    Simplify the window title passed in from the window system · 2a155925
    Martin Flöser authored
    Summary:
    So far KWin used the window title provided from the window directly
    without any sanitizing. This could result in broken window decorations
    if the title included line breaks. Those were passed to the decoration
    and depending on the way how the decoration renders the title, it could
    result in visual breakage.
    
    Having line breaks in a window title doesn't make sense. Given that KWin
    now simplifies the title when copying it to it's own structure. This
    also ensures that the title passed to e.g. task manager does not have
    any line breaks on Wayland.
    
    BUG: 323798
    FIXED-IN: 5.8.4
    
    Test Plan: Opened the web page in a nested KWin, properly rendered now.
    
    Reviewers: #kwin, #plasma
    
    Subscribers: plasma-devel, kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D3215
    2a155925