reply to message in gmail shows garbled reply view

Bug #1375889 reported by Bill Filler on 2014-09-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
High
David Barth
webapps-sprint
High
David Barth
webbrowser-app (Ubuntu)
High
Unassigned

Bug Description

try to reply to a message in gmail webapp
I frequently see these issues:
1) the message you are replying too is inlined, but in an ugly fashion. It has >> characters but they don't always line up and the message looks garbled, especially if the message had an image in it, you see binary data

2)quite often, but not always, the reply view is not scrolled to the top so you don't see where your cursor is. Once you start typing then the view is scrollled.

We should behave like Chrome for Android. For issue 1) they show a the message inlined next to a vertical divider which makes it look quite clean. For issue 2) this never occurs on Android.

You can test with this UA String as an override:
Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19

in the file /usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js

See related bug https://bugs.launchpad.net/webbrowser-app/+bug/1374562

Related branches

Bill Filler (bfiller) on 2014-09-30
Changed in webbrowser-app:
importance: Undecided → High
tags: added: rtm14
Olivier Tilloy (osomon) wrote :

I can confirm both issues, and that using the suggested chrome on android UA string override fixes them.
We need a detailed test plan to validate a possible UA override change and be confident that this won’t introduce regressions.

Changed in webbrowser-app:
assignee: nobody → Olivier Tilloy (osomon)
status: New → Triaged
Olivier Tilloy (osomon) wrote :

Related to bug #1374562.

Bill Filler (bfiller) wrote :

I think for both this and the related bug we need to experiment with the override string. The Chrome UA string, while better, has some issues, like horizontal scroll bars in some messages, and the crash

Olivier Tilloy (osomon) on 2014-10-28
tags: added: touch-2014-11-06
Olivier Tilloy (osomon) on 2014-11-07
tags: added: touch-2014-11-13
removed: touch-2014-11-06
Olivier Tilloy (osomon) on 2014-12-10
tags: removed: touch-2014-11-13
Olivier Tilloy (osomon) on 2015-06-08
Changed in webbrowser-app (Ubuntu):
importance: Undecided → Medium
Changed in webbrowser-app (Ubuntu RTM):
importance: Undecided → Medium
Changed in webbrowser-app (Ubuntu):
status: New → Triaged
Changed in webbrowser-app (Ubuntu RTM):
status: New → Triaged
Changed in webbrowser-app:
status: Triaged → Invalid
assignee: Olivier Tilloy (osomon) → nobody
importance: High → Undecided
Bill Filler (bfiller) wrote :

I had similar lack of success when tweaking the override in ua-overrides-mobile.js

Then I removed the override and starting tweaking the default UA string just to see if it had any effect in UserAgent02.qml.

This string caused better formatting of mail.google.com and looked similar to Android. I tested using the browser and opening mail.google.com - did not try the webapp as I don't know if that has it's own override.

readonly property string _template: "Mozilla/5.0 (Linux; Ubuntu %1%2%3) AppleWebKit/%4 (KHTML, like Gecko) Chrome/%5 %6Safari/%7%8"

Maybe the override mechanism is not working correctly?

Only issue I observed with this UA String is that double tapping spacebar to insert period and autocaps no longer work when composing/replying to message.

no longer affects: webbrowser-app (Ubuntu RTM)
Changed in webbrowser-app (Ubuntu):
importance: Medium → High
assignee: nobody → Olivier Tilloy (osomon)
no longer affects: webbrowser-app
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
milestone: none → 12
importance: Undecided → High
status: New → Confirmed
David Barth (dbarth) on 2016-06-07
Changed in webapps-sprint:
assignee: nobody → David Barth (dbarth)
importance: Undecided → High
status: New → Triaged
milestone: none → sprint-23
Olivier Tilloy (osomon) on 2016-06-10
Changed in webbrowser-app (Ubuntu):
status: Triaged → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Bill Filler (bfiller) wrote :

Testing with silo 68 which contains the UA override.
I first delete any cache files in .local/share/webbrowser-app and gmail webapp, then launch the browser or gmail webapp.

The override works most of the time (you can tell if you see the black "Updated" footer on the main gmail screen when press the refresh button, or when replying to a mail if the original message is formatted correctly.)

Try to close the app and restart it. Do this multiple times and frequently gmail is rendered without the override as you don't see the footer and reply messages are not formatted.

David Barth (dbarth) on 2016-06-21
Changed in webapps-sprint:
milestone: sprint-23 → sprint-24
status: Triaged → In Progress
Changed in canonical-devices-system-image:
milestone: 12 → 13
assignee: Bill Filler (bfiller) → David Barth (dbarth)
milestone: 13 → none
Olivier Tilloy (osomon) on 2018-11-19
Changed in webbrowser-app (Ubuntu):
status: In Progress → Triaged
assignee: Olivier Tilloy (osomon) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers