-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preferences not deleted properly from GUI #1
Comments
There is a command line program you can run that is part of the class RemovePreferencesNode and it will delete the preferences node as expected. This can be shown as follows:
You can see it's gone. But, when removing from the GUI using these steps it doesn't work at all:
|
Speculating the main difference in the running of the RemovePreferencesNode from the command line vs from the gui is the command line is run in the main thread and the gui is run from the event thread. Another speculation is that updating the JTree view may not be happening the way it ought to be. It's efficient to update just the part of the tree that changed and move on. Would there be a benefit to re-reading both roots of the Preferences tree on each update? It'd be OK if there weren't many Preferences stored but if there were a lot there could be performance problems later. |
This problem is confusing and weird. Worse still, my development platform won't match all the different targets. Therefore, I'm going to remove the features for removing Preferences nodes from the GUI. The command line tools will keep the functionality and it can be run from that. |
When a preference node is deleted from the GUI, all indications show that the node is gone. But when the GUI is exited and started again, the node reappears.
The text was updated successfully, but these errors were encountered: