-
Notifications
You must be signed in to change notification settings - Fork 30
Web eID dialog disposing
Mart Sõmermaa edited this page Jun 8, 2022
·
13 revisions
TODO: Add a diagram that depicts the call and event chains that cause the Web eID dialog to be disposed and deleted.
Dialog disposal is quite complex as there are a number of different scenarios that cause the disposal:
- retriable error occurs, user clicks Retry,
- fatal error occurs,
- user clicks Cancel on the dialog (window destroyed → controller exit),
- user clicks OK on the dialog (window destroyed → controller exit),
- user clicks Cancel on the PIN pad (window destroyed → controller exit),
- user clicks OK on the PIN pad (window destroyed → controller exit).
Connecting the window destroyed signal to the controller exit slot assures that the window has been properly disposed when the controller exits.