Project

General

Profile

Actions

Bug #116

closed

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

Added by J. Templ over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/04/2016
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by I. Denisov over 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF