ESC button in Sketch

A subforum for research and development of the user interface of FreeCAD

Moderator: agryson

User avatar
HarryGeier
Posts: 594
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: ESC button in Sketch

Postby HarryGeier » Fri Sep 07, 2018 9:49 am

There is another discussion on that matter in the developers corner.. so expect things to happen...

https://forum.freecadweb.org/viewtopic.php?f=10&t=30759
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
User avatar
bill
Posts: 326
Joined: Fri Jan 09, 2015 9:25 pm

Re: ESC button in Sketch

Postby bill » Fri Sep 07, 2018 1:02 pm

ESC used to close SKETCH here is uneeded and a slight pain!

Alt-C or the CLOSE button are sufficient!
Alt-C_ForClose.png
Alt-C_ForClose.png (22.48 KiB) Viewed 201 times
wmayer
Site Admin
Posts: 13077
Joined: Thu Feb 19, 2009 10:32 am

Re: ESC button in Sketch

Postby wmayer » Fri Sep 07, 2018 2:30 pm

But it's standard behaviour that with ESC you close/cancel a dialog.
Jee-Bee
Posts: 1210
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: ESC button in Sketch

Postby Jee-Bee » Fri Sep 07, 2018 2:52 pm

That's exactly the point with sketcher. for every action done in a workbench, the sketch is the only one what have a action in a action.

if creating a feature in part design i get into a body but a body don't have a dialog and don't need it. so when creating a extrude it is only possible to go out of the extrude. after that it is finished.
If create a sketch a dialog opens what is nice because it gives more info other cad software don't give... then i create a line it opens a dialog (too).
when canceling the line it shouldn't cancel the sketch at all... but that is what happens when canceling is slow or fails the first (number of) times

I would almost say the sketcher is the only feature what is his workbench...
that's why the sketcher need some special treatment!!
mlampert
Posts: 965
Joined: Fri Sep 16, 2016 9:28 pm

Re: ESC button in Sketch

Postby mlampert » Mon Sep 10, 2018 3:11 am

Note that I posted PR-1656, it does not change the behaviour of Escape, so that discussion is still ongoing.

What it does though is ensure that the Sketcher behaves the same if one has just clicked on a tool in the task bar or not. So if one presses the "Create a rectangle" tool and then immediately press Escape - then the tool gets cancelled, not the entire Sketcher. This is the same behaviour as if one had actually used the tool to create a rectangle (or two) and then press Escape.