Closed
Bug 1047271
Opened 10 years ago
Closed 6 years ago
[Gallery] Image rotation is not consistence after sharing
Categories
(Firefox OS Graveyard :: Gaia::Gallery, defect)
Firefox OS Graveyard
Gaia::Gallery
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ranjith253, Unassigned)
Details
(Whiteboard: [LibGLA,TD83099,WW,B])
Attachments
(1 file)
136.83 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0 (Beta/Release) Build ID: 20140724030201 Steps to reproduce: 1. Take picture a in landscape mode for example 16:9 resolution 2. Open gallery go to select mode . 3. Click on single image & try to share, select Messages option in share list. 4. Now from Message screen attach same image from gallery. Actual results: Observe the orientation of both attached images in step 3 & 4 . First attachment is in landscape mode & second image in portrait mode. I am attaching issue screen shot. Expected results: Both attachments should have same orientation.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Whiteboard: [LibGLA,TD83099,WW,B]
Reporter | ||
Comment 2•10 years ago
|
||
My image exif rotation value is 90.
Comment 3•10 years ago
|
||
What device is this happening on? What build is running on it?
Component: General → Gaia::E-Mail
Flags: needinfo?(ranjith253)
Reporter | ||
Comment 4•10 years ago
|
||
This issue can be reproducible with latest gaia master code.
Reporter | ||
Comment 5•10 years ago
|
||
Clearing the flag
Comment 6•10 years ago
|
||
To reproduce this issue one needs image that has to be rotated to display correctly (e.g. from device such as Tarako). Here's link to sample image that can be used to replicate this bug https://github.com/recurser/exif-orientation-examples/blob/master/Portrait_6.jpg This behavior is expected as Gallery app does not support rotation when you share images from select mode. https://github.com/mozilla-b2g/gaia/blob/master/apps/gallery/js/gallery.js#L1229 Only when user shares an image from gallery fullscreen view, it does the rotation - Bug 989290 https://github.com/mozilla-b2g/gaia/blob/master/apps/gallery/js/frames.js#L172
Comment 7•10 years ago
|
||
(Moving to gallery since this seems like a generic issue that would ideally be resolved on the gallery side of things... and the messages app rather than the email app was mentioned :)
Component: Gaia::E-Mail → Gaia::Gallery
Reporter | ||
Comment 8•10 years ago
|
||
Hi Punam, Con't we support rotation from select mode?, because user may be confused with rotation in full screen & select mode.
Flags: needinfo?(ranjith253)
Comment 9•10 years ago
|
||
(In reply to ranjith253 from comment #8) > Hi Punam, > > Con't we support rotation from select mode?, because user may be confused > with > rotation in full screen & select mode. It will be difficult to support image rotation from select mode, as user can select multiple images for sharing and decoding an image to rotate is memory intensive and might not scale for devices such as Tarako where this issue is more visible. Now should we rotate the image in select mode if user selects single image for sharing, i guess not as it might be equally confusing for user to see an unrotated image if he on subsequent tries selects more than one image to share. Thanks
Reporter | ||
Comment 10•10 years ago
|
||
(In reply to Punam Dahiya from comment #9) > (In reply to ranjith253 from comment #8) > > Hi Punam, > > > > Con't we support rotation from select mode?, because user may be confused > > with > > rotation in full screen & select mode. > > It will be difficult to support image rotation from select mode, as user can > select multiple images for sharing and decoding an image to rotate is > memory intensive and might not scale for devices such as Tarako where this > issue is more visible. > > Now should we rotate the image in select mode if user selects single image > for sharing, i guess not as it might be equally confusing for user to see an > unrotated image if he on subsequent tries selects more than one image to > share. Thanks I agree to your point here , but I think there is no harm in supporting single file rotation. What do you think?
Comment 11•10 years ago
|
||
> I agree to your point here , but I think there is no harm in supporting > single file rotation. What do you think? Sorry, if I was not clear in comment #9, IMO, it is confusing for user to see rotated image when he shares single image from select mode and unrotated images when he shares multiple images from gallery select mode.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [LibGLA,TD83099,WW,B] → [LibGLA,TD91781,QE,A]
Reporter | ||
Updated•10 years ago
|
Whiteboard: [LibGLA,TD91781,QE,A] → [LibGLA,TD83099,WW,B]
Comment 12•6 years ago
|
||
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•