-
Notifications
You must be signed in to change notification settings - Fork 90
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
Small fixes / QOL updates #3193
base: master
Are you sure you want to change the base?
Small fixes / QOL updates #3193
Conversation
Separate PRs might be easier if we run into concerns with the laundry list, but we can try starting with just one PR. As for nesting the widgets in a group to fix the width/height computation: This looks like a bug in the JFX pane, but we're unlikely to get that fixed. When first reading that you add a group, I was worried about one added group for each widget, something we'd want to avoid. But it looks like there's only one new group in the overall representation of each display, plus one per embedded display, so that should not make much of a difference for the scene graph size. As for Ctrl-drag to start dragging a PV name (Command-drag on Mac): Consistency would be good. Always control-drag is consistent. Having to note which type of widget it is and then using Ctrl-drag or plain drag is iffy. Having said that, the need to remember Ctrl-drag on all but Mac, then Command-drag on Mac is also iffy (On Mac, Ctrl-click is like right-click, it opens the context menu, so had to use Command-drag for the PV name...) Would there be another consistent option? On Linux, you can middle-click to copy the PV name into the clipboard. Could support middle-drag, but that means everybody needs to have mouse, can't do that with a touchpad on a laptop... |
Indeed, only a single group is added for every (embedded) representation of a display. I looked into it, to see if I could simply replace the parent pane with a group, but it was not possible as there are some properties that are used, which a group does not have (like setting the background if I recall correctly) and I could not just set those properties on the model root (scrollpane) instead either, as the behavior would be different from before. Regarding the ctrl + drag, I agree, we already figured this might be an issue, since it may not be clear for a user when they can or cannot drag and drop pvs without ctrl. Perhaps Alt drag is an option, though to be honest, ctrl click seems the best to me as well, I think it might be the first thing I try after a plain drag and drop does not work. |
Hi all,
Internally, we have made a bunch of updates to Phoebus, some of which we figured would be good to port back to the main branch of phoebus. I was not sure if you would prefer separate PRs or a single one, since the changes are all fairly small, but opening 6 single-commit PRs might also be annoying. A brief overview of the changes: