Not a ghost, it a creature that doesn’t comply with the rules.
Ghost in the Toolbar - Video Demo
Ghost Icons in Toolbars after deleting and reshaping the Container. https://youtu.be/X6yTmS6cGIg?si=TU9V96WUwSsx8yVb&t=82 - Video Demo
Update: I was issued a new computer yesterday and I transferred my UI with the steps below:
1- Import Options , Restore my .ini
2- import RHW
3- Load the Window Layout, the Popup Container was not included.
4- Load the Container from RHC file.
5- Go to options and Adjust the Icon Size and image size for the toolbars and containers.
6- Restart Rhino to see the changes.
It is a little bit shorter / easier because I learned few tricks from this thread and gained some past experience. so it is doable / manageable for me, but not sure how to get them streamlined for new users.
a) there should be a way if refreshing the UI when loading the RHW (to avoid step 6 above)
b) there should be a way to include hidden containers - for example my popup container - in the Rhw (this will eliminate the need for step 4)
c) the values if the 2 variables (1 - Rhino.Options.TabPanels.Tab IconSize - 2 - Rhino.Options.TabPanels.Tab ImageSize) should be included in the rhw so we can skip step 5 and mostly step1 (unless you want to change colors).
this shortened approach will make everyone appreciate the new UI’s flexibility hopefully.
Can someone tell me how to import a custom RUI file ???
Hello Karim
In the options > Toolbars you can link a RUI file.
Also the RHW for window layouts will save a copy of all of the Toolbars and you can reload them in the future.
Hopefully this works for you
This is not 100% true. It saves the layout. However if you have toolbars in an external .rui and you close that .rui, restoring a window layout saved while the .rui was open will not bring back the tools in the closed .rui - because it does not contain them. If you re-open the .rui then restoring the window layout will put the toolbars back where they were when the window layout was last saved.
Tested in this thread (particularly post #10)
I guess I missed the recent updates as my mind was set with 8.2 and older
It would be nice if it worked… I think that was the intention at the beginning. However a lot of changes have been made since. Maybe at some point when all the remaining bugs with toolbars are squashed, it will be made to work again.
@tay.othman Wait, you are correct (partially at least) and I am wrong… This still works (with bugs), just not exactly as I expected.
So SAVING a window layout internally (via the window layouts manager) does not contain the toolbars in the .rui that is open. However, EXPORTING the window layout as an .rhw does contain a copy of the toolbars in the .rui - and if you re-import the .rhw, they are restored (sorta), even if the original .rui is closed.
What you get in this case is a copy of the original .rui that was open when the .rhw was saved - it is automatically created and opened. Unfortunately the copy of the .rui in the .rhw has a lot of problems, toolbars in the wrong place, etc.
Here’s what I did:
-
Started with my custom workspace which includes a customized .rui. The tools reside in upper and lower horizontal toolbars, from which there are numerous flyouts.
-
Saved (not exported) the current window layout with a new name
-
This is what is in the layout:
Command, Layers, MainCustom, RightContainer and SelectionFilter all reside in default.
CustomUpper, CustomLower and MeasureAnalysisNew reside in my custom .rui -
Closed the custom .rui. All the tools/toolbars in the .rui disappear.
-
Went to Window>Window Layouts and chose “Manage…”
-
This is what I now see:
-
Hit the blue “Restore…” button at the top and got this:
-
Answered no (or yes, it actually doesn’t matter).
-
Closed the dialog. Windows flash, but the closed toolbars originally in the .rui do not open.
In Toolbars dialog, there is still only Default listed.
OK, that is not what I expected, so I closed Rhino, did a complete restore of my settings to go back to the beginning - by replacing the entire settings folder with my backup.
-
Reopened Rhino, all the custom toolbars are back.
-
In the Window Layout manager, saved a new layout
-
Now, in addition to just saving the Window layout, I also EXPORTED it.
(the layout has to be saved first before it can be exported) -
Closed the custom .rui. All the tools/toolbars in the .rui disappear again.
-
Went to Window Layouts>Manage and hit the “Import” button, browsed to where the .rhw was saved and imported it.
-
Now I see this:
Since I had exported it with the same name, it gave the imported layout a ‘01’ suffix -
Closed the dialog without restoring yet.
-
Went to the toolbar dialog to see what was in there. Surprise, there is a new .rui in addition to default:
The name is the same as the original .rui with a_GUID
attached -
Went back to the Window Layout manager and restored the newly imported layout.
-
The toolbars are now back!
But they are all mixed up…
Before:
After:
Flyout before/after:
So I’m back to restoring my stuff by replacing the settings folder. Fortunately that works every time, I just did it like seven or eight times in order to do this post. Will continue to do so until more stuff gets fixed…
Hmm, OK, an interesting experience. The actual time involved in doing it was only a few minutes, but documenting it took me an hour… It’s time for an apéro…
I guess things didn’t change recently, thank your for the extensive testing, one thing that I really hoped is to have some sort of a UI packaged file. The RHW promised that but didn’t fully deliver it’s promise, one of the issues. It will never save any closed container including the popup container which is closed by default but activates when pressing my middle mouse button.
I really want the UI to be streamlined in V8 and we don’t have to push it to V9 development, something that is concerning to me.