- Status Assigned
- Percent Complete
- Task Type Bug Report
- Category QCAD/CAM
-
Assigned To
andrew - Operating System All
- Severity Low
- Priority Very Low
- Reported Version 3.32.0
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2632 - CamToolDialog: Input validation does not work as expected #2
Hi Andrew,
thanks for releasing version 3.32.0. I was happy to read in the changelog about the bugfixes.
But it seems that FS#2624 is not completely fixed. I might be my fault because I posted two problems (that directly belong together) in one entry/task (sorry for that).
Below you will find the relevant information again. It is the same as the second part of FS#2624 (following item 2...):
When the CamToolDialog is created and shown, the validation function needs to be called. Otherwise the user can create a new tool with empty (invalid) values.
Example: Click on the ‘Add tool’-button to open the CAMToolDialog. Initially, the values for tool diameter, speeds and feeds are empty. But the OK button is enabled.
By clicking OK, the invalid / empty values are taken for the new tool without error.
Suggested fix: The validation function should be called once after the dialog has been created / shown. This should show the according error messages and disable the OK button.
Workaround until the bug is fixed:
Overwrite the function CamToolDialog.prototype.afterShow in your postprocessor script and call the according validate function:
CamToolDialog.prototype.afterShow = function() {
CamToolDialog.prototype.validate.call(this); return true;
}
Please let me know if you need more details.
Regards,
Deejay
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task