Closed
Bug 975910
Opened 10 years ago
Closed 10 years ago
[Camera] Hide Setting menu on click of other components of screen
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Firefox OS Graveyard
Gaia::Camera
Tracking
(Not tracked)
RESOLVED
INVALID
1.4 S3 (14mar)
People
(Reporter: singhashish1887, Assigned: singhashish1887, NeedInfo)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20140212131424 Steps to reproduce: 1)Go to Camera application->click Setting icon->Setting Menu display 2) click on other component of screen other than close button . Actual results: Setting menu not disappear Expected results: Setting menu should disappear or close
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8380491 -
Flags: review?(wilsonpage)
Updated•10 years ago
|
Attachment #8380491 -
Flags: review?(wilsonpage) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8385792 -
Flags: review?(wilsonpage)
Comment 3•10 years ago
|
||
Attachment #8385818 -
Flags: review?(dflanagan)
Comment 4•10 years ago
|
||
Comment on attachment 8385818 [details] [review] pull-request (camera-new-features) r- I'm pretty sure that this patch will break other things. By removing the stopPropagation() calls, it means that touch events from the gallery and hud buttons will go through to the viewfinder and will probably do touch focus or something. The settings panel is basically modal, and it should be consuming all events while it is visible. Give it a transparent container that takes up the full screen, or register a capturing event handler for all touch and click events while it is visible.
Attachment #8385818 -
Flags: review?(dflanagan) → review-
Comment 5•10 years ago
|
||
I think I remember now that UX wants the shutter button to still function while the settings are visible. That makes it trickier for the settings view to just capture all events. I am fine with overruling UX on this and just capturing everything. In that case, the user would have to tap the shutter button twice: once to dismiss and once to take a picture. Good enough for me if that is the easier way to implement this. Otherwise, I think you'll need to modify all of the other event handlers in the camera to do something like emit an 'hidesettings' event or something, and have the settings panel listen for that event. But I think that messing with the event propagation code is going to be bad. Note that when touch focus and zoom land this is all going to get more complicated!
Comment 6•10 years ago
|
||
What does 'UT Test' mean?
Comment 7•10 years ago
|
||
Comment on attachment 8385792 [details] [review] Pull Request (camera-dev) UT Test r- There are lots of anomalies in the code that suggest the author doesn't really understand what's going on. See Github comments.
Attachment #8385792 -
Flags: review?(wilsonpage) → review-
Comment 8•10 years ago
|
||
Assigning to ashish who is working on this actively
Assignee: nobody → singhashish1887
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → 1.4 S3 (14mar)
Comment 10•10 years ago
|
||
The settings menu now fills the screen, so this is not longer valid.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•