Menu

#1602 [wxSmith] remove legacy tabs and re-order

Undefined
fixed
nobody
wxSmith (64)
Feature_Request
2026-05-26
2026-05-16
Tiger Beard
No

I suggest to change the hard coded TAB order of the wxSmith tools.
STANDARD, LAYOUT, ADVANCED, AUI, DIALOGS, TOOLS

The current order is
STANDARD, ADVANCED, AUI, CONTRIB, DIALOGS, KWIC, LAYOUT, LED, TOOLS

Reason: great usability imrovement, since >90% of the time is spent with STANDARD and LAYOUT.

I tried to use any of those items in the following wxSmith tabs, but failed to find any code for those. "KWIC", "MathPlot", "Led", "Contrib". Since wxSmith is such a complex hard to maintain beast maybe its a bad idea to delete them, but at least put them at the end of the tab list.
Next best is to rename one tab to "Legacy" and put all in there.

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2026-05-19

    They are currently sorted in alphabetical order but forcing Standard to be the first one, see wxsItemEditor::BuildPalette() and CategorySort().

     
  • Miguel Gimenez

    Miguel Gimenez - 2026-05-21

    I tried to replace wxNotebook with wxAuiNotebook. This should be a straight change, but there is some problem with the object size making it invisible unless it is added to the sizer with non-zero proportion or the size is hardcoded. Looks like there is some interaction between the main wxAuiManager and the wxAuiNotebook.

     
  • Tiger Beard

    Tiger Beard - 2026-05-21

    Thanks a lot for looking into this.
    Maybe setting a MinSize helps? I often had trouble using AUI created by wxSmith (never found the cause though). Maybe coding it manually would be worth a try.

    If that fails, maybe just renaming the tabs would be a workaround...
    Or the problem kind of goes away if the tabs with non-working content are removed and then only a few are left anyway.

    PS: was not aware wxSmithModule components were using AUI. If that means the left button side dialog could be made movable it'll be great news.

     
  • Miguel Gimenez

    Miguel Gimenez - 2026-05-25
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2026-05-25

    I have implemented sort by usage, see [r13849]. The most used tabs will be shown first when reopening C::B.

     

    Related

    Commit: [r13849]

  • Tiger Beard

    Tiger Beard - 2026-05-26
     

    Last edit: Tiger Beard 2026-05-26
  • Tiger Beard

    Tiger Beard - 2026-05-26

    did not work at first, but I compiled the wrong code...
    2nd try worked fine and very intuitively.
    Also good to know that the values are stored in the default.conf XML file under "tabusage"

    Thanks a lot!

    The management tabs can be move, but they reset to hardcoded positions on restart.
    But they look more like a custom control, and probably would require a different approach.
    BTW: Does that Search field in Symbol browser work in your Windows version?

     

Log in to post a comment.