Closed Bug 1181058 Opened 9 years ago Closed 6 years ago

[Gallery]Enable/disable "Auto-enhance" serveral times, then the display time of the prompt words "Auto-enhance on/off" will be shorter.

Categories

(Firefox OS Graveyard :: Gaia::Gallery, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog, b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: wangxin, Unassigned)

Details

(Whiteboard: [2.2 nexus-5-l])

Attachments

(2 files)

[1.Description]:
[Flame v2.2&master][Nexus v2.2&master][Gallery]Quickly enable/disable "Auto-enhance" several times,  the display time of the prompt words "Auto-enhance on/off" will be shorter.
See log:"logcat_0510.txt"
See video:"Flame_V2.2.3GP"
Found Time:05:10

[2.Testing Steps]: 
Precondition: There are some pictures in device.
1. Launch "Gallery".
2. Press "Edit" icon.
3. In edit mode, tap the "magic wand" icon.
4. Tap the "magic wand" icon quickly for several times.

[3.Expected Result]: 
Step 3. The prompt words "Auto-enhance on/off" will appear 3 seconds.
Step4. The prompt words "Auto-enhance on/off" will appear  3 seconds

[4.Actual Result]: 
Step 3. The prompt words "Auto-enhance on/off" will appear 3 seconds.
Step4. The prompt words "Auto-enhance on/off" will appear less than 3 seconds

[5.Reproduction build]: 
Device: Flame v2.2 (Affected) 
Build ID               20150706162504
Gaia Revision          ea11f422b687a982f0a961c9aea7858066561707
Gaia Date              2015-07-02 23:37:50
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/52d19a805d35
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150706.200602
Firmware Date          Mon Jul  6 20:06:13 EDT 2015
Bootloader             L1TC000118D0

Device: Flame master (Affected)
Build ID               20150706160206
Gaia Revision          dc6c18c0dea7af3c40bfff86c530fd877d899dc4
Gaia Date              2015-07-04 01:35:20
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/cef11c3e86c3
Gecko Version          42.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150706.193137
Firmware Date          Mon Jul  6 19:31:49 EDT 2015
Bootloader             L1TC000118D0

Device: Nexus5 v2.2 (Affected) 
Build ID               20150706002507
Gaia Revision          ea11f422b687a982f0a961c9aea7858066561707
Gaia Date              2015-07-02 23:37:50
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c0214b4c1ea0
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150706.041056
Firmware Date          Mon Jul  6 04:11:15 EDT 2015
Bootloader             HHZ12f

Device: Nexus5 master (Affected)
Build ID               20150706160206
Gaia Revision          dc6c18c0dea7af3c40bfff86c530fd877d899dc4
Gaia Date              2015-07-04 01:35:20
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/cef11c3e86c3
Gecko Version          42.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150707.001752
Firmware Date          Tue Jul  7 00:18:11 EDT 2015
Bootloader             HHZ12f


[6.Reproduction Frequency]: 
occasionally Recurrence,6/10

[7.TCID]: 
Free test
[Tracking Requested - why for this release]:
Not a blocking issue, but worth investigating its cause.  ni?ing punam - any idea why this happens?
Flags: needinfo?(pdahiya)
The issue is missing clearTimeOut in showStatus method because of which timer from previous click is not reset and hides the banner in a shorter time if user repeatedly taps auto-enhance icon within 3 secs.

https://github.com/mozilla-b2g/gaia/blob/master/apps/gallery/js/ImageEditor.js#L597

Thanks for catching this issue, I agree it's not a blocker but should be fixed for better user experience.
Flags: needinfo?(pdahiya)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: