Currently a OK dialog is being used for the VideoBackground configuration dialog.
When pressing OK, the video will be started/stopped depending on the checkState of the checkbox inside the dialog.
Instead of clicking OK, it is also possible to leave the dialog by pressing ESC (back). In this case the changes are still saved, but the change is not applied immediately.
To reproduce:
1. Enable the video background by checking the checkbox and selecting a video
2. Press OK button
Video is being started -> OK
3. Reopen the configuration
Checkbox is checked and path to video is being displayed -> OK
4. uncheck the checkbox
5. Close the dialog by pressing ESC
The video is still being displayed -> by be OK, since ESC aborts changing the setting
6. Reopen the configuration
The checkbox is not checked anymore, but it should, since pressing ESC should not have affected the setting at all.
When pressing OK, the video will be started/stopped depending on the checkState of the checkbox inside the dialog.
Instead of clicking OK, it is also possible to leave the dialog by pressing ESC (back). In this case the changes are still saved, but the change is not applied immediately.
To reproduce:
1. Enable the video background by checking the checkbox and selecting a video
2. Press OK button
Video is being started -> OK
3. Reopen the configuration
Checkbox is checked and path to video is being displayed -> OK
4. uncheck the checkbox
5. Close the dialog by pressing ESC
The video is still being displayed -> by be OK, since ESC aborts changing the setting
6. Reopen the configuration
The checkbox is not checked anymore, but it should, since pressing ESC should not have affected the setting at all.