Skip to content

[file manager] error message when I open a picture or movie from file manager #506

@sophana

Description

@sophana

This bugreport was generated by OS.js:

Installed osjs in debian jessie in armbian (cubietruck) following the manual installation procedure (from git, npm and nodejs-legacy)...
Behind nginx with https (same problem when forwarded with ssh)
tested from firefox and chrome ubuntu trusty 64.

In the file manager, when double click a picture like png or movie like mkv (in chrome), I have a popup:
_resizeFinished@https://osjs.xxx.net/osjs.js:4377:9
Window.prototype._resizeTo@https://osjs.xxx.net/osjs.js:4389:5
ApplicationPreviewWindow.prototype.showFile/this.$view<.onload@https://osjs.xxx.net/packages/default/Preview/combined.js:100:13
mouseEventHandler@https://osjs.xxx.net/osjs.js:1140:18

However, the picture or videos launches.

Expected behaviour

No error message

Actual behaviour

Steps to reproduce the error

In the file manager, when double click a picture like png or movie like mkv (in chrome)

(Optinal) Browser and OS information

firefox and chrome in trusty 64

{"userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0","platform":"Linux x86_64","language":"en-US","appVersion":"5.0 (X11)"}

Stack Trace

_resizeFinished@https://osjs.xxx.net/osjs.js:4377:9
Window.prototype._resizeTo@https://osjs.xxx.net/osjs.js:4389:5
ApplicationPreviewWindow.prototype.showFile/this.$view<.onload@https://osjs.xxx.net/packages/default/Preview/combined.js:100:13
mouseEventHandler@https://osjs.xxx.net/osjs.js:1140:18

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions