Mail: Cannot scroll HTML message on Firefox for Android

Created on 23 Jan 2018  Â·  13Comments  Â·  Source: nextcloud/mail

Steps to reproduce

  1. Open the app
  2. Open a HTML message on Firefox for Android
  3. See only the very top content of the message

Expected behaviour

I should be able to scroll down to see the full message body

Actual behaviour

Scrolling is fixed. The only way to see more content is to long-click on some text and use the text selection markers to hack your way down. This is super ugly.

Mail app

Mail app version: basically any version in the last few months.

@skjnldsv @jancborchardt does anbody of you use Mail on mobile Firefox? Does scrolling work for you?

I've dug into the code and even attached the FF web IDE to my Android phone to see what's going on. Even after tweaking element height and overflow properties, I couldn't get it to work. Note that it's not an issue on the desktop, where you have a mouse/touchpad.

1. to develop bug

Most helpful comment

After about 10 hours of debugging and investigation, I was able to isolate this issue as being caused by a bug in Firefox for Android. I created a minimal html document to reproduce the issue with and filed a bug with Mozilla. Hopefully they'll be able to fix it. I'm not sure what this means for the bounty, but I'm fully willing to share or pass on the bounty if that seems appropriate.

All 13 comments

I can confirm this one with Mail 0.7.9 on Nextcloud 13.0.0. It used to work before unfortunately I am not able to tell in which version the regression has been introduced as I rarely use the application from my smartphone.

After about 10 hours of debugging and investigation, I was able to isolate this issue as being caused by a bug in Firefox for Android. I created a minimal html document to reproduce the issue with and filed a bug with Mozilla. Hopefully they'll be able to fix it. I'm not sure what this means for the bounty, but I'm fully willing to share or pass on the bounty if that seems appropriate.

Thanks a lot, @Fastigium! :raised_hands:

In my opinion, @fastigium should post an update here once the issue is fixed by mozilla, and then she/he can have the bounty. She/He isolated the problem and took steps to fix it for our userbase. (If it was $1000 I'd probably say that the mozdevs should get a share :-)

In my opinion, @Fastigium should post an update here once the issue is fixed by mozilla, and then she/he can have the bounty

That sounds like a plan, though I'll probably still ask the mozdevs if they want a share :slightly_smiling_face:. I also considered trying to fix the bug in Firefox myself, but seeing the complexity of the technical info they just posted in the bug I'm glad I waited :sweat_smile:

Little heads up: the Nextcloud server and app's structure changes with Nextcloud 14 (https://github.com/nextcloud/server/pull/9982) and although there are a few breaking changes like https://github.com/nextcloud/mail/issues/981 right now, I am finally able to scroll the details of a message on my phone again.

Let's see how the app works after https://github.com/nextcloud/mail/pull/1001.

Even if this restructuring magically fixed the FF bug for us, I'd still vote for giving @Fastigium the bounty for putting a lot of effort into this :rocket:

Even if this restructuring magically fixed the FF bug for us, I'd still vote for giving @Fastigium the bounty for putting a lot of effort into this rocket

cc @joewashear007 since we're the two who posted bounties on this ticket :)

Even if this restructuring magically fixed the FF bug for us,

The bug requires the iframe to be scrolled inside a div, and according to https://github.com/nextcloud/server/pull/9982 the div is being replaced by scrolling the whole page. That would circumvent the circumstances that trigger the bug :slightly_smiling_face:

[...] I'd still vote for giving @Fastigium the bounty for putting a lot of effort into this

Thanks, though I don't feel like I deserve the full $75 bounty. The $25 it was when I did the investigation feels right to me. So if the magic fix works and the bounty is awarded to me, I'll give $50 back to the nextcloud team on Bountysource. Alternatively, you might be able to revoke or migrate the $50 bounty by contacting Bountysource support (according to the FAQ). Either method is fine in my book :+1:

Looks like its working now. Checked with latest mobile firefox and latest mail app, nextcloud 16.0.1.1

Yes, I think so too. I don't have these problems anymore.

Closing then as it’s fixed. Does the Bounty go back to the donors or into the pool @ChristophWurst?

From https://github.com/bountysource/core/wiki/Frequently-Asked-Questions

If the issue was closed as a "won't fix", or is deemed not in line with the project's goals, the bounty is refunded.

So sounds like this is done automatically? I couldn't find more info on the process. cc @johanlives

From https://github.com/bountysource/core/wiki/Frequently-Asked-Questions

If the issue was closed as a "won't fix", or is deemed not in line with the project's goals, the bounty is refunded.

So sounds like this is done automatically? I couldn't find more info on the process. cc @johanlives

Hi guys,
Refunds are not automated.
You need to send a quick email to [email protected].

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MariusBluem picture MariusBluem  Â·  3Comments

jancborchardt picture jancborchardt  Â·  4Comments

Quix0r picture Quix0r  Â·  5Comments

jancborchardt picture jancborchardt  Â·  4Comments

g6094199 picture g6094199  Â·  3Comments