FS#2553 - Attributes created from invisible attribute definitions are visible
Andrew,
It seems that Attribute Definitions are created by default with Invisible = Yes
I can’t control this property on creation.
I can select the newly created Attribute Definition and toggle the flag.
Consequence when not updating this flag for each new Attribute Definition is that inserted Block Attributes disappear on synchronizing.
See attached files.
The default Invisible = Yes setting is not retained on save/reload.
(You will probably discover these flags to be ‘No’ in the attached files)
Synchronizing after a reload has no longer the mentioned consequence.
On inserting a Block Reference based on a Block with Attribute Definitions the Invisible flag of new Block Attributes is always ‘No’.
InsertBlock.js nor InsertBlockItem.js consider the Attribute Definition Invisible flag status when creating and inserting a new RAttributeEntity object.
e.g.: InsertBlock.js L184-L206
IMHO:
- Invisible = Yes on creation is not the best default for new Attribute Definitions.
- Not retaining this flag on save/reload is probably not intended.
- Disregarding the Attribute Definitions Invisible flag on block insertion seems incorrect.
Related forum topic:
https://qcad.org/rsforum/viewtopic.php?f=32&t=10714
Regards,
CVH
22.03.2024 08:56
Reason for closing: Fixed
Additional comments about closing:
Partially not reproducible
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
After spitting trough code and commits:
Flag status for new Attributes should have been fixed on Oct 12, 2015 ... FS#1277
And that of Attribute Definitions on Oct 14, 2021 ...Commit: add invisible flag
It should thus be implemented in my older 3.27.6 (2022/05/18) installation.
Included a screen capture after creating a new Attribute Definition (3.29.4)
I couldn't reproduce "Invisible = Yes on creation" or "Not retaining this flag on save/reload" here.
I can confirm "Disregarding the Attribute Definitions Invisible flag on block insertion".