Issue 31204 — X601: Double clicking on new item in Tree list-view might not fire <Detail>
Status: Planned for resolution in 10.2.01
Solution available in patch(es): X801 MG01
Description:
Summary: The <Detail> trigger (and the Extended trigger <doubleClick>) of a Tree is not always fired when the user double clicks on a new value in the Tree list-view. This can occur when a loop (e.g. while) is executed within (the context of) the <Value Change> trigger of the tree. Environment: +Uniface: Version 9.6.06 - X601 (and higher) Version 9.7.01 (and higher) +Operating System: OS independent +Database: DBMS independent Symptoms: The <Detail> trigger (and the Extended trigger <doubleClick>) of a Tree is not always fired when the user double clicks on a new value in the Tree list view. This can occur when a loop (e.g. while) is executed within (the context of) the <Value Change> trigger of the tree. Consider the following scenario: 1. The form FRM1 features a Tree field (TREE1) that shows a list view 2. The list view is showing several items ('A', 'B', etc.) 3. Item 'A' is selected 4. The user double clicks item 'B' 5. In the <Value Changed> trigger some Proc code is processed (including e.g. a while loop) Actual: The <Value Changed> Trigger of TREE1 is fired Expectation: The extended trigger <doubleClick>, and the <Detail> trigger of TREE1 should also be fired.
Workaround:
There is no known workaround for this problem.
Notes:
Before the fix, the 'doubleClick' trigger of the Extended Triggers was not fired when you double-clicked the tree item when Uniface is busy. But after the fix, it will be fired.