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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-11-30
I'm using version 7.5
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
I'm using version 7.5
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
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
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?
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
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
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