Skip to content

Conversation

@FramePerfection
Copy link
Owner

@FramePerfection FramePerfection commented Jan 6, 2026

This moves significant parts of STROOP's logic into dedicated C# projects while attempting to retain the functionality everywhere.
There may be breaking changes, and I reckon that the chances for odd bugs being introduced with this is fairly high - however, whatever may be broken or unintentionally changed should probably be reviewed with those motivations in mind that were laid out in #27 anyways.

Note that #27 will not be closed by this Pull Request entirely. There is still much work to be done.

@FramePerfection FramePerfection self-assigned this Jan 6, 2026
@FramePerfection FramePerfection added the infrastructure The code shall be refactored in some way label Jan 6, 2026
Copy link
Collaborator

@Aurumaker72 Aurumaker72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an exception when opening the "Custom" tab.

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at STROOP.Utilities.ControlUtilities.AddCheckableDropDownItems[T](ToolStripMenuItem topLevelItem, List`1 itemNames, List`1 itemValues, Action`1 setterAction, T startingValue) in E:\repos\STROOP\STROOP\Utilities\ControlUtilities.cs:line 468
   at STROOP.Tabs.CustomTab.InitializeTab() in E:\repos\STROOP\STROOP\Tabs\CustomTab.cs:line 43
   at STROOP.Tabs.STROOPTab.UpdateOrInitialize(Boolean active) in E:\repos\STROOP\STROOP\Tabs\STROOPTab.cs:line 80
   at STROOP.Tabs.STROOPTab.UpdateTab(TabPage page, Boolean active) in E:\repos\STROOP\STROOP\Tabs\STROOPTab.cs:line 18
   at STROOP.StroopMainForm.OnUpdate() in E:\repos\STROOP\STROOP\Forms\StroopMainForm.cs:line 419
   at STROOP.Core.CoreLoop.Run(CancellationToken cancellationToken, Action handleEvents, Func`1 getTargetedFps) in E:\repos\STROOP\STROOP.Core\CoreLoop.cs:line 24
   at STROOP.StroopMainForm.OnShown(EventArgs e) in E:\repos\STROOP\STROOP\Forms\StroopMainForm.cs:line 209
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

@Aurumaker72
Copy link
Collaborator

I did some basic testing and everything else seems to be in order :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure The code shall be refactored in some way

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants