BHoM / Grasshopper_UI

Tools for Grasshopper
GNU Lesser General Public License v3.0
15 stars 4 forks source link

Toggle of BHoM popups on component outputs #593

Open Sonderwoods opened 3 years ago

Sonderwoods commented 3 years ago

I would love to have an option to disable the BHoM popups on the component outputs. Right now I'm only using BHoM on selected projects, but my GH UI is messed up with all the BHoM popups. Could we add a global toggle to this somehow?

image

al-fisher commented 3 years ago

Hi @Sonderwoods - thanks for raising. Agreed, think this is a good idea - and I think a few others may like this feature too, toggling on and off based on personal preference.

Sonderwoods commented 3 years ago

Either that or only enable the drop-down while the shift key is held, etc.

tir. 2. feb. 2021 20.00 skrev Al Fisher notifications@github.com:

Hi @Sonderwoods https://github.com/Sonderwoods - thanks for raising. Agreed, think this is a good idea - and I think a few others may like this feature too, toggling on and off based on personal preference.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BHoM/Grasshopper_Toolkit/issues/593#issuecomment-771893142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYDLJ7KEQ7BZYUHWNBXFGLS5BDUXANCNFSM4WW4RNDA .

al-fisher commented 3 years ago

Either that or only enable the drop-down while the shift key is held, etc.

yes. This 👆

hamedseifi commented 3 years ago

"Right click on the bubbles" is not taken yet. It would be good to change the pop up feature of BHOM from left click on the bubbles to right click.

DharmanGersch commented 3 years ago

Yes please! I'd suggest RMB as long as it's only near the component param (not on the component, or the canvas because there are already useful menus there).

Most other options are already taken by very useful shortcuts. eg:

It's really nice being able to immediately find what the input should be to a particular component param, the good

But it's frustrating not being able to create relays from double clicking params anymore With BHoM 593 no OOTB no BHoM

Without BHoM 593 with BHoM

Maybe if the current behavior didn't block LMB+LMB from creating relays LMB would be ok?

adecler commented 3 years ago

We can start by having a config file in our C:\ProgramData\BHoM\Settings folder that would control the behaviour of the pop-up menu. The possible options could be something like:

The default option could be Only on scripts with BHoM components as it seems to directly address the issue for people only using the BHoM in rare cases.

The platform for setting files is already in place, including the ability to edit them from the UI so it mainly a question of using this new setting file in our menu controller: image

@hamedseifi , by bubble do you mean input connector ? This could be an option added to the list above to have the menu activate on right click instead of left but the right click on connectors is not a default behaviour of Grasshopper (that results to panning right now) so it depends on how easy it is to support that.

I am currently flat out on other projects but can have a look at this new config file once I have a bit of time.

hamedseifi commented 3 years ago

@adecler, Yes. I mean input and output connectors. image