The import function in the extension's settings is unusable in Chrome. After selecting a file to import, the entire dialog closes before the "Append" button can be clicked.
Steps to Reproduce
Click the Mod-Box extension icon next to the URL bar (popup opens)
Click "Settings"
Click the option to open/import a file
Select the previously exported rules file in the file picker
Click "Open"
Expected Behavior
The file picker closes, the settings dialog remains open, and the "Append" button can be clicked to append the imported rules.
Actual Behavior
Clicking "Open" in the file picker closes both the file picker and the extension's settings dialog. Reopening the settings dialog does not preserve the selected file, so "Append" cannot be clicked — the file must be selected again, which triggers the same dialog closure. As a result, it is impossible to ever import rules in Chrome.
Additional Notes
Export works fine; the problem is only with import
Possibly related to the extension popup losing focus when the OS file picker opens (Chrome closes extension popups on focus loss)
Environment
Browser: Chrome Version 150.0.7871.46 (Official Build) (64-bit)
OS: Debian 13 (Trixie) with KDE Plasma
Mod-Box Version: 0.2.4
The import function in the extension's settings is unusable in Chrome. After selecting a file to import, the entire dialog closes before the "Append" button can be clicked.
Steps to Reproduce
Click the Mod-Box extension icon next to the URL bar (popup opens)
Click "Settings"
Click the option to open/import a file
Select the previously exported rules file in the file picker
Click "Open"
Expected Behavior
The file picker closes, the settings dialog remains open, and the "Append" button can be clicked to append the imported rules.
Actual Behavior
Clicking "Open" in the file picker closes both the file picker and the extension's settings dialog. Reopening the settings dialog does not preserve the selected file, so "Append" cannot be clicked — the file must be selected again, which triggers the same dialog closure. As a result, it is impossible to ever import rules in Chrome.
Additional Notes
Export works fine; the problem is only with import
Possibly related to the extension popup losing focus when the OS file picker opens (Chrome closes extension popups on focus loss)
Environment
Browser: Chrome Version 150.0.7871.46 (Official Build) (64-bit)
OS: Debian 13 (Trixie) with KDE Plasma
Mod-Box Version: 0.2.4