Repository: microsoft/PowerToys
File: src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/ResultHelper.cs (C#)

Code before:
        /// </summary>
        /// <param name="window">The window properties of the result</param>
        /// <returns>String with the subtitle</returns>
        private static string GetSubtitle(Window window)
        {
            if (window == null || !(window is Window))
            {
                return string.Empty;
            }

            string subtitleText = Resources.wox_plugin_windowwalker_Running + ": " + window.Process.Name;

            if (WindowWalkerSettings.Instance.SubtitleShowPid)
            {
                subtitleText += $" ({window.Process.ProcessID})";
            }

            if (WindowWalkerSettings.Instance.SubtitleShowDesktopName && Main.VirtualDesktopHelperInstance.GetDesktopCount() > 1)
            {
                subtitleText += $" - {Resources.wox_plugin_windowwalker_Desktop}: {window.Desktop.Name}";
            }

            if (!window.Process.Responding)
            {
                subtitleText = $"{Resources.wox_plugin_windowwalker_Process}: {window.Process.Name} [{Resources.wox_plugin_windowwalker_NotResponding}]";
            }

            return subtitleText;
        }

        /// <summary>
        /// Returns the tool tip for a result
        /// </summary>
        /// <param name="window">The window properties of the result</param>
        /// <param name="debugToolTip">Value indicating if a detailed debug tooltip should be returned</param>
        /// <returns>Tooltip for the result or null of failure</returns>
        private static ToolTipData GetToolTip(Window window, bool debugToolTip)
        {
            if (window == null || !(window is Window))
            {
                return null;
            }

            if (!debugToolTip)
            {
                string text = $"{Resources.wox_plugin_windowwalker_Process}: {window.Process.Name}";
                text += $"\n{Resources.wox_plugin_windowwalker_ProcessId}: {window.Process.ProcessID}";

                if (Main.VirtualDesktopHelperInstance.GetDesktopCount() > 1)
                {
                    text += $"\n{Resources.wox_plugin_windowwalker_Desktop}: {window.Desktop.Name}";

Review comment (suggestion):
```suggestion
            if (!window.Process.Responding)
            {
                subtitleText += $" [{Resources.wox_plugin_windowwalker_NotResponding}] ";
            }
```

And switch with line 95-98.

Code after:
        /// </summary>
        /// <param name="window">The window properties of the result</param>
        /// <returns>String with the subtitle</returns>
        private static string GetSubtitle(Window window)
        {
            if (window == null || !(window is Window))
            {
                return string.Empty;
            }

            string subtitleText = Resources.wox_plugin_windowwalker_Running + ": " + window.Process.Name;

            if (WindowWalkerSettings.Instance.SubtitleShowPid)
            {
                subtitleText += $" ({window.Process.ProcessID})";
            }

            if (!window.Process.IsResponding)
            {
                subtitleText += $" [{Resources.wox_plugin_windowwalker_NotResponding}]";
            }

            if (WindowWalkerSettings.Instance.SubtitleShowDesktopName && Main.VirtualDesktopHelperInstance.GetDesktopCount() > 1)
            {
                subtitleText += $" - {Resources.wox_plugin_windowwalker_Desktop}: {window.Desktop.Name}";
            }

            return subtitleText;
        }

        /// <summary>
        /// Returns the tool tip for a result
        /// </summary>
        /// <param name="window">The window properties of the result</param>
        /// <param name="debugToolTip">Value indicating if a detailed debug tooltip should be returned</param>
        /// <returns>Tooltip for the result or null of failure</returns>
        private static ToolTipData GetToolTip(Window window, bool debugToolTip)
        {
            if (window == null || !(window is Window))
            {
                return null;
            }

            if (!debugToolTip)
            {
                string text = $"{Resources.wox_plugin_windowwalker_Process}: {window.Process.Name}";
                text += $"\n{Resources.wox_plugin_windowwalker_ProcessId}: {window.Process.ProcessID}";

                if (Main.VirtualDesktopHelperInstance.GetDesktopCount() > 1)
                {
                    text += $"\n{Resources.wox_plugin_windowwalker_Desktop}: {window.Desktop.Name}";