Bug #3589

Tool mode is not restored properly for diagram editors on reinitialization

Added by Tuukka Lehtonen over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:4Due date:
Assignee:Tuukka Lehtonen% Done:

100%

Category:DiagramSpent time:0.50 hour
Target version:2012-14
Release notes:
Story pointsS
Velocity based estimate-
ReleaseSimantics 1.7Release relationshipAuto

Description

When diagram editors are hidden, their internals are disposed and reinitialized once they become visible again.
This leads to the user's selected tool mode getting reset all the time when editors are shuffled around.

This leads to unexpected behaviour from the user's point of view.

Another question to raise is whether tool mode should be a global setting or not, but right now it is (should be) diagram specific.

Associated revisions

Revision 25396
Added by Tuukka Lehtonen over 5 years ago

Save active tool mode along with other diagram editor state data.
This fixed problems Tommi was experiencing when using the Connect tool, i.e. losing the connect mode all the time unexpectedly.

fixes #3589

Revision 25399
Added by Tuukka Lehtonen over 5 years ago

Shouldn't get hintstack in another thread besides the context access thread.

refs #3589

History

#1 Updated by Tuukka Lehtonen over 5 years ago

  • Subject changed from Save current tool mode along with other diagram editor state to Tol mode is not restored properly for diagram editors on reinitialization
  • Description updated (diff)
  • Category set to Diagram
  • Assignee set to Tuukka Lehtonen

#2 Updated by Tuukka Lehtonen over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r25396.

#3 Updated by Tuukka Lehtonen over 5 years ago

Applied in changeset r25396.

#4 Updated by Tuukka Lehtonen over 5 years ago

  • Subject changed from Tol mode is not restored properly for diagram editors on reinitialization to Tool mode is not restored properly for diagram editors on reinitialization

#5 Updated by Tuukka Lehtonen over 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF