Last modified: 2014-09-22 20:35:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47439, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45439 - [Android] large jpg files cause large problems
[Android] large jpg files cause large problems
Status: RESOLVED WONTFIX
Product: Commons App
Classification: Unclassified
Android (Other open bugs)
unspecified
All All
: Low major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-26 19:21 UTC by Sage Ross
Modified: 2014-09-22 20:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sage Ross 2013-02-26 19:21:48 UTC
I attempted to upload a jpg file of ~40mb, 16,000 x 10,0000 px. This resulted in what seemed like a crash to launcher (although the crash report dialog never popped up, so perhaps not a true crash) each time, usually upon opening whatever app tried to make a thumbnail of it (Gallery, or other gallery apps, or file managers with thumbnailing, or back at Commons App itself in cases where I used a file manager without thumbnailing).

I tried the same thing with the same image in png (~80mb, same dimensions) and it uploaded without issue. (It also generated a thumbnail in the app during upload, even though Wikimedia Commons itself was unable to make a thumbnail from so large a png file!)

I tried with a jpg file of ~25mb, 9,000 × 5,625 px. This resulted in the same crash-like behavior, but crashes (with no crash report dialog) took a little longer than with the larger jpg. I was able to enter a file name and start the upload before it crashed. This resulted in crashes each time I re-opened the app. When I turned off the screen before it crashed, the upload status remained in the notification area (unlike when it crashed to launcher, in which case the notification area also got cleared). The upload status was stalled at "Starting...". The next time I re-opened the app, it had generated a thumbnail of the jpg, and it was listed as Failed. I tapped and it queued it then started uploading it, and completed without issue: http://commons.wikimedia.org/wiki/File:Test_big_file.jpeg

See also: bug 45437
Comment 1 Sage Ross 2013-02-27 14:36:40 UTC
Testing an updated version with Yuvi, I report some improvements.

Large jpg files still choke any Android gallery that tried to load them, and the same thing happens on the title/description view in the app if I choose the file through a file manager that doesn't use thumbnails.

For the 25mb file, if I start the upload before it pseudo-crashes, the app will open up again immediately, listing the upload as Failed. The notification remains active, stuck on "Starting". Tapping again in the My uploads view to retry results in a successful upload (although in the single view afterwards, I found that the aspect ratio was wrong).

For the 40mb jpg file, I get returned to the My uploads view with a pseudo-crash before I have time to enter a title and begin the upload. (I think the same thing happens with the 25mb file if I don't enter the title and start the upload quickly enough.)
Comment 2 Sage Ross 2013-02-27 14:39:08 UTC
Also, these pseudo-crashes result in killing background apps such as my IRC client that normally never get killed by the system.
Comment 3 Brion Vibber 2013-04-02 19:14:36 UTC
Switch to Android component.
Comment 4 Dan Garry 2014-09-22 20:35:55 UTC
As the Mobile Apps Team is focussing on the new, native Wikipedia app, the Commons app is no longer being maintained by the Wikimedia Foundation. I am WONTFIXing all open Commons app bugs to reflect that we will not be spending time fixing them.

For the full story, see this thread on mobile-l: https://lists.wikimedia.org/pipermail/mobile-l/2014-September/thread.html#7974

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links