Closed
Bug 817551
Opened 13 years ago
Closed 12 years ago
The window controller (for undo/redo) doesn't work when Inspector is undocked
Categories
(DevTools :: Inspector, defect, P1)
Tracking
(firefox20 fixed)
RESOLVED
FIXED
Firefox 21
Tracking | Status | |
---|---|---|
firefox20 | --- | fixed |
People
(Reporter: paul, Assigned: paul)
References
Details
Attachments
(1 file, 1 obsolete file)
2.61 KB,
patch
|
Gavin
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
The problem comes from this change: https://mxr.mozilla.org/mozilla-central/source/browser/devtools/inspector/InspectorPanel.jsm#398
Priority: -- → P1
Assignee | ||
Updated•12 years ago
|
Priority: P1 → P2
Assignee | ||
Comment 4•12 years ago
|
||
Optimizer, can I ask you for an unofficial review?
Attachment #699230 -
Flags: review?(scrapmachines)
Comment 5•12 years ago
|
||
Comment on attachment 699230 [details] [diff] [review]
v1
Review of attachment 699230 [details] [diff] [review]:
-----------------------------------------------------------------
Works fine now.
::: browser/devtools/framework/toolbox.xul
@@ +15,5 @@
>
> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
> +
> + <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
> +
Nice.. I was thinking that instead of Cu.import-ing gDevTools.jsm in the patch for Bug 820735, I should also do the same ?
Attachment #699230 -
Flags: review?(scrapmachines) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #699230 -
Flags: review?(dcamp)
Comment 6•12 years ago
|
||
Comment on attachment 699230 [details] [diff] [review]
v1
This looks ok to me, but I'm not totally confident reviewing it. Tagging gavin, but I bet there are other people that could confidently review it...
Attachment #699230 -
Flags: review?(dcamp) → review?(gavin.sharp)
Comment 7•12 years ago
|
||
This bug's a little light on "the problem was _____" and "this patch fixes it because ____" :)
Rather than adding to toolbox.dtd, you should probably just include editMenuOverlay.dtd? Or maybe that already happens via the editMenuOverlay.xul overlay and you can just omit those changes - not sure whether that works with overlays (though if it didn't work, the existing overlay would probably have been broken I guess).
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to :Gavin Sharp (use gavin@gavinsharp.com for email) from comment #7)
> This bug's a little light on "the problem was _____" and "this patch fixes
> it because ____" :)
Context: the markup view in the inspector (the DOM tree) supports undo/redo shortcuts. When the devtools are undocked, these don't work anymore. This is because of the absence of the the undo/redo keys and commands.
What I did in this patch is to move the undo/redo keys and commands inside the toolbox window. Docked or undocked, we use the same keys and commands now.
> Rather than adding to toolbox.dtd, you should probably just include
> editMenuOverlay.dtd? Or maybe that already happens via the
> editMenuOverlay.xul overlay and you can just omit those changes - not sure
> whether that works with overlays (though if it didn't work, the existing
> overlay would probably have been broken I guess).
Let me try that.
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #699230 -
Attachment is obsolete: true
Attachment #699230 -
Flags: review?(gavin.sharp)
Attachment #699614 -
Flags: review?(gavin.sharp)
Comment 10•12 years ago
|
||
Comment on attachment 699614 [details] [diff] [review]
patch v2
I don't understand the source-editor-overlay.xul change, but this seems fine.
Attachment #699614 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 11•12 years ago
|
||
(In reply to :Gavin Sharp (use gavin@gavinsharp.com for email) from comment #10)
> Comment on attachment 699614 [details] [diff] [review]
> patch v2
>
> I don't understand the source-editor-overlay.xul change, but this seems fine.
It was no-op in the first place.
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Assignee | ||
Comment 12•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/96b24952d65d
This will need an uplift in Aurora.
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 13•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 21
Assignee | ||
Comment 14•12 years ago
|
||
Comment on attachment 699614 [details] [diff] [review]
patch v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): new feature (toolbox)
User impact if declined: can't undo in the devtools window (but we could before)
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): low (not much code)
String or UUID changes made by this patch: no
Attachment #699614 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #699614 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-aurora]
Assignee | ||
Comment 15•12 years ago
|
||
status-firefox20:
--- → fixed
Whiteboard: [land-in-aurora]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•