GCViewer icon indicating copy to clipboard operation
GCViewer copied to clipboard

Latest snapshot view options reset when toggling watch button

Open cbondeson opened this issue 9 years ago • 4 comments

The latest snapshot resets the view options to a previous state when toggling the watch button. I like the idea of retaining the settings within a session but believe once you reload these should reset to the default settings (all on). Maybe you could allow saving the settings on a log file name basis. A full restart of the application doesn't reset the view settings either. The view option selections are out of sync with the state of the display. You have to toggle them twice to get it to display the component ( capture

cbondeson avatar May 15 '15 12:05 cbondeson

I realize now this was user error. I had to check all the options, exit the application, and on restart they are all enabled. I still think there is an issue with the state of the View option boxes and the state of the display though. I can work with this once I understood the process.

cbondeson avatar May 15 '15 12:05 cbondeson

The options and persistency of them is somewhat tricky. The intention is, that the options of the last open window is saved to /gcviewer.properties and reloaded with the next start.

The different windows for different files can have different options set. Switching the windows should also switch the options in the menu.

Does this help to understand the mechanism?

chewiebug avatar May 15 '15 16:05 chewiebug

Yes. Thanks for the explanation!

cbondeson avatar May 15 '15 16:05 cbondeson

Did you find anything, that seems to be a bug? If not, I'll close this issue in a few days.

Best regards, Jörg

chewiebug avatar Jun 21 '15 19:06 chewiebug