[Solved] Number 0 Not Working on Fast Input with RS Rectangle
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.
[Solved] Number 0 Not Working on Fast Input with RS Rectangle
---------------------------------------------------------------------
Solution is closing the Library Browser
Refer to my reply for details
---------------------------------------------------------------------
Below is original question
Hello everyone, I am facing a problem which are working well before.
When using hotkey to call out Rectangle With Size (RE), use to be direct key in the Radius, then Width and Height, and then Enter or click to confirm the size.
Key sequence: R>E>Radius>Width>Height>Enter
But after I fixing the "Enable Radius Locking" problem, as I will describe below, the fast input stopped working with 0 radius. Means I can't press 0 to fill in the radius, 1-9 works well.
Key sequence: R>E>0 (not start filling the radius, unable to proceed filling width and height)
It create a problem when I need to create a rectangle with 0 radius with sizes I needed. I know that I can type whatever radius to create a rectangle, since the radius is disable by default, but it seem counterintuitive.
About the Enable Radius Locking problem:
It means at some point, the RE function will start enable the radius at a fix radius by default, then I need to disable it by changing the QCAD3.ini file ((C:)>User>[User Name]>AppData>Roaming>QCAD). By setting the RoundCorners=false and Radius=0, and changing the file to "Read Only". So the radius will disable by default.
Software info:
QCAD Professional
Version: 3.24.2.0 (3.24.2)
System: Win 10
Solution is closing the Library Browser
Refer to my reply for details
---------------------------------------------------------------------
Below is original question
Hello everyone, I am facing a problem which are working well before.
When using hotkey to call out Rectangle With Size (RE), use to be direct key in the Radius, then Width and Height, and then Enter or click to confirm the size.
Key sequence: R>E>Radius>Width>Height>Enter
But after I fixing the "Enable Radius Locking" problem, as I will describe below, the fast input stopped working with 0 radius. Means I can't press 0 to fill in the radius, 1-9 works well.
Key sequence: R>E>0 (not start filling the radius, unable to proceed filling width and height)
It create a problem when I need to create a rectangle with 0 radius with sizes I needed. I know that I can type whatever radius to create a rectangle, since the radius is disable by default, but it seem counterintuitive.
About the Enable Radius Locking problem:
It means at some point, the RE function will start enable the radius at a fix radius by default, then I need to disable it by changing the QCAD3.ini file ((C:)>User>[User Name]>AppData>Roaming>QCAD). By setting the RoundCorners=false and Radius=0, and changing the file to "Read Only". So the radius will disable by default.
Software info:
QCAD Professional
Version: 3.24.2.0 (3.24.2)
System: Win 10
- Attachments
-
- Number 0 Not Working as Fast Input.png (28.26 KiB) Viewed 13095 times
Last edited by QJNeo on Wed Dec 16, 2020 4:51 am, edited 2 times in total.
Re: Number 0 Not Working on Fast Input with RS Rectangle
Hi,
A) The options on the Option Toolbar tell us that RS is active in the screenview.
B) I can confirm the RS flag 'Radius' is in fact controlled by the RE flag status, 'fill' too.
You could file a bug report for that: https://qcad.org/bugtracker/
C) Locking the QCAD ini file is a (very) bad idea
D) Starting to type switches the focus to the first entry of the Option Toolbar, there TAB can be used
As you explained that doesn't work well when the ini file is read only
'0' doesn't alter the existing value ... QCAD gets stuck in the update of the widget.
E) Refer to:
https://qcad.org/archives/shortcuts/shortcuts_en.pdf
for using direct key schortcut to the Option Toolbar
Regards,
CVH
A) The options on the Option Toolbar tell us that RS is active in the screenview.
B) I can confirm the RS flag 'Radius' is in fact controlled by the RE flag status, 'fill' too.
You could file a bug report for that: https://qcad.org/bugtracker/
C) Locking the QCAD ini file is a (very) bad idea
D) Starting to type switches the focus to the first entry of the Option Toolbar, there TAB can be used
As you explained that doesn't work well when the ini file is read only
'0' doesn't alter the existing value ... QCAD gets stuck in the update of the widget.
E) Refer to:
https://qcad.org/archives/shortcuts/shortcuts_en.pdf
for using direct key schortcut to the Option Toolbar
Regards,
CVH
Re: Number 0 Not Working on Fast Input with RS Rectangle
Checked on a Win10/64 / QCAD 3.25.2.4
Bug? Yes - but I guess it is more complex ...
If you start writing with any other number the focus goes to the option bar!
If you need to type first a 0 then you have to manually focus to the option bar with CTRL + Space
BTW: Cycle through each entry works flawless with Tab but check or uncheck a checkbox with space doesn't works. That would be the Standard by Windows ...
Controlled? I would call it synchronized.CVH wrote: ↑Tue Dec 15, 2020 12:40 pmB) I can confirm the RS flag 'Radius' is in fact controlled by the RE flag status, 'fill' too.
You could file a bug report for that: https://qcad.org/bugtracker/
Bug? Yes - but I guess it is more complex ...
Depends on what you type! If the first hit on the keyboard is a 0 then it will not switch the focus to the option bar. It will instead update the Library index. I assume that is basically the issue the user has experienced ...
If you start writing with any other number the focus goes to the option bar!
If you need to type first a 0 then you have to manually focus to the option bar with CTRL + Space
BTW: Cycle through each entry works flawless with Tab but check or uncheck a checkbox with space doesn't works. That would be the Standard by Windows ...
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Number 0 Not Working on Fast Input with RS Rectangle
Thanks for your reply.CVH wrote: ↑Tue Dec 15, 2020 12:40 pmHi,
A) The options on the Option Toolbar tell us that RS is active in the screenview.
B) I can confirm the RS flag 'Radius' is in fact controlled by the RE flag status, 'fill' too.
You could file a bug report for that: https://qcad.org/bugtracker/
C) Locking the QCAD ini file is a (very) bad idea
D) Starting to type switches the focus to the first entry of the Option Toolbar, there TAB can be used
As you explained that doesn't work well when the ini file is read only
'0' doesn't alter the existing value ... QCAD gets stuck in the update of the widget.
E) Refer to:
https://qcad.org/archives/shortcuts/shortcuts_en.pdf
for using direct key schortcut to the Option Toolbar
Regards,
CVH
Already found out the problem to be I enable the Library Browser, so when I press 0, it press the "Update DB from file system" button. Just closing the window can solve the problem. I will report the bug too.
The reference for shortcuts are very helpful too.
Re: Number 0 Not Working on Fast Input with RS Rectangle
Yes, exactly what I facing, just found out the 0 actually pressing the Library Browser's "Update DB from file system" button instead of into the radius.Husky wrote: ↑Tue Dec 15, 2020 9:31 pmChecked on a Win10/64 / QCAD 3.25.2.4
Controlled? I would call it synchronized.CVH wrote: ↑Tue Dec 15, 2020 12:40 pmB) I can confirm the RS flag 'Radius' is in fact controlled by the RE flag status, 'fill' too.
You could file a bug report for that: https://qcad.org/bugtracker/
Bug? Yes - but I guess it is more complex ...
Depends on what you type! If the first hit on the keyboard is a 0 then it will not switch the focus to the option bar. It will instead update the Library index. I assume that is basically the issue the user has experienced ...
If you start writing with any other number the focus goes to the option bar!
If you need to type first a 0 then you have to manually focus to the option bar with CTRL + Space
BTW: Cycle through each entry works flawless with Tab but check or uncheck a checkbox with space doesn't works. That would be the Standard by Windows ...
The Ctrl + Space trick also works as well, you guys are very helpful
Re: Number 0 Not Working on Fast Input with RS Rectangle
Found the answer
Solution is closing the Library Browser.
Since when you have Library Browser enable, pressing 0 will activate the button "Update DB from File System" in the Browser instead of typing into the RE>Radius.
I think it's a bug, will report that.
Thank you guys for the help, really fast and accurate
Solution is closing the Library Browser.
Since when you have Library Browser enable, pressing 0 will activate the button "Update DB from File System" in the Browser instead of typing into the RE>Radius.
I think it's a bug, will report that.
Thank you guys for the help, really fast and accurate
- Attachments
-
- QCAD 0 Not Working Library Brower Problem.png (36.63 KiB) Viewed 13037 times
Re: Number 0 Not Working on Fast Input with RS Rectangle
Yes I agree. Please fill the bug report below www.qcad.org/bugtracker. Thank you!
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: [Solved] Number 0 Not Working on Fast Input with RS Rectangle
Confirmed:Husky wrote: ↑Wed Dec 16, 2020 6:37 amYes I agree. Please fill the bug report below www.qcad.org/bugtracker. Thank you!
Re: [Solved] Number 0 Not Working on Fast Input with RS Rectangle
Solved in Version: 3.25.2.7
Thanks, Andrew.
Thanks, Andrew.
Re: [Solved] Number 0 Not Working on Fast Input with RS Rectangle
I stopped with awaiting the explanation ...
Let's say it was a bit harder because some methods are PRO and at least one wasn't even readable.
I put my findings in a code pane to keep this post as short as possible.
Code: Select all
Draw .. Shape .. Rectangle (RE)
ShapeRectanglePP.js : Rectangle from two corner points.
Reads & Updates QCAD ini : [Shape]
- CreatePolyline=[boolean]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
- Rotate=[boolean]
- Rotation=[value]
Remark: Bar between Radius RMathLineEdit field and Rotate QCheckbox disapears after first one is drawn.
Remark: Preview is kept even moving outside the drawing area.
Draw .. Shape .. Rectangle with Size (RS)
ShapeRectangleSize.js : Rectangle from point and size.
Reads QCAD ini : [Shape]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
Reads & Updates QCAD ini : [ShapeRectangleSize]
- CreatePolyline=[boolean]
- Width=[value]
- Height=[value]
- Angle=[value]
- ReferencePoint=[value]
Remark: Fill, RoundCorners & Radius is not updated !!!
Remark: Bar between Radius RMathLineEdit field and Width QLabel disapears after first one is drawn.
Remark: No odd behaviour changing any Options Toolbar setting with the mouse after first one is drawn.
Draw .. Shape .. Rectangle (3 points) (R3)
PRO script ShapeRectangle3P : Rectangle from corner, length/angle, width
Reads & Updates QCAD ini : [Shape]
- CreatePolyline=[boolean]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
Remark: Bar after Radius RMathLineEdit field disapears after first one is drawn.
Remark: No odd behaviour changing any Options Toolbar setting with the mouse after first one is drawn.
Draw .. Shape .. Polygon (Center, Corner) (PG1)
ShapePolygonCP.js : Polygon with center, corner point and number of edges.
Reads & Updates QCAD ini : [ShapePolygonCP]
- CreatePolyline=[boolean]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
- Corners=[integer]
Remark: Bar between Radius RMathLineEdit field and Corners QLabel disapears after first one is drawn.
Remark: Odd behaviour (In situ) after drawing one and changing any Options Toolbar setting with the mouse after first one is drawn.
Draw .. Shape .. Polygon (2 Points of Side) (PG2)
Reads & ShapePolygonPP.js : Polygon from two corner points and number of edges.
Updates QCAD ini : [ShapePolygonPP]
- CreatePolyline=[boolean]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
- Corners=[integer]
Remark: Bar between Radius RMathLineEdit field and Corners QLabel disapears after first one is drawn.
Remark: Odd behaviour (NOT In situ) after drawing one and changing any Options Toolbar setting with the mouse after first one is drawn.
Draw .. Shape .. Polygon (Center, Side) (PG3)
ShapePolygonAFCP.js : Polygon with center, center point of flat edge and number of edges.
Reads & Updates QCAD ini : [ShapePolygonAFCP]
- CreatePolyline=[boolean]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
- Corners=[integer]
Remark: Bar between Radius RMathLineEdit field and Corners QLabel disapears after first one is drawn.
Remark: No odd behaviour changing any Options Toolbar setting with the mouse after first one is drawn.
Draw .. Shape .. Polygon (Side, Side) (PG4)
ShapePolygonAFPP.js : Polygon from two center points of two sides and number of edges.
Reads & Updates QCAD ini : [ShapePolygonAFPP]
- CreatePolyline=[boolean]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
- Corners=[integer]
- CornerToCorner=[boolean]
Remark: Bar between Radius RMathLineEdit field and Corners QLabel disapears after first one is drawn.
Remark: Odd behaviour (NOT In situ) after drawing one and changing any Options Toolbar setting with the mouse after first one is drawn.
Draw .. Shape .. Star(PT)
PRO script ShapeStarCPP : Star with center, corner point, inner corner point and number of edges.
Reads & Updates QCAD ini : [ShapeStarCPP]
- CreatePolyline=[boolean]
- Fill=[boolean]
- RoundCorners=[boolean]
- Radius=[value]
- Corners=[integer]
- Symmetrical=[boolean]
Remark: Icon shows 2 red dots, the tools needs 3 references.
Remark: Bar between Radius RMathLineEdit field and Corners QLabel disapears after first one is drawn.
Remark: Odd behaviour (In situ) after drawing one and changing the Options Toolbar settings Corners or Fill with the mouse after first one is drawn.
Remark: With round corners the projected intersection counts what is harder to prdict by humans.
Remark: The roundings may invert side, jumpy inversions.
Remark: Non-symetrical one can construct weird shapes and roundings may invert side, jumpy inversions.
6 out of 8 Shape methods have their settings individual in QCAD ini.
3 share their settings in the [Shape] group.
1 of them has additional individual settings and doesn't update the shared settings.
So, I think we can't speak of group synchronization.
Surely not for polygons.
Draw .. Shape .. Rectangle with Size (RS)
- Reads 3 settings from the QCAD.ini [Shape] header
- Doesn't write those back
- Reads & Updates 5 settings from the [ShapeRectangleSize] header
*EDIT* Visibility setting are restored with a round trip by AppPrefs Tool Settings
Clearly, there is a bug with Draw .. Shape .. Rectangle with Size (RS)
Regards,
CVH
Re: [Solved] Number 0 Not Working on Fast Input with RS Rectangle
Report is closed
Cheers,
CVH
Cheers,
CVH