ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
112 stars 96 forks source link

Databrowser: unable to save a new databrowser plot #1809

Closed berryma4 closed 8 years ago

berryma4 commented 8 years ago

If a new databrowser plot is created, nothing happens if you click the save icon in the coolbar, or if you go to file->save as.

berryma4 commented 8 years ago

@shroffk was able to reproduce the error.

shroffk commented 8 years ago

Actually this error was discovered during the CS-Studio training in ESS, it is there in most products. I will look into this later this week

kasemir commented 8 years ago

Can't reproduce. With the SNS product off the 'master' branch of cs-studio, it looks like this:

There is the "Misc." option on each *.plt to not save changes. Idea was to not show the "do you want to save?" prompt when people used a plot, zoomed, panned, .. But even with that set the File/Save As remains available.

So what's different in your setups?

shroffk commented 8 years ago

The problem is due to the absence of the singlesource.rcp plugin in the product.

After the product.p2 repo is fixed we can try to build the respective products again to check the inclusion of this plugin...the alternative would be to add the o.c.core.utilities.feature to the product.

shroffk commented 8 years ago

Adding o.c.core.utilites.feature should resolve this issue.

kasemir commented 8 years ago

The associated UI defaults in o.c.utility.singlesource simply do nothing, which made this harder to figure out. In hindsight, they should log an error.

berryma4 commented 8 years ago

everything is working now (@shroffk and myself verified)