Skip to content
Commit 8537e82c authored by Nate Graham's avatar Nate Graham Committed by Fushan Wen
Browse files

applets/taskmanager: fix tooltip text with custom window title

The logic here makes an assumption that the window title will always be
in the form of "[window title]  — [app name] [optional KWin numerical
suffix]" which is not always the case, and breaks when this assumption is
not met. Exceptions to that pattern used to be rare, but now we are
doing it in several of our own apps, and it's also possible for users to
set custom titles in Chromium, so it's not so rare anymore.

To handle this case, add an early return that handles the custom window
title.

BUG: 462760
FIXED-IN: 5.27.5
parent a7043760
Pipeline #382889 canceled with stage
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment