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)
Tracking
(blocking-basecamp:-, firefox19 fixed, b2g18 fixed)
RESOLVED
FIXED
blocking-basecamp | - |
People
(Reporter: openjck, Assigned: cjones)
References
Details
(Whiteboard: interaction, UX-P1)
Attachments
(1 file)
672 bytes,
patch
|
vingtetun
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Updated•13 years ago
|
Summary: When moving app icons, second long requires too much time → When moving app icons, second long press requires too much time
Updated•13 years ago
|
Component: Gaia → Gaia::Homescreen
Comment 1•13 years ago
|
||
Related to bug 813079. We should fix this for release. Current Edit mode unresponsiveness is a significant usability problem.
Priority: -- → P1
Whiteboard: interaction
Comment 2•13 years ago
|
||
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: --- → ?
Updated•13 years ago
|
blocking-basecamp: ? → -
Updated•13 years ago
|
Priority: P1 → --
Whiteboard: interaction → interaction, UX-P1
Comment 3•13 years ago
|
||
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)
Updated•13 years ago
|
Whiteboard: interaction, UX-P1 → interaction, UX-P1, uxbranch
Comment 4•13 years ago
|
||
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
Comment 5•13 years ago
|
||
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)
Comment 6•13 years ago
|
||
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)
Comment 7•13 years ago
|
||
(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.
Comment 8•13 years ago
|
||
(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)
Comment 9•13 years ago
|
||
(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)
Comment 10•13 years ago
|
||
(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)
Assignee | ||
Comment 11•13 years ago
|
||
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)
Comment 12•13 years ago
|
||
Okay, if it's one size fits all, then let's drop it from 1 to .75. Thanks guys.
Flags: needinfo?(jcarpenter)
Assignee | ||
Comment 13•13 years ago
|
||
Assignee: nobody → jones.chris.g
Attachment #697292 -
Flags: review?(21)
Attachment #697292 -
Flags: review?(21) → review+
Assignee | ||
Comment 14•13 years ago
|
||
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?
Assignee | ||
Comment 15•13 years ago
|
||
Comment 16•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 17•13 years ago
|
||
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+
Assignee | ||
Comment 18•13 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/c74e05a0b45c
https://hg.mozilla.org/releases/mozilla-b2g18/rev/a98395bb676c
status-b2g18:
--- → fixed
status-firefox19:
--- → fixed
Comment 19•13 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•