QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    andrew
  • Operating System Windows 7
  • Severity Low
  • Priority Very Low
  • Reported Version 3.29.4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
    • CVH (19.03.2024)
  • Private
Attached to Project: QCAD Bugtracker
Opened by CVH - 19.03.2024
Last edited by andrew - 22.03.2024

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

Closed by  andrew
22.03.2024 08:56
Reason for closing:  Fixed
Additional comments about closing:  

Partially not reproducible

CVH commented on 19.03.2024 16:05

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)

Admin

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".

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing