Closed Bug 808862 Opened 13 years ago Closed 13 years ago

When moving app icons, second long press requires too much time

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-basecamp:-, firefox19 fixed, b2g18 fixed)

RESOLVED FIXED
blocking-basecamp -
Tracking Status
firefox19 --- fixed
b2g18 --- fixed

People

(Reporter: openjck, Assigned: cjones)

References

Details

(Whiteboard: interaction, UX-P1)

Attachments

(1 file)

Steps to repeat: 1. Hit the "Home" button 2. Long-press on an app icon 3. Let go 4. Long press on a different app icon Actual result: The user needs to wait a relatively long time -- about 2 seconds -- before he can move the second app icon. Expected result: The user should not need to wait long before he can move the second app icon. The wait time that Android uses (about .5 seconds) would be ideal.
Summary: When moving app icons, second long requires too much time → When moving app icons, second long press requires too much time
Component: Gaia → Gaia::Homescreen
Related to bug 813079. We should fix this for release. Current Edit mode unresponsiveness is a significant usability problem.
Priority: -- → P1
Whiteboard: interaction
We should fix this for release. Current Edit mode unresponsiveness is a significant usability problem. Noming for blocking along with per related bug 813079. Failing that, should make a priority for UX Branch.
blocking-basecamp: --- → ?
blocking-basecamp: ? → -
Priority: P1 → --
Whiteboard: interaction → interaction, UX-P1
Cristian, similar to bug#813079, is this just a matter of tweaking a few timing variables? Gordon, can you look at fixing in the UX branch?
Flags: needinfo?(crdlc)
Whiteboard: interaction, UX-P1 → interaction, UX-P1, uxbranch
Removing the "uxbranch" label after talking to Gordon. Need info from Cristian on level of effort required to fix.
Whiteboard: interaction, UX-P1, uxbranch → interaction, UX-P1
Hi, Here we use a platform event called contextmenu in order to enter in edit mode or drag&drop. I take a look to this during these days. Sorry because I was on Holidays previous week. Thanks
Flags: needinfo?(crdlc)
My feedback here is clear: We use the 'contextmenu' event for entering in drag/drop, edit mode or pick a wallpaper. If you decide that the timeout implemented for this event is long we should set a custom timeout programmatically instead of using 'contextmenu' event. We can implement that but it would add more complexity in the panning code (< performance). What do you thing about it Vivien? Thanks a lot
Flags: needinfo?(21)
(In reply to crdlc from comment #6) > My feedback here is clear: > > We use the 'contextmenu' event for entering in drag/drop, edit mode or > pick a wallpaper. If you decide that the timeout implemented for this event > is long we should set a custom timeout programmatically instead of using > 'contextmenu' event. We can implement that but it would add more complexity > in the panning code (< performance). What do you thing about it Vivien? > > Thanks a lot Hmm... extra complexity would be bad, but yes, drag/drop selection should be much faster than it currently is. Approx 1/3rd whatever the default contextmenu event is. Times for Edit mode and Pick Wallpaper can remain unchanged.
(In reply to crdlc from comment #6) > My feedback here is clear: > > We use the 'contextmenu' event for entering in drag/drop, edit mode or > pick a wallpaper. If you decide that the timeout implemented for this event > is long we should set a custom timeout programmatically instead of using > 'contextmenu' event. We can implement that but it would add more complexity > in the panning code (< performance). What do you thing about it Vivien? > > Thanks a lot The contextmenu event is supposed to fire 1s (http://mxr.mozilla.org/mozilla-central/source/b2g/app/b2g.js#508) after the start I wonder why it looks like 2s. If this time is also generally too long we can tweak it.
Flags: needinfo?(21)
(In reply to Vivien Nicolas (:vingtetun) from comment #8) > (In reply to crdlc from comment #6) > > My feedback here is clear: > > > > We use the 'contextmenu' event for entering in drag/drop, edit mode or > > pick a wallpaper. If you decide that the timeout implemented for this event > > is long we should set a custom timeout programmatically instead of using > > 'contextmenu' event. We can implement that but it would add more complexity > > in the panning code (< performance). What do you thing about it Vivien? > > > > Thanks a lot > > The contextmenu event is supposed to fire 1s > (http://mxr.mozilla.org/mozilla-central/source/b2g/app/b2g.js#508) after the > start I wonder why it looks like 2s. > > If this time is also generally too long we can tweak it. FWIW, the two seconds is probably subjective. On my 12/26 builds it seems more like 1sec. The problem is that we only want to speed up the icon drag/drog selection. Times for Edit mode and Pick Wallpaper are fine as-is. And per Cristian, using a custom timing for icon drag/drop selection gets tricky. I think that's what we need your input on here, per comment #6. Thank you sir!
Flags: needinfo?(21)
(In reply to crdlc from comment #6) > My feedback here is clear: > > We use the 'contextmenu' event for entering in drag/drop, edit mode or > pick a wallpaper. If you decide that the timeout implemented for this event > is long we should set a custom timeout programmatically instead of using > 'contextmenu' event. We can implement that but it would add more complexity > in the panning code (< performance). What do you thing about it Vivien? > > Thanks a lot I'm a bit worried about introducing a new custom way of listening for contextmenu here. I would like to not change that if possible.
Flags: needinfo?(21)
Currently the context-menu timeout is 1 second. We can easily drop the timeout. It will apply to *all* contextmenu (long-tap) interactions, though. That seems like a good thing to me. If that's also what UX wants, it's a 1-line change to a pref.
Flags: needinfo?(jcarpenter)
Okay, if it's one size fits all, then let's drop it from 1 to .75. Thanks guys.
Flags: needinfo?(jcarpenter)
Assignee: nobody → jones.chris.g
Attachment #697292 - Flags: review?(21)
Comment on attachment 697292 [details] [diff] [review] Lower context-menu hold delay to 750ms b2g-only, \epsilon risk to b2g, patch to improve UX-P1 issue on prime real estate.
Attachment #697292 - Flags: approval-mozilla-b2g18?
Attachment #697292 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment on attachment 697292 [details] [diff] [review] Lower context-menu hold delay to 750ms Simple low-hanging fix. Let's get this on branches.
Attachment #697292 - Flags: approval-mozilla-b2g18?
Attachment #697292 - Flags: approval-mozilla-b2g18+
Attachment #697292 - Flags: approval-mozilla-aurora?
Attachment #697292 - Flags: approval-mozilla-aurora+
Hi all, I was working on my holidays in this issue and I had a patch to make the second long press and consecutives faster. It is not a complex algorithm if somebody want to take a look.... I know that the bug is closed but a lot of people said to me that they expect the long press faster in edit mode. https://github.com/crdlc/gaia/commit/76602c6b8fae8d60f0a2cabbfed62dc623e72393
See Also: → 1001673
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: