This replaces the blocking CEF dialog with a non-blocking Qt dialog, ensuring that normal OBS user interaction can continue when a browser dock requests user input. Additionally, the dialog specifies which browser dock it originates from.
HTML is also rendered in plaintext (forcefully for the QInputDialog) to avoid arbitrary styling, while retaining newlines.
Description
This replaces the blocking CEF dialog with a non-blocking Qt dialog, ensuring that normal OBS user interaction can continue when a browser dock requests user input. Additionally, the dialog specifies which browser dock it originates from.
HTML is also rendered in plaintext (forcefully for the QInputDialog) to avoid arbitrary styling, while retaining newlines.
Depends on
Before:
After:
Motivation and Context
Firstly, and most importantly, we don't want a browser dock to have the power of blocking a user from interacting with OBS.
This also ensures a consistent style with other aspects of OBS instead of a poor imitation of a system dialog.
How Has This Been Tested?
Create a
.html
document with the following contents, load it in a custom browser dock, and press each of the 3 buttons.Types of changes
Checklist: