How do i close a file and switch to command mode
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
How do i close a file and switch to command mode
Hi
I do almost everything with keyboard shortcuts.
1)I would like to be able to close the current file/drawing using a keyboard shortcut. Control W is shown on the drop down menu, but if I press control W, nothing happens. I note that if I run it from a bash terminal , it says 'Warning: QAction::eventFilter: Ambiguous shortcut overload: Ctrl+W". Does anyone have a work around for this? I am running version 3.4.5, 32 bit on Debian Wheezy.
2) I cancel commands using the shortcut 'qq', but sometimes this doesn't work because the focus is currently on an imput field like the Command line or a parameter box. I can switch back to command mode by pressing escape, but sometimes I need to press escape multiple times before I can type shortcuts like qq. Is there a shorter, faster key combination that I can use to move the focus away from any import fields so that I can immediately type the next shortcut in like qq or za?
I do almost everything with keyboard shortcuts.
1)I would like to be able to close the current file/drawing using a keyboard shortcut. Control W is shown on the drop down menu, but if I press control W, nothing happens. I note that if I run it from a bash terminal , it says 'Warning: QAction::eventFilter: Ambiguous shortcut overload: Ctrl+W". Does anyone have a work around for this? I am running version 3.4.5, 32 bit on Debian Wheezy.
2) I cancel commands using the shortcut 'qq', but sometimes this doesn't work because the focus is currently on an imput field like the Command line or a parameter box. I can switch back to command mode by pressing escape, but sometimes I need to press escape multiple times before I can type shortcuts like qq. Is there a shorter, faster key combination that I can use to move the focus away from any import fields so that I can immediately type the next shortcut in like qq or za?
Re: How do i close a file and switch to command mode
Thanks for your report. I will look into this.fishface wrote:1)I would like to be able to close the current file/drawing using a keyboard shortcut. Control W is shown on the drop down menu, but if I press control W, nothing happens. I note that if I run it from a bash terminal , it says 'Warning: QAction::eventFilter: Ambiguous shortcut overload: Ctrl+W". Does anyone have a work around for this? I am running version 3.4.5, 32 bit on Debian Wheezy.
No, there is no key code to change the focus.fishface wrote:2) I cancel commands using the shortcut 'qq', but sometimes this doesn't work because the focus is currently on an imput field like the Command line or a parameter box. I can switch back to command mode by pressing escape, but sometimes I need to press escape multiple times before I can type shortcuts like qq. Is there a shorter, faster key combination that I can use to move the focus away from any import fields so that I can immediately type the next shortcut in like qq or za?
- hungerburg
- Premier Member
- Posts: 160
- Joined: Fri May 28, 2010 7:35 pm
Re: How do i close a file
Andrew, any news on this? I see that in 3.6 on linux. Browsing through the menus, I cannot find another entry apart from "close" that would claim the CRTL-W combination, so its a miracle where the ambiguity comes from…andrew wrote:Thanks for your report. I will look into this.fishface wrote:1)I would like to be able to close the current file/drawing using a keyboard shortcut. Control W is shown on the drop down menu, but if I press control W, nothing happens. I note that if I run it from a bash terminal , it says 'Warning: QAction::eventFilter: Ambiguous shortcut overload: Ctrl+W". Does anyone have a work around for this? I am running version 3.4.5, 32 bit on Debian Wheezy.
PS: The "window" menu item "close all" might be "CTRL-SHIFT-W"?
Re: How do i close a file and switch to command mode
You can patch your QCAD by saving the two attached files to their appropriate directory.
- Attachments
-
- CloseAllInit.js
- Replaces scripts/Window/CloseAll/CloseAllInit.js
- (390 Bytes) Downloaded 616 times
-
- CloseFileInit.js
- Replaces scripts/File/CloseFile/CloseFileInit.js
- (532 Bytes) Downloaded 529 times
Re: How do i close a file and switch to command mode
I actually have the same problem.andrew wrote:No, there is no key code to change the focus.fishface wrote:2) I cancel commands using the shortcut 'qq', but sometimes this doesn't work because the focus is currently on an imput field like the Command line or a parameter box. I can switch back to command mode by pressing escape, but sometimes I need to press escape multiple times before I can type shortcuts like qq. Is there a shorter, faster key combination that I can use to move the focus away from any import fields so that I can immediately type the next shortcut in like qq or za?
When drawing lines, I often enter coordinates in the command line. For the next segment, I sometimes want to use a keyboard shortcut (e.g. restrict horizontally, EH), so I need to get the focus away from the command line. Escape or the right mouse button do this, but they also restart the line command so that I cannot continue the line where I left off.
I have found that here, the middle mouse button does what I want. Still, a generic keyboard shortcut to "unfocus" the command line would be very helpful!
Re: How do i close a file and switch to command mode
Hi chriddy, welcome.chriddy wrote:When drawing lines, I often enter coordinates in the command line. For the next segment, I sometimes want to use a keyboard shortcut (e.g. restrict horizontally, EH), so I need to get the focus away from the command line. Escape or the right mouse button do this, but they also restart the line command so that I cannot continue the line where I left off.
I'm trying to understand this one, if you are using the command line to enter coordinates for drawing lines etc - then lets say you want to use the shorcut 'EH' you can still stay focussed in the command line and type in EH then press enter, to come out of the restriction type in EN then press enter while you are still in the command line, ther's no need to reenter the command line at all in this particular instance - unless I've got it all wrong, please explain clearly with steps what you mean.
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: How do i close a file and switch to command mode
Hi Clive,Clive wrote: then lets say you want to use the shorcut 'EH' you can still stay focussed in the command line and type in EH then press enter
thanks a lot, that never occured to me!!
Re: How do i close a file and switch to command mode
Hey no worries, most things never occur to me straight away ... or so my wife tells me, but I do trychriddy wrote:thanks a lot, that never occured to me!!
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
- dfriasb
- Senior Member
- Posts: 119
- Joined: Thu Mar 10, 2016 1:08 pm
- Location: Calafell, Tarragona, Spain
Re: How do i close a file and switch to command mode
I don't find the way to close the current window/drawing by keyboard. I'm on Linux - Ubuntu 16.04, last QCAD version.
Only "Close All" with Ctrl+Shift+W is possible. I there any other way a part from mouse?
Thanks a lot! Best regards,
David
Only "Close All" with Ctrl+Shift+W is possible. I there any other way a part from mouse?
Thanks a lot! Best regards,
David