You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package/contents/ui/ToolTipInstance.qml
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,7 @@ ColumnLayout {
39
39
} else {
40
40
text = displayParent;
41
41
}
42
-
43
-
// KWin appends increasing integers in between pointy brackets to otherwise equal window titles.
44
-
// In this case save <#number> as counter and delete it at the end of text.
45
-
text =`${(text.match(/.*(?=\s*(—|-))/) || [""])[0]}${(text.match(/<\d+>/) || [""]).pop()}`;
46
-
47
-
// In case the window title had only redundant information (i.e. appName), text is now empty.
42
+
// KWin only appends brackets to names that are duplicated, therefore this feature has been removed as unnecessary and probably self-obsoleted, and only worked in reverse.
48
43
// Add a hyphen to indicate that and avoid empty space.
0 commit comments