View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005180 | NoesisGUI | C++ SDK | public | 2026-08-20 22:36 | 2026-11-05 21:21 |
| Reporter | ESwart | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.0 | ||||
| Target Version | 4.0.2 | Fixed in Version | 4.0.2 | ||
| Summary | 0005180: No way to query Behaviors field without allocating a BehaviorsCollection | ||||
| Description | Currently when using Interaction::GetBehaviors(), this will create a BehaviorsCollection if there was not already one. It would be nice to have a method to either check if there already is an attached collection, or to have a getter that does not create the collection. | ||||
| Platform | Any | ||||
|
We're thinking on adding the following methods:
Would that solve your scenario? |
|
|
Yes it would! |
|
|
Or to clarify, would the second parameter here be optional? Or if not, would it simply set the pointer I pass in to nullptr if there is no collection? |
|
|
The idea of the second parameter is just a minor optimization to get the collection if it is already set:
We can also offer a simple |
|
|
Ok sounds good! I'm not picky about the actual interface here, I just want to make sure that if the element doesn't have behaviors, then I have an option to not mutate its state |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-08-20 22:36 | ESwart | New Issue | |
| 2026-08-21 20:19 | jsantos | Assigned To | => sfernandez |
| 2026-08-21 20:19 | jsantos | Status | new => assigned |
| 2026-08-21 20:19 | jsantos | Target Version | => 4.0.1 |
| 2026-08-21 20:19 | jsantos | Product Version | => 4.0 |
| 2026-10-16 12:18 | jsantos | Target Version | 4.0.1 => 4.0.2 |
| 2026-11-03 16:09 | sfernandez | Status | assigned => feedback |
| 2026-11-03 16:09 | sfernandez | Note Added: 0012848 | |
| 2026-11-03 21:11 | ESwart | Note Added: 0012851 | |
| 2026-11-03 21:11 | ESwart | Status | feedback => assigned |
| 2026-11-03 21:13 | ESwart | Note Added: 0012852 | |
| 2026-11-04 10:48 | sfernandez | Status | assigned => feedback |
| 2026-11-04 10:48 | sfernandez | Note Added: 0012859 | |
| 2026-11-04 23:57 | ESwart | Note Added: 0012867 | |
| 2026-11-04 23:57 | ESwart | Status | feedback => assigned |
| 2026-11-05 21:21 | sfernandez | Status | assigned => resolved |
| 2026-11-05 21:21 | sfernandez | Resolution | open => fixed |
| 2026-11-05 21:21 | sfernandez | Fixed in Version | => 4.0.2 |