• Martin Flöser's avatar
    Properly update the visible (icon) name when the caption changes · ab7b6757
    Martin Flöser authored
    It was possible that we performed an early exit when the caption changes
    and this results in the visible name being wrong. E.g if we have two
    windows called foo, the second one has the visible name "foo <2>". After
    changing that to "bar" the bug resulted in it still being the foo
    variant instead of getting cleared.
    BUG: 384760
    FIXED-IN: 5.11.0
    Test Plan: Created new test case exposing the problem
    Reviewers: #kwin, #plasma, hein
    Subscribers: plasma-devel, kwin
    Tags: #kwin
    Differential Revision: https://phabricator.kde.org/D7871
client.cpp 71.3 KB