diff --git a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs index 4a08ffe06..7d1fd7cb0 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs @@ -44,6 +44,8 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller private readonly List openPluginCollapsibles = new(); + private readonly DateTime timeLoaded; + #region Image Tester State private string[] testerImagePaths = new string[5]; @@ -128,6 +130,8 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller this.testerImagePaths[i] = string.Empty; } }); + + this.timeLoaded = DateTime.Now; } private enum OperationStatus @@ -326,6 +330,15 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller throw new ArgumentOutOfRangeException(); } + if (DateTime.Now - this.timeLoaded > TimeSpan.FromMinutes(2) && isWaitingManager) + { + ImGui.PushStyleColor(ImGuiCol.Text, ImGuiColors.DalamudRed); + ImGuiHelpers.CenteredText("This is embarrassing, but..."); + ImGuiHelpers.CenteredText("one of your plugins may be blocking the installer."); + ImGuiHelpers.CenteredText("You should tell us about this."); + ImGui.PopStyleColor(); + } + ImGui.EndChild(); } }