Anonymous Login
2019-11-20 17:19 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001931OpenClonkObjectspublic2017-08-20 11:56
ReporterMarky 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target Version8.1Fixed in Version 
Summary0001931: Interaction GUI does not update if the interaction object does not change
DescriptionThe interaction GUI calls:

var high_prio = nil;
for (var interactable in interactables)
if (high_prio == nil || (interactable.priority < high_prio.priority))
    high_prio = interactable;
...
SetCurrentInteraction(high_prio);

and in SetCurrentInteraction there is no update if (DeepEqual(interaction, current_interaction)).

However, there are situations where the object stays the same, but the interaction changes - in such cases the symbol/text in the GUI are not updated. When pressing the interaction button the right interaction is executed, though.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0005699

Zapper (developer)

Wait, which interaction UI? The interaction symbols are not shown anymore, are they?

~0005700

Marky (developer)

I am talking about that thing in the top left, next to the crew member view. The icons that signal that you can grab a lorry, call an elevator, and so forth.

Those are still there, but they do not update if the interaction object stays the same. Might be a programming error, because the function expects a proplist, but gets an object.

The definition is (from memory): HUD/controller.ocd/controller InteractionBar.ocd
+Notes

-Issue History
Date Modified Username Field Change
2017-07-23 19:20 Marky New Issue
2017-07-25 08:45 Zapper Note Added: 0005699
2017-07-25 14:55 Marky Note Added: 0005700
2017-08-05 13:58 Maikel Target Version => 8.0
2017-08-20 11:56 Zapper Target Version 8.0 => 8.1
+Issue History