Skip to content

Exception on Theme Change Without Open Project #17

Description

@mattia72

Describe the bug
Changing the theme when no project is open causes an exception:

[6068955D]{DRipExtensions.D12.dll} RipGrepper.UI.ParentFrame.TParentFrame.UpdateUIStyle + $6D
[60689553]{DRipExtensions.D12.dll} RipGrepper.UI.ParentFrame.TParentFrame.UpdateUIStyle + $63
[6066BD54]{DRipExtensions.D12.dll} DripExtension.UI.DockableForm.TRipGrepperDockableForm.ChangedTheme + $34
[6B539B9E]{coreide290.bpl} IDEServices.TIDEServices.NotifyIDEThemeChanged (Line 3216, "IDEServices.pas" + 1) + $15
[6D2602D4]{designide290.bpl} ToolUtils.ForEach (Line 117, "ToolUtils.pas" + 9) + $F
[6B539C67]{coreide290.bpl} IDEServices.TIDEServices.IDEThemeChanged (Line 3226, "IDEServices.pas" + 0) + $B
[6D23B0ED]{designide290.bpl} Events.TEvent.Send (Line 154, "Events.pas" + 2) + $11
[6A2FD6B8]{themeloader290.bpl} ThemeLoader.TIDEThemeManager.NotifyIDEThemeChanged (Line 384, "ThemeLoader.pas" + 1) + $9
[6A2FE08D]{themeloader290.bpl} ThemeLoader.TIDEThemeManager.DoSetIDETheme (Line 609, "ThemeLoader.pas" + 68) + $3
[00FFFFFB]{bds.exe     } PlatformDeviceSelectorCmdsToolbar.TPlatformDeviceCommandsToolbar.SetupFontAndSize + $EB
[6A2FDD36]{themeloader290.bpl} ThemeLoader.TIDEThemeManager.SetIDETheme (Line 531, "ThemeLoader.pas" + 0) + $2
[6A2FE3A7]{themeloader290.bpl} ThemeLoader.TIDEThemeManager.SetThemeClick (Line 680, "ThemeLoader.pas" + 15) + $6
[6C34394B]{rtl290.bpl  } System.Classes.TBasicAction.Execute (Line 18578, "System.Classes.pas" + 4) + $1
[6AB03742]{vcl290.bpl  } Vcl.ActnList.TCustomAction.Execute (Line 284, "Vcl.ActnList.pas" + 19) + $35
[6C3436FD]{rtl290.bpl  } System.Classes.TBasicActionLink.Execute (Line 18472, "System.Classes.pas" + 8) + $B
[6AC4DC7B]{vcl290.bpl  } Vcl.Menus.TMenuItem.Click (Line 2627, "Vcl.Menus.pas" + 17) + $7
[6AC4F44B]{vcl290.bpl  } Vcl.Menus.TMenu.DispatchCommand (Line 3586, "Vcl.Menus.pas" + 5) + $2
[6AC506C6]{vcl290.bpl  } Vcl.Menus.TPopupList.WndProc (Line 4759, "Vcl.Menus.pas" + 4) + $E
(00080B23){CnWizards_D120A1.DLL} [61A81B23]
[6AC50615]{vcl290.bpl  } Vcl.Menus.TPopupList.MainWndProc (Line 4734, "Vcl.Menus.pas" + 2) + $5
[6C34477C]{rtl290.bpl  } System.Classes.StdWndProc (Line 19085, "System.Classes.pas" + 9) + $2
[6C224A64]{rtl290.bpl  } System.@FinalizeRecord (Line 33281, "System.pas" + 81) + $2
[6AC73927]{vcl290.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 13282, "Vcl.Forms.pas" + 23) + $1
[6AC7396A]{vcl290.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 13312, "Vcl.Forms.pas" + 1) + $4
[6AC73CA9]{vcl290.bpl  } Vcl.Forms.TApplication.Run (Line 13451, "Vcl.Forms.pas" + 27) + $3
[01068AD2]{bds.exe     } bds.bds + $DE

If the user opens a project after the exception, everything works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions