Skip to content
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

Suggestion: Release a component with the mouse key #144

Closed
Max2433BO opened this issue May 1, 2018 · 8 comments
Closed

Suggestion: Release a component with the mouse key #144

Max2433BO opened this issue May 1, 2018 · 8 comments
Assignees
Labels
enhancement A suggestion about how to improve the project programming Something related to the programming activity on the project Swing All related to the Swing interface code user interface Improvements related to the user interface

Comments

@Max2433BO
Copy link
Contributor

Hi @DarwinNE ,

I open this issue as a remainder for a suggestion proposed by a user of Electroyou site.

In particular, it is asked whether it is possible to release a selected component by pressing the right mouse key, as an alternative to using the keyboard spacebar.

That's all.

Bye, Max

@DarwinNE DarwinNE added enhancement A suggestion about how to improve the project user interface Improvements related to the user interface programming Something related to the programming activity on the project Swing All related to the Swing interface code labels May 1, 2018
@DarwinNE
Copy link
Owner

DarwinNE commented Aug 2, 2018

Hi and thanks for the suggestion.
I am not sure I understand. If I am in the "selection" mode, by clicking the right mouse key, the software activates the contextual menu. In other modes, it depends but if you click directly on the top of the selected element you can set its characteristics.
Should this be modified?

Kind regards,

D.

@Max2433BO
Copy link
Contributor Author

sorry I explained myself badly...

Now I try again:

When you select a component and position it on the grid, the same remains attached to the cursor (component highlighted in green).
Now, to unhook the component (green) from the cursor, press the spacebar.

The request was: could it not be that in this case pressing the right mouse button releases the component?

... I hope I have explained myself better with my rough English.

Bye, Max

@DarwinNE
Copy link
Owner

Hi @Max2433BO
thank you for the additional details.
However, there is still something I do not get: if you are editing a drawing and you are in the "edit" mode (i.e. the arrow icon in the toolbox), you are expected to show a contextual menu when you right click. This can be done on top of a circuit element or elsewhere, so I can not use the right click for something else.
Should I add something like "select none" to the contextual menu (there is already "select all")?

Cheers,
D.

@Max2433BO
Copy link
Contributor Author

Ok @DarwinNE

...but when there is the selected component attached to the cursor (in drawing mode), highlighted in green, in this case the use of the right button of the moue, now, has no effect (no contextual menu appears).

So, just in this case, would it not be possible to associate the spacebar function with the right mouse button?

In this way, the previously used component would be deleted from the cursor using either the spacebar key or the right mouse button.

bye, Max

@DarwinNE
Copy link
Owner

Hi @Max2433BO,
sorry, but I still do not understand...
When you say that "the selected component attached to the cursor (in drawing mode)" you mean when you are moving an object? But in this case, you have to click and drag the mouse and you are already pressing the left button...
Can you please describe step by step how to get to the situation you are describing?
Maybe I do not understand as I am used to MacOSX and a trackpad and not a real mouse.

Cheers,
D.

@Max2433BO
Copy link
Contributor Author

Hi @DarwinNE

No problem, don't worry:

  1. In the component window we choose, for example, a capacitor (In Italian version: Libreria standard -> Componenti discreti -> Condensatore)
  2. We point the capacitor with the cursor and, by pressing the left mouse button, select it.
  3. Now, if we move the cursor on the grid, a green capacitor will appear that follows all cursor movements
  4. If we press the left mouse button, a capacitor is positioned on the grid (appears in black) where the cursor is located, but the green capacitor always remains connected to the cursor and its movements.
  5. At present, to disconnect the green capacitor from the cursor, press the spacebar.

The request was: is it possible to implement the disconnection of the component from the cursor (point 5 above) by pressing the right mouse button?

In practice, only in this case, pressing the right mouse button should emulate the spacebar.

By, Max

@DarwinNE
Copy link
Owner

Hi @Max2433BO,
I think now I understand what you mean.

I see what I can do about it.

Cheers,

D.

@DarwinNE DarwinNE self-assigned this Apr 22, 2020
@DarwinNE DarwinNE added this to the FidoCadJ 0.24.8 milestone Apr 22, 2020
DarwinNE added a commit that referenced this issue May 1, 2020
@DarwinNE
Copy link
Owner

DarwinNE commented May 1, 2020

The last commit should complete the implementation of this request. I close it.

@DarwinNE DarwinNE closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A suggestion about how to improve the project programming Something related to the programming activity on the project Swing All related to the Swing interface code user interface Improvements related to the user interface
Projects
None yet
Development

No branches or pull requests

2 participants