Qucs / qucs

Qucs Project official mirror
http://qucs.sourceforge.net/
GNU General Public License v2.0
1.16k stars 213 forks source link

"Select" tool should be activated after dragging and dropping a component #918

Open Kezii opened 5 years ago

Kezii commented 5 years ago

I find annoying that after you drag and drop a component from the dock, you are left with no active tool, the left mouse click does nothing, and you have to click the icon in the toolbar to do anything, every time. Why is the select tool not enabled by default?

in3otd commented 5 years ago

um, the usual behaviour here is that after dragging and dropping a component from the dock it remains "attached" to the cursor and you can place it multiple times with a mouse left click; mouse right click rotates the component and middle click does nothing. To exit this state you can simply press the Esc key and the Select tool will be enabled. Do you see a different behavior on your system (Windows/Linux/etc.) ?

Kezii commented 5 years ago

I'm not sure if I understand There are two ways afaik to place a component:

  1. Drag and drop, to place the component only once (this is what the issue is about)
  2. Click the component, and click multiple times to place the component

Have you described method 2, or method 1 is broken on my system and it should behave like method 2? I compiled qucs from sources on Linux

I made a video: 2019-04-14 11-59-24.tar.gz

in3otd commented 5 years ago

yes, above I described the "method 2"; currently "method 1" does not behave much differently, you still need to press Esc to get back to the Select tool. I think this has "always" been the case (I mean, your system is not broken) but I see that it could be more useful if it went back to the Select tool or remembered the tool in use before the drag and drop.

ddrake commented 3 years ago

FWIW, I agree -- I think the most useful behavior would be to go to the Select tool after a drag and drop.

ddrake commented 3 years ago

Here's a recent example from the forum that I think illustrates why the behavior should be to go back to the Select tool.