FreeCAD/FreeCAD

UI: Improving the “description” of an object in the view tree

Aperta

#14.344 aperta il 28 mag 2024

 (10 commenti) (2 reazioni) (0 assegnatari)C++ (5550 fork)batch import
Good first issueHelp wantedTopic: User InterfaceType: Feature

Metriche repository

Star
 (30.913 stelle)
Metriche merge PR
 (Merge medio 24g 7h) (217 PR mergiate in 30 g)

Descrizione

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

  1. At the moment, the “description” field displayed in the view tree does not correspond to the name of the property. In the tree view it is “description”, and in the properties panel it is “label2”.
  2. To display the description in the view tree, a limited zone is used. In addition, for this column to appear, you need to activate this setting. As a result, this opportunity is difficult and inconvenient to use. (gif image) lllllr

Offer.

  1. In the title "description" change to "label2". And leave the current behavior as is. This will allow you to still use the second-level heading when the main heading is not enough.
  2. Add a “description” text field to the object properties. The text from this field could be displayed when hovering over an object in the view tree (if this property is filled). It would be possible to write fairly long descriptions of an object, which would be useful for making detailed notes regarding the object. Can be compared to comments in programming. Imagine that you are sharing a file with someone. Such information could be very useful in this case. Description

Related tasks. At the moment, a pop-up message when hovering over an object in the view tree is already available. But it is only displayed if an error occurs. It might be better to change the error color to red and make the “description” field blue or green.

err

Full version info

Any

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Guida contributor