Closed Bug 837338 Opened 13 years ago Closed 7 years ago

Allow app-loading effects used by the window manager to be configurable (and disable screenshot by default)

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P1)

x86_64
Linux
defect

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
1.1 QE4 (15jul)
blocking-b2g -

People

(Reporter: cjones, Unassigned)

References

Details

(Whiteboard: [TD-57212] [LeoVB+])

Attachments

(1 file, 1 obsolete file)

Prior art from android is that some users might prefer shaving 100ms off startup time to a smoother transition (or just different UX). There also may be downstream folks who disable the animation regardless of what Moz's opinion is, so it would be nice if this can be done cleanly.
Yes. It would be good to have a settings options for configuring windows animation, transition duration and to disable.
Summary: Add a setting (or UI switch) for disabling app-load animation → Allow app-loading effects used by the window manager to be configurable
Attached patch WIP (obsolete) — Splinter Review
Adds options to turn off screenshotting or "everything".
This is taken from a previous patch from Vivien.
Attachment #711634 - Attachment is obsolete: true
Attachment #716311 - Flags: review?(timdream)
Josh, ready to revisit turning screenshots off? Here's why - they're buggy. Pretty much inevitably because it's an impossible system to get 100% correct right. - they have a negative performance/responsiveness impact. For some apps like Settings, they're noticeable on profiles of early startup. - now that "real" startup times are much faster across the board, the need for entertaining users while b2g chugs away is greatly reduced We maybe want to use a different default bg than the rocketship.
Flags: needinfo?(jcarpenter)
+1 to turning off screenshots. I was working on getting a partner app ready for approval by them, and the final thing that was causing problems was the screenshots -- random parts of the app's startup process were screenshotted, so you'd often have random-UI show up briefly, then a loading screen, then the app's main screen. The app also used CSS transitions during load, so sometimes the screenshot would be random faded-in elements. It looked horribly ugly. For some built-in apps, notably settings, it can cause confusion -- screenshot has wifi turned off, you want to turn it on and then tap.. but surprise, it's actually turned on and you just turned it off because the app actually loaded as you were pressing. IMO, we should turn off screenshots, and then as a followup, add support for the manifest screenshot property to allow apps to configure their own startup image.
Comment on attachment 716311 [details] [diff] [review] Allow selectively enabling app-load effects Instead of, say, copying lines of code from openWindow() and exec them in the | if (!appLoadEffectsEnabled) |, it's better to call the function directly. window_manager.js is getting bigger and bigger... It's depend on the urgency of this bug though (I don't see any flag here so I couldn't tell).
Attachment #716311 - Flags: review?(timdream)
I'm mostly just passing through Vivien's patch, don't shoot the messenger ;). Let me see what I can do here.
Summary: Allow app-loading effects used by the window manager to be configurable → Allow app-loading effects used by the window manager to be configurable (and disable screenshot by default)
blocking-b2g: --- → leo?
blocking-b2g: leo? → ---
We've received complaints about the old screenshot effects too many times when app-loading. We'd like to take this patch to v1-train..
Severity: normal → critical
blocking-b2g: --- → leo+
Flags: needinfo?(timdream)
Whiteboard: [TD-57212]
Target Milestone: --- → 1.1 QE4 (15jul)
(In reply to Leo from comment #11) > We've received complaints about the old screenshot effects too many times > when app-loading. We'd like to take this patch to v1-train.. I have no opinion on v1.1-only patch as long as UX sign-off the visual change.
Flags: needinfo?(timdream)
blocking-b2g: leo+ → -
Whiteboard: [TD-57212]
Target Milestone: 1.1 QE4 (15jul) → ---
blocking-b2g: - → leo+
Priority: -- → P1
Whiteboard: [TD-57212]
Target Milestone: --- → 1.1 QE4 (15jul)
Reassigning to Casey for UX sign-off since Josh is no longer taking needinfo flags.
Flags: needinfo?(jcarpenter) → needinfo?(kyee)
Just revisiting the dev-gaia screenshot thread and it looks like we are still a ways off from a final solution to the screenshot issue. I think for now until we have fully proved the ideas that are being proposed in the thread we should disable screenshots. The solution in my mind should: - Have minimal impact on app load times and performance. - Responsive and work with multiple resolution and device orientation. - Does not display stale/in-accurate UI. Even with these points considered, there is still the issue of apps that do not support screen-shot/do not define a splash that need to be considered.
Flags: needinfo?(kyee)
Tim, (from triage) any action on this this?
(In reply to Casey Yee [:cyee] from comment #14) > Just revisiting the dev-gaia screenshot thread and it looks like we are > still a ways off from a final solution to the screenshot issue. wontfix for 1.1 based upon how far we are from this enhancement
blocking-b2g: leo+ → -
Whiteboard: [TD-57212] → [TD-57212] [LeoVB+]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: