Closed Bug 958245 Opened 12 years ago Closed 12 years ago

[APZ][email] email compose content iframe no longer scrolls

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, b2g-v1.3 verified, b2g-v1.4 verified)

VERIFIED FIXED
blocking-b2g 1.3+
Tracking Status
b2g-v1.3 --- verified
b2g-v1.4 --- verified

People

(Reporter: nhirata, Assigned: kats)

References

Details

Attachments

(1 file, 1 obsolete file)

1. turn apz on 2. launch email 3. create a new email 4. tap in the content and type enough to cause scrolling in the iframe 5. tap the subject line 6. tap the power button to turn off screen 7. tap the power button to turn on screen 8 unlock the phone 9. try to scroll the content Expected: you can scroll the message content Actual: you cannot scroll the message content Note: 1. does not occur with APZ turned off
Component: General → Panning and Zooming
Product: Firefox OS → Core
Blocks: gaia-apzc
Steps 6-8 are not needed in the STR. This just looks like we're not layerizing the input area for message content.
Assignee: nobody → bugmail.mozilla
This is a gaia bug; they are setting overflow:hidden on textareas. Presumably this was done to hide the scrollbar, but it also has the effect of making the textarea unscrollable (with APZ enabled).
Assignee: bugmail.mozilla → nobody
Component: Panning and Zooming → Gaia::E-Mail
Product: Core → Firefox OS
Comment on attachment 8358572 [details] [diff] [review] Patch to enable scrolling in email composer I don't know if you guys want to blanket remove these things or do something else.
Attachment #8358572 - Flags: feedback?(21)
Comment on attachment 8358572 [details] [diff] [review] Patch to enable scrolling in email composer Review of attachment 8358572 [details] [diff] [review]: ----------------------------------------------------------------- Let's ask that to some email folk.
Attachment #8358572 - Flags: feedback?(21) → feedback?(bugmail)
Comment on attachment 8358572 [details] [diff] [review] Patch to enable scrolling in email composer These both seem reasonable to me. Specifically: - shared/style/input_areas.css: This makes sense to me; all input areas should be scrollable. I assume this was for visual reasons. I certainly don't see any alternatives to removing the line, but I don't have review authority for the building blocks. I guess Vivien does, but I'll r/f? both the people listed as peers specifically covering the building blocks at https://wiki.mozilla.org/Modules/FirefoxOS#Gaia. - apps/email/style/compose_cards.css: Absolutely fine. I'm sure this was for visual reasons from long ago, and possibly just cribbed from the above file. We absolutely want to allow long subjects that require scrolling. r=asuth for this change in e-mail. Note: When attaching diffs/patches, please provide 8 lines of context. https://developer.mozilla.org/en-US/docs/Mercurial_FAQ has good tips on how to do that.
Attachment #8358572 - Flags: review?(kaze)
Attachment #8358572 - Flags: feedback?(igonzaleznicolas)
Attachment #8358572 - Flags: feedback?(bugmail)
Attachment #8358572 - Flags: feedback+
(In reply to Andrew Sutherland (:asuth) from comment #6) > Note: When attaching diffs/patches, please provide 8 lines of context. > https://developer.mozilla.org/en-US/docs/Mercurial_FAQ has good tips on how > to do that. Yeah, I didn't bother generating a proper patch since I wasn't sure if this approach was good to take or not. I can do that and submit a pull request.
Updated with commit message and proper diff.
Attachment #8358572 - Attachment is obsolete: true
Attachment #8358572 - Flags: review?(kaze)
Attachment #8358572 - Flags: feedback?(igonzaleznicolas)
Attachment #8359242 - Flags: review?(kaze)
Attachment #8359242 - Flags: feedback?
Attachment #8359242 - Flags: feedback? → feedback?(igonzaleznicolas)
(In reply to Andrew Sutherland (:asuth) from comment #6) > - apps/email/style/compose_cards.css: Absolutely fine. I'm sure this was > for visual reasons from long ago, and possibly just cribbed from the above > file. We absolutely want to allow long subjects that require scrolling. > r=asuth for this change in e-mail. Just wanted to clarify: this is for scrolling the email body compose area, not the subject line.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #9) > Just wanted to clarify: this is for scrolling the email body compose area, > not the subject line. Ah, the diff's context-providing logic got confused and then so did I. The rationale holds for all cases though. Scrollbars for all!
Comment on attachment 8359242 [details] [diff] [review] Enable scrolling in all textareas and the email composer Then I think you want a review from Andrew not Kaze :)
Attachment #8359242 - Flags: review?(kaze) → review?(bugmail)
Comment on attachment 8359242 [details] [diff] [review] Enable scrolling in all textareas and the email composer to be clear, I think 2 reviews are needed here. One for email (given, r=asuth), one for the building blocks change. The building blocks reviewers were listed as :kaze and :basiclines, which is why I added both of them (though only one as a reviewer because I ran out of combo-boxes in the UI). I'll just leave it :basiclines for now, but technically :kaze can review too?
Attachment #8359242 - Flags: review?(igonzaleznicolas)
Attachment #8359242 - Flags: review?(bugmail)
Attachment #8359242 - Flags: review+
Attachment #8359242 - Flags: feedback?(igonzaleznicolas)
Comment on attachment 8359242 [details] [diff] [review] Enable scrolling in all textareas and the email composer Ismael has left so it may take a while for it to review that. I'm pretty sure Arnau is enough since he has probably wrote that with Ismael.
Attachment #8359242 - Flags: review?(igonzaleznicolas) → review?(arnau)
Assignee: nobody → bugmail.mozilla
Status: NEW → ASSIGNED
Comment on attachment 8359242 [details] [diff] [review] Enable scrolling in all textareas and the email composer Looks good to me :)
Attachment #8359242 - Flags: review?(arnau) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
We'll probably want this uplifted to 1.3 as well.
blocking-b2g: --- → 1.3?
Summary: [APZ][email] content iframe no longer scrolls if the display goes to sleep → [APZ][email] email compose content iframe no longer scrolls
blocking-b2g: 1.3? → 1.3+
Keywords: verifyme
Requesting uplift to 1.3.
Flags: needinfo?(jhford)
Uplifted 07f64fff89ea2dc39af1438eb40fba153b0f4d1c to: v1.3: 0732eacbccde029402aec98c3587d8cda764dde8
Thanks
Flags: needinfo?(jhford)
This issue is fixed in 1.3 and 1.4. The user can scroll through the email body while the cursor is located in the subject field. Environmental Variables: Device: Buri v1.4 Moz RIL BuildID: 20140123040608 Gaia: 00d8d05f0d0730a3cbf17635ad6a6b197a2ce7c9 Gecko: 1a75d37e1e39 Version: 29.0a1 Firmware Version: v1.2-device.cfg Environmental Variables: Device: Buri v1.3 Moz RIL BuildID: 20140123004001 Gaia: 6fbeac2415f07f10de181f0877ddf67ee299b885 Gecko: e8f6bdf8db3d Version: 28.0a2 Firmware Version: v1.2-device.cfg
Status: RESOLVED → VERIFIED
Since this has already been verified fixed in both 1.3 and 1.4, removing the verifyme tag.
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: