The enter key closes the dialog and the tab key leaveds the field. But I want to see the effect of addiing e.g. 3 mm to the y-position. Howevr, that one must press TAB just so see the change in a dialog is nothing users can know because in all other dialogs of FC this is not necessaryx.wandererfan wrote: ↑Sat Apr 18, 2020 3:24 pm
Yes, I understand this. But in the current configuration, there is no need to close the dialog to see the update. The tab key will trigger an update, as will changing focus to another widget. The enter key should do it also, but that is trapped somewhere and never delivered to the widget in the dialog.
Yes, but is the problem of 6 recomputations? I still cannot see anything special. Very large files will always need more calculation power. E.g. I got samples from KBWBE (a2plus author) that are large and for them even create a simple part view can take minutes. But OK, everybody knows that CAD needs some CPU and GPU power.The issue was that the recompute was being triggered by the dialog for every keystroke in the changed field. So if you wanted to change the X position of the highlight from 350 mm to 500 mm the recalculation would be done approximately 6 times - 3 backspaces to remove the old value, then 3 keys to enter the new value.
And such large files as his examples re in general not capable to construct with FC, because also the Sketcher and PartDesign takes ages and sometimes Windows kills FC because it becomes unresponsive. But we are here not talking about extreme cases that in general can break FC.
This file make Windows kill FC because it becomes unresponsive. So it is broken in general. Directly after opening I see theses errors:I believe I was using "screwjack_assembly.fcstd". The initial section origin point is too far to the right, and trying to move the position back to the origin triggered the loop/slow response.
Code: Select all
Traceback (most recent call last):
File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_viewProviderProxies.py", line 288, in onChanged
setattr( cMirror, prop, getattr( obj, prop) )
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Suppressed'
Traceback (most recent call last):
File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_viewProviderProxies.py", line 288, in onChanged
setattr( cMirror, prop, getattr( obj, prop) )
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Suppressed'
Traceback (most recent call last):
File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_viewProviderProxies.py", line 288, in onChanged
setattr( cMirror, prop, getattr( obj, prop) )
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Suppressed'
Traceback (most recent call last):
File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_viewProviderProxies.py", line 288, in onChanged
setattr( cMirror, prop, getattr( obj, prop) )
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Suppressed'
Traceback (most recent call last):
File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_viewProviderProxies.py", line 288, in onChanged
setattr( cMirror, prop, getattr( obj, prop) )
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Suppressed'
Traceback (most recent call last):
File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_viewProviderProxies.py", line 288, in onChanged
setattr( cMirror, prop, getattr( obj, prop) )
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Suppressed'