Menu

TNotebook can't rename or add

Anonymous
2022-11-30
2022-12-08
  • Anonymous

    Anonymous - 2022-11-30

    I'm using windows10.
    I can't rename Page 1 or Page 2 for TNotebook and can't find a way to add a page...
    Is this just me or is it a bug in PAGE?

     
  • Greg Walters

    Greg Walters - 2022-11-30

    What version of PAGE are you using?
    I believe it's a bug that sometimes shows up in 7.5. It's hard to duplicate, since it only sometimes shows up.
    So far, in testing 7.6 (which hopefully will be released soon) it seems to be fixed, at least on Linux. I'll double check on Windows.

    Greg

     
  • Anonymous

    Anonymous - 2022-11-30

    I'm using version 7.5

     
  • Greg Walters

    Greg Walters - 2022-11-30

    I can verify that PAGE 7.5 does have the issue you have described.
    I have notified Don and will be looking deeply into PAGE 7.6 alpha to make sure that the problem is fixed.

    Thank you for your report!

    Greg

     
  • Greg Walters

    Greg Walters - 2022-12-02

    What kind of machine are you using?
    Is it Intel or AMD based CPU?
    Does your machine have a GPU based Graphics card like NVidia?

    The answers to these questions might help us narrow in on an answer.

    Thank you in advance.
    Greg

     
  • Greg Walters

    Greg Walters - 2022-12-02

    Some positive news. I have just been able to create a new project with a TNotebook with 10 tabs (created all at once) and was able to save it and it retained it. I can also add widgets to the tabs as well. The issue with the renaming tabs still remains, but that can be done in code from the support module, I do believe.

    Does this help?

     
  • Greg Walters

    Greg Walters - 2022-12-02

    Workaround (at least on Linux for now).

    When adding tabs, place at least one widget on each tab. When saving, make sure that the last tab is the one selected. Save, generate GUI and Support modules. Close PAGE. When you re-enter PAGE, everything is still there.

    This works on Linux with even number of tabs (I've gotten up to 10 so far) as long as the last tab (10 in that instance) is selected and visible when you save and generate.

    I'll test it again on Windows sometime tomorrow.

    Greg

     
  • Greg Walters

    Greg Walters - 2022-12-03

    I have verified that under Windows 10 home (on a slug machine), the workaround does seem to solve the problem.

    When adding tabs, make sure you save and generate the python files with the last added tab selected (use the Widget tree) before trying to save.

    The last tab does not absolutely need to have a widget on it, but it would be safer, to make sure that the activity "tree" is updated before save.

    I hope that all of this helps you.

    Greg

     
  • Greg Walters

    Greg Walters - 2022-12-08

    PAGE 7.6 was released yesterday. Don and I spent over a week beating the bugs out of the TNotebook and PNotebook widgets.

    Please download and install 7.6 and let us know if it now works correctly for you.

    Greg

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.