WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
32149
[Qt] Doing right-click/Reload on a QWebInspector widget will close the widget
https://bugs.webkit.org/show_bug.cgi?id=32149
Summary
[Qt] Doing right-click/Reload on a QWebInspector widget will close the widget
Jocelyn Turcotte
Reported
2009-12-04 02:50:23 PST
See patch
Attachments
Bug fix
(1.62 KB, patch)
2009-12-04 03:24 PST
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
QtLauncher: add a menu to show/hide the inspector
(2.54 KB, patch)
2009-12-04 03:26 PST
,
Jocelyn Turcotte
kenneth
: review-
kenneth
: commit-queue-
Details
Formatted Diff
Diff
QtLauncher: add a menu to show/hide the inspector V2
(2.53 KB, patch)
2009-12-04 08:20 PST
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
QtLauncher: corrects rest of the style issues
(12.90 KB, patch)
2009-12-04 08:21 PST
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jocelyn Turcotte
Comment 1
2009-12-04 03:24:13 PST
Created
attachment 44300
[details]
Bug fix This patch remove the widget close call in InspectorClientQt::closeWindow(). We needed it for the embedded close button in the inspector which has been hidden.
Jocelyn Turcotte
Comment 2
2009-12-04 03:26:03 PST
Created
attachment 44301
[details]
QtLauncher: add a menu to show/hide the inspector Adds the possibility to hide the inspector in QtLauncher with a toggle menu.
WebKit Review Bot
Comment 3
2009-12-04 03:28:33 PST
style-queue ran check-webkit-style on
attachment 44300
[details]
without any errors.
WebKit Review Bot
Comment 4
2009-12-04 03:28:54 PST
Attachment 44301
[details]
did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebKit/qt/QtLauncher/main.cpp:148: This { should be at the end of the previous line [whitespace/braces] [4] WebKit/qt/QtLauncher/main.cpp:460: Declaration has space between type name and * in QAction *showInspectorAction [whitespace/declaration] [3] WebKit/qt/QtLauncher/main.cpp:462: Missing spaces around << [whitespace/operators] [3] Total errors found: 3
Kenneth Rohde Christiansen
Comment 5
2009-12-04 04:49:34 PST
Comment on
attachment 44301
[details]
QtLauncher: add a menu to show/hide the inspector
> + WebInspector(QWidget* parent) : QWebInspector(parent) {} > +signals: > + void visibilityChanged(bool nowVisible);
Qt already has a visibleChanged (slightly different name) for the QGraphicsObjects. Maybe we should use the same naming?
> + QAction *showInspectorAction = toolsMenu->addAction("Show inspector", inspector, SLOT(setVisible(bool))); > + showInspectorAction->setCheckable(true); > + showInspectorAction->setShortcuts(QList<QKeySequence>()<<QKeySequence(tr("F12")));
I guess I would prefer spaces before and after the << But in general it LGTM. If you find it needed, make these changes before you commit.
Kenneth Rohde Christiansen
Comment 6
2009-12-04 04:53:10 PST
Comment on
attachment 44301
[details]
QtLauncher: add a menu to show/hide the inspector r- because of the style issues reported by the bot. It has better eyes than me :-) I also missed this one here: QAction *showInspectorAction Fix that one as well please
WebKit Commit Bot
Comment 7
2009-12-04 04:56:57 PST
Comment on
attachment 44300
[details]
Bug fix Clearing flags on attachment: 44300 Committed
r51694
: <
http://trac.webkit.org/changeset/51694
>
WebKit Commit Bot
Comment 8
2009-12-04 04:57:02 PST
All reviewed patches have been landed. Closing bug.
Kenneth Rohde Christiansen
Comment 9
2009-12-04 04:58:30 PST
There is still a patch that has not been landed, reopening.
Jocelyn Turcotte
Comment 10
2009-12-04 08:20:19 PST
Created
attachment 44315
[details]
QtLauncher: add a menu to show/hide the inspector V2 here it is, with improved style
WebKit Review Bot
Comment 11
2009-12-04 08:20:58 PST
style-queue ran check-webkit-style on
attachment 44315
[details]
without any errors.
Jocelyn Turcotte
Comment 12
2009-12-04 08:21:24 PST
Created
attachment 44316
[details]
QtLauncher: corrects rest of the style issues to prevent over-complaining of the bot in the future for this file
WebKit Commit Bot
Comment 13
2009-12-04 10:05:02 PST
Comment on
attachment 44315
[details]
QtLauncher: add a menu to show/hide the inspector V2 Clearing flags on attachment: 44315 Committed
r51701
: <
http://trac.webkit.org/changeset/51701
>
WebKit Commit Bot
Comment 14
2009-12-04 10:12:53 PST
Comment on
attachment 44316
[details]
QtLauncher: corrects rest of the style issues Clearing flags on attachment: 44316 Committed
r51702
: <
http://trac.webkit.org/changeset/51702
>
WebKit Commit Bot
Comment 15
2009-12-04 10:12:58 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug