Page 1 of 1

How to leave the command line by keyboard?

Posted: Thu Sep 16, 2021 7:30 am
by massimo
Hi,

for positioning I enter the keyboard mode by <space>, then I have focus on the command line and can type @20;50<enter>

But how do I release the command line? According to the manuals <ESC> should leave the command line in order to enter new short commands like "mv" for move. But I can't leave the command line as long as the mouse pointer is inside the drawing area. As soon as the pointer leaves the drawing area, the command line is left. <ESC> is not detected at all and I can't see any option about that.


QCAD Community Edition on Linux

Version:
3.26.0.0 (3.26.0)
Internet:
QCAD.org
Erstellungsdatum:
Mar 9 2021
Revision:

Qt Version:
5.15.2
Architektur:
x86_64
Compiler:
gcc 10.2.0

Re: How to leave the command line by keyboard?

Posted: Thu Sep 16, 2021 7:58 am
by CVH
massimo wrote:
Thu Sep 16, 2021 7:30 am
According to the manuals <ESC> should leave the command line in order to enter new short commands like "mv" for move.
First: MV requires a selection, escaping a drawing method usually leaves no selection. :wink:

e.g. Draw Line from 2 Points (LI) using the command line to enter 2 points.
The first escape leaves the command line ...

LI is still active and requires a next point.
The second escape is similar to the right mouse button = 'Done'
LI is still active and now requires a first point.
The third escape is again the right button = 'Cancel'

After canceling the LI method one can enter a valid shortcut e.g. TM (Trim Both)

One could also reset LI directly in the command line by QQ. :wink:

Regards,
CVH

Re: How to leave the command line by keyboard?

Posted: Thu Sep 16, 2021 9:57 am
by massimo
That does not work here.

I type "li", then <space> to enter the command line, then @100;100<enter> @200;200<enter>.
The line is there, but I can't leave the command line by pressing <ESC> multiple times. I need to move the mouse cursor out of the drawing first.

I would like to be able to work by keyboard only in some situations, like that:

I type "li", then <space> to enter the command line, then @100;100<enter> @200;200<enter><ESC><ESC>ci ... now drawing a circle.

Re: How to leave the command line by keyboard?

Posted: Thu Sep 16, 2021 10:08 am
by CVH
massimo wrote:
Thu Sep 16, 2021 9:57 am
I type "li", then <space> to enter the command line, then @100;100<enter> @200;200<enter><ESC><ESC>ci ... now drawing a circle.
Have you tried: 'LI' .. <space> .. '@100;100' .. <enter> .. '@200;200' .. <enter> .. 'QQ' .. <enter> .. 'CI' .. <enter> ?

EDIT: <ESC> .. <ESC> .. <ESC> .. 'CI' works too :wink: (win7)

Regards,
CVH

Re: How to leave the command line by keyboard?

Posted: Thu Sep 16, 2021 12:28 pm
by massimo
Both does not release the command line focus.

Re: How to leave the command line by keyboard?

Posted: Fri Sep 17, 2021 12:05 am
by Husky
massimo wrote:
Thu Sep 16, 2021 12:28 pm
Both does not release the command line focus.
For clarification:
You are using the ESC key on your Keyboard and you're not typing esc into the command line, correct?

Re: How to leave the command line by keyboard?

Posted: Sat Sep 18, 2021 7:53 am
by massimo
Yes, with <ESC> I mean pressing the ESC button on the keyboard.

Re: How to leave the command line by keyboard?

Posted: Sat Sep 18, 2021 11:44 pm
by Husky
massimo wrote:
Sat Sep 18, 2021 7:53 am
Yes, with <ESC> I mean pressing the ESC button on the keyboard.
Thanks for clarification.

I'm on a Windows system and have no access to a Linux for testing. I'm assuming that QCAD acts on Linux identical like Windows and your request tested on Windows works just fine. This said there are only two option left. The Linux package works differently or you did one or more settings in QCAD which prevent the proper work of that shortcut. To eliminate one of the two option you need to reset QCAD what means ALL your personal settings in QCAD are gone. Please close QCAD and delete the files QCAD3.conf and library_3_0_0_9.db. Where to find them is explained in this tutorial:
https://qcad.org/en/tutorial-resetting- ... tion#Linux

Note: If you just like to test a reset of QCAD backup or rename the two mentioned files which then can be used later to reverse the reset.

Please keep us posted. Thanks.

Re: How to leave the command line by keyboard?

Posted: Sat Dec 11, 2021 12:49 am
by lphilpot
I know this is an older thread, but for what it's worth the behavior on my Xubuntu Linux system matches Windows exactly.

Re: How to leave the command line by keyboard?

Posted: Wed Jan 26, 2022 7:36 am
by massimo
massimo wrote:
Thu Sep 16, 2021 9:57 am
I type "li", then <space> to enter the command line, then @100;100<enter> @200;200<enter>.
The line is there, but I can't leave the command line by pressing <ESC> multiple times. I need to move the mouse cursor out of the drawing first.

I would like to be able to work by keyboard only in some situations, like that:

I type "li", then <space> to enter the command line, then @100;100<enter> @200;200<enter><ESC><ESC>ci ... now drawing a circle.
One information that might help and that also exists in Windows somewhere:
I'm using Xfce and have enabled Settings->Window Manager->Focus->Focus Model->[x] Focus follows mouse
That means I have focussed every window under the mouse pointer without clicking, which is the most reasonable setting for my work flow since many many years. You could do that on Windows as well, at least it was possible via regedit in Windows XP times.

That means for leaving the command line as said above, I need to move the pointer out of the drawing window to some of the tool or layer windows, then back to the drawing window. Then ESC button works and I can go on with the next command like "ci" for circle.

Re: How to leave the command line by keyboard?

Posted: Thu Jan 27, 2022 1:22 pm
by jhonalbert
You can also use the shortcut key Alt + F4 to close a Command Prompt window.

Re: How to leave the command line by keyboard?

Posted: Thu Jan 27, 2022 4:01 pm
by massimo
But I don't want to close any of the windows. I just can't leave the command line without a focus switch from the drawing area and back to that.