diff --git a/qutebrowser/browser/browsertab.py b/qutebrowser/browser/browsertab.py index fcad1360e..780297d3c 100644 --- a/qutebrowser/browser/browsertab.py +++ b/qutebrowser/browser/browsertab.py @@ -704,7 +704,7 @@ class AbstractTab(QWidget): def _handle_auto_insert_mode(self, ok): """Handle auto-insert-mode after loading finished.""" - if not config.val.input.insert_mode.auto_focused or not ok: + if not config.val.input.insert_mode.auto_load or not ok: return cur_mode = self._mode_manager.mode diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index 9019c1e68..4acb8a06a 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -856,7 +856,7 @@ input.forward_unbound_keys: - none: "Don't forward any keys." desc: Whether to forward unbound keys to the webview in normal mode. -input.insert_mode.auto_focused: +input.insert_mode.auto_load: default: false type: Bool desc: Whether to automatically enter insert mode if an editable element is focused diff --git a/tests/end2end/test_insert_mode.py b/tests/end2end/test_insert_mode.py index b56eb1fde..a0a1ef033 100644 --- a/tests/end2end/test_insert_mode.py +++ b/tests/end2end/test_insert_mode.py @@ -38,7 +38,7 @@ def test_insert_mode(file_name, elem_id, source, input_text, auto_insert, zoom, url_path = 'data/insert_mode_settings/html/{}'.format(file_name) quteproc.open_path(url_path) - quteproc.set_setting('input.insert_mode.auto_focused', auto_insert) + quteproc.set_setting('input.insert_mode.auto_load', auto_insert) quteproc.send_cmd(':zoom {}'.format(zoom)) quteproc.send_cmd(':click-element --force-event id {}'.format(elem_id))