Bug #116

calling Dialog.Update in the notifier of a selection box does not work as expected

Added by J. Templ about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:07/04/2016
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

Description

Selection boxes report editing operations as a sequence of notifier calls because in the general case there may be multiple from/to ranges of affected entries. If a notifier calls Dialog.Update for its interactor this sets the selection box to the current (unfinished) state and terminates the editing operation before all changes are done.
As an example of the buggy behavior see the Info->Decode tool and try to select the first line and then the second line with a Mouse-Left click.
As a solution, it is proposed to delay the Update of a selection box in HostCFrames until all changes belonging to an editing operation have been done. This would also improved the runtime behavior from quadratic to linear.

Reported by J. Templ, 2016-07-04.

Associated revisions

Revision b5e285df
Added by J. Templ about 3 years ago

calling Dialog.Update in the notifier of a selection box does not work as expected. Refs: #116.
Update of a selection box is now delayed until all parts of an editing operation are finished.

Signed-off-by: Josef Templ <>

History

#1 Updated by I. Denisov about 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF