From 0972087e34ceee0c55c53feb0fc7a0e9e664f839 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 16 Jul 2015 20:54:10 +0200 Subject: [PATCH] Add a note about #730 to :inspect docs. Fixes #730. --- doc/help/commands.asciidoc | 2 ++ qutebrowser/browser/commands.py | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 0c25a8468..f12b3ba99 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -243,6 +243,8 @@ Open main startpage in current tab. === inspector Toggle the web inspector. +Note: Due a bug in Qt, the inspector will show incorrect request headers in the network tab. + [[jseval]] === jseval Syntax: +:jseval [*--quiet*] 'js-code'+ diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 538107a42..8cd1eaf6a 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -1089,7 +1089,11 @@ class CommandDispatcher: @cmdutils.register(instance='command-dispatcher', name='inspector', scope='window') def toggle_inspector(self): - """Toggle the web inspector.""" + """Toggle the web inspector. + + Note: Due a bug in Qt, the inspector will show incorrect request + headers in the network tab. + """ cur = self._current_widget() if cur.inspector is None: if not config.get('general', 'developer-extras'):