Parsing of unread count only works in English, original GMail (not e.g. German GApps)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-webapps-gmail (Ubuntu) |
Fix Released
|
Undecided
|
Justin McPherson |
Bug Description
The current implementation that parses gmail's html code makes to many assumptions about what strings are present. As a result, parsing fails and no unread notifications show when there is unread mail.
As a (1) German user of (2) Google Apps the script fails for me at two points: First, the string "navigate to" is translated to German in my GMail, hence cannot be found. Second, my Google Apps domain uses "Foo-Mail" as a title, hence the button that usually reads GMail (and leads to a dropbox of Mail, contacts and tasks) reads "Foo-Mail" for me.
I managed to get things working on my machine, patch is included.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity-webapps-gmail 2.4.7 [modified: usr/share/
ProcVersionSign
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu3
Architecture: i386
Date: Mon Oct 22 01:49:33 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120404)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: unity-webapps-gmail
UpgradeStatus: Upgraded to quantal on 2012-10-21 (0 days ago)
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Alexandre Abreu (community): Approve
-
Diff: 29 lines (+2/-7)1 file modifiedGMail.user.js (+2/-7)
Changed in unity-webapps-gmail (Ubuntu): | |
status: | Confirmed → Fix Released |
tags: | added: rls-s-incoming |
Changed in unity-webapps-gmail (Ubuntu): | |
assignee: | nobody → Justin McPherson (justinmcp) |
The attachment "gmail- webapps. diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]