Last modified: 2014-08-17 11:09:24 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 T65801, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63801 - Multimedia viewer does not degrade gracefully on old browser
Multimedia viewer does not degrade gracefully on old browser
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
MultimediaViewer (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-11 01:27 UTC by Bawolff (Brian Wolff)
Modified: 2014-08-17 11:09 UTC (History)
6 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2014-04-11 01:27:33 UTC
I click on an image. I'm in an unsupported browser (iceweasel 3.5)

Expected behaviour:
* Go to image page

Actual behaviour:
* Scroll to top of page
* Notice pops up "Error loading MediaViewer: One or more dependencies failed to load"
Comment 1 Tisza Gergő 2014-04-11 03:50:23 UTC
That is a lot more graceful than the empty black screen you would have seen a week ago :)

In general, we only support the current version of Firefox/Chrome since the overwhelming majority of their userbase updates regularly, and behavior on older browsers can be sketchy. This error comes from ResourceLoader, though, and I cannot think of any reason how our code could influence whether or not a module loads.

Also, I don't see how we handle a loading error more gracefully, although we could do without the scrolling, but that might be unrelated to this bug - see https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/439 (must be a side effect of the bootstrap module messing around with the CSS styles of the body, given that the main app is not even loaded in this case and it still happens)
Comment 2 Tisza Gergő 2014-04-11 03:57:22 UTC
As for going to the file page directly, we have https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/400 about that, but I am not a fan. That makes very hard to understand what is happening (some images are not handled by MediaViewer, such as article maintenance template icons, and clicking on those takes you to the image page - if errors did that too, you could never be sure which case it was) and very hard for us to correct error details (we display the main error message, and log more details on the console; both are lost when the user navigates away).

Maybe we could mark the image on error, so that another click on it does take you to the file page?
Comment 3 Bawolff (Brian Wolff) 2014-04-11 04:12:54 UTC
(In reply to Tisza Gergő from comment #2)
> As for going to the file page directly, we have
> https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/400
> about that, but I am not a fan. That makes very hard to understand what is
> happening (some images are not handled by MediaViewer, such as article
> maintenance template icons, and clicking on those takes you to the image
> page - if errors did that too, you could never be sure which case it was)
> and very hard for us to correct error details (we display the main error
> message, and log more details on the console; both are lost when the user
> navigates away).
> 
> Maybe we could mark the image on error, so that another click on it does
> take you to the file page?

From a user prespective, i doubt they care very much if an error occured. They just want to get to the copyright/description/etc info. If we want to know for debugging purposes, couldnt we use something more subtle e.g. redirect to image page but with ?mediaviewererror on the end of the url, so people debugging could distinguish.
Comment 4 Tisza Gergő 2014-04-29 01:09:47 UTC
If the user does not realize that a bug has occurred, they won't report it and it won't get fixed. https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/127 would help somewhat but still does not necessarily make it a good idea to disable error reporting, especially in the pilot period.
Comment 5 Gerrit Notification Bot 2014-04-29 01:40:16 UTC
Change 130272 had a related patch set uploaded by Gergő Tisza:
Do not handle clicks if MediaViewer could not be loaded.

https://gerrit.wikimedia.org/r/130272
Comment 6 Gerrit Notification Bot 2014-04-29 23:05:24 UTC
Change 130272 merged by jenkins-bot:
Do not handle clicks if MediaViewer could not be loaded.

https://gerrit.wikimedia.org/r/130272
Comment 7 Andre Klapper 2014-07-09 09:01:40 UTC
Patch was merged a while ago - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
Comment 8 Andre Klapper 2014-08-17 11:09:24 UTC
No reply to comment 7 - assuming this bug is FIXED.
If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.

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


Navigation
Links