Closed Bug 712096 Opened 13 years ago Closed 13 years ago

Exiting 3D (Tilt) mode of the developer tools should show a transition back to a flat page

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 12

People

(Reporter: jaws, Assigned: vporof)

References

Details

(Whiteboard: [tilt][fixed-in-fx-team])

Attachments

(1 file, 2 obsolete files)

Exiting 3D (Tilt) mode of the developer tools should show a transition back to a flat page. Further, it would be nice if the selected element was kept in view when transitioned back.
Assignee: nobody → vporof
Whiteboard: [tilt]
Status: NEW → ASSIGNED
The selected element should indeed be kept in view when Tilt is closed. I am wondering if the transition animation back to a flat page wouldn't be annoying. (Suppose I want to instantly go back to the 3D view?).
Err.. instantly go back to the 2D view.
On the other hand, I just tested this and it would look totally awesome. We should keep this and maybe add a pref for disabling the transition if there are any issues.
Attached patch v1 (obsolete) — Splinter Review
Attachment #588727 - Flags: review?(rcampbell)
Comment on attachment 588727 [details] [diff] [review] v1 >+ this.chromeWindow.gBrowser.selectedBrowser.contentWindow.focus(); this.chromeWindow.gBrowser.selectedBrowser.focus();
Attached patch v2 (obsolete) — Splinter Review
(In reply to Dão Gottwald [:dao] from comment #5) > Comment on attachment 588727 [details] [diff] [review] > v1 > > >+ this.chromeWindow.gBrowser.selectedBrowser.contentWindow.focus(); > > this.chromeWindow.gBrowser.selectedBrowser.focus(); Hmm, this slipped through quite a long time ago. Thank you, fixed.
Attachment #588732 - Flags: review?(rcampbell)
Filed and added patch in bug 718281 for hiding the animations under a pref.
Attached patch v3Splinter Review
Cleaned up, fixed a typo & some fails in try. https://tbpl.mozilla.org/?tree=Try&rev=99f836e9fef1
Attachment #588727 - Attachment is obsolete: true
Attachment #588732 - Attachment is obsolete: true
Attachment #588727 - Flags: review?(rcampbell)
Attachment #588732 - Flags: review?(rcampbell)
Attachment #588815 - Flags: review?(rcampbell)
Comment on attachment 588815 [details] [diff] [review] v3 - this.presenter.tiltUI.destroy(this.presenter.tiltUI.currentWindowId); + this.presenter.tiltUI.destroy(this.presenter.tiltUI.currentWindowId, 1); , 1? or true? I think you're mixing those. Or are you just doing that to avoid a longer line? I think this'll do!
Attachment #588815 - Flags: review?(rcampbell) → review+
Comment on attachment 588815 [details] [diff] [review] v3 and, I spoke too soon. I got this on a local build when exiting: Timestamp: 2012-01-19 17:19:55 Error: controller.arcball.reset is not a function Source File: resource:///modules/devtools/Tilt.jsm Line: 162
Attachment #588815 - Flags: review+ → review-
gosh I'm dumb!
Depends on: 712029
Comment on attachment 588815 [details] [diff] [review] v3 changed the depencies so this applied. I am sorry I r-d you.
Attachment #588815 - Flags: review- → review+
(In reply to Rob Campbell [:rc] (robcee) from comment #9) > Comment on attachment 588815 [details] [diff] [review] > v3 > > - this.presenter.tiltUI.destroy(this.presenter.tiltUI.currentWindowId); > + this.presenter.tiltUI.destroy(this.presenter.tiltUI.currentWindowId, > 1); > > , 1? or true? I think you're mixing those. Or are you just doing that to > avoid a longer line? > > I think this'll do! I tried avoiding a longer line. However, it bugged me too so I *did* change it to true and made the line shorter somewhere later in the patch queue.
Whiteboard: [tilt] → [tilt][land-in-fx-team]
Whiteboard: [tilt][land-in-fx-team] → [tilt][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Comment on attachment 588815 [details] [diff] [review] v3 [Approval Request Comment] Regression caused by (bug #): New feature User impact if declined: User won't see an exit transition when closing Tilt. They may be jarred by the shock of returning to 2D viewing. Testing completed (on m-c, etc.): on m-c Risk to taking this patch (and alternatives if risky): Very not risky! It is also fairly low down in our patchqueue and makes landing the downstream patches possible. This has been tested fairly extensively.
Attachment #588815 - Flags: approval-mozilla-aurora?
Attachment #588815 - Flags: approval-mozilla-aurora?
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: