spc-group / haven

Bluesky tools for beamlines managed by the spectroscopy group
https://haven-spc.readthedocs.io/en/latest/
Other
4 stars 6 forks source link

Improvement on shutter #300

Open Cathyhjj opened 2 weeks ago

Cathyhjj commented 2 weeks ago

Improvement suggestion discussed during beamtime Maybe we should hide the A-hutch shutter on the Firefly main window, because it's so easy to close it by accident, as sometimes it shows on top of the C/D-hutch shutter, sometimes below them.

canismarko commented 2 weeks ago

I'm not sure how to do that, actually. What is it about the A-hutch shutter that could be used to tell?

My alternate solution is that the PSS shutters can be set with allow_open and allow_close keys in the TOML file, which should prevent accidental closings. Want to set those?

The Qt widgets should reflect these values by only showing allowed buttons. Right now, though, that doesn't happen so perhaps this ticket should actually be to figure out why those buttons don't show up?

as sometimes it shows on top of the C/D-hutch shutter, sometimes below them.

Yeah, another problem I'd like to fix. Again, not sure how to tell which order the shutters should be in. Any ideas?