secondlife / jira-archive

3 stars 0 forks source link

[BUG-225453] The internal browser and shared media can't open PDF files #4246

Closed sl-service-account closed 9 months ago

sl-service-account commented 6 years ago

What just happened?

I made a simple "tablet" that shows ebooks (pdf files) hosted elsewhere. Suddendly this summer it doesn't work anymore, and in the preview of the shared media (texture->media->choose) too the previewe is blank, so fortnately it happened before that i distribute the device. Anyway i thought thatit could have been a huge step ahead if you think to intellibooks or thincbooks, the only thing you need is a webserver to host the "books"

What were you doing when it happened?

i was trying to use the Multibook after some time, no changes were made nor to the device nor to my linux machine...btw the same problem happens in Windows, as i'm told by my SL partner

What were you expecting to happen instead?

i was expecting to see and read the pdf books as before

Other information

I was able to see the "books", and youtube movies for that matter, that could have been a plus, but i can see -2normal" webpages as expected, only i don't use the device Multibook and Unibook, a simpler version of the same principle to surf the web ...ah, th eproblem don't happen in any browser i have, Firefox, Chrome, Chromium, even Midori.

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-225453 | | Summary | The internal browser and shared media can't open PDF files | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Unactionable | | Labels | ui, viewer, scripting, mesh | | Reporter | Rockerduck Bogdanovich (rockerduck.bogdanovich) | | Created at | 2018-09-12T21:21:10Z | | Updated at | 2018-09-17T18:13:49Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2018-09-12T18:53:01.580-0500', "Is there anything you'd like to add?": 'I was able to see the "books", and youtube movies for that matter, that could have been a plus, but i can see -2normal" webpages as expected, only i don\'t use the device Multibook and Unibook, a simpler version of the same principle to surf the web ...ah, th eproblem don\'t happen in any browser i have, Firefox, Chrome, Chromium, even Midori.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'I made a simple "tablet" that shows ebooks (pdf files) hosted elsewhere. Suddendly this summer it doesn\'t work anymore, and in the preview of the shared media (texture->media->choose) too the previewe is blank, so fortnately it happened before that i distribute the device. Anyway i thought thatit could have been a huge step ahead if you think to intellibooks or thincbooks, the only thing you need is a webserver to host the "books"', 'What were you doing when it happened?': "i was trying to use the Multibook after some time, no changes were made nor to the device nor to my linux machine...btw the same problem happens in Windows, as i'm told by my SL partner", 'What were you expecting to happen instead?': 'i was expecting to see and read the pdf books as before', 'Where': 'Ther problem is obvoiusly the same in any region', } ```
sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-12T23:53:02Z

Hiya Rockerduck,

Please can you give the URLs of some of the pdf files that will not display using MOAP or in the internal web browser.

I tested with this pdf and it worked for me: http://unec.edu.az/application/uploads/2014/12/pdf-sample.pdf

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-13T20:15:47Z

e.g:

https://docs.wixstatic.com/ugd/3c4381_dd2436be124f49ab811ee2df8038a5cb.pdf   the device reads the address from a notecard, that is what the customer buys, then he/she inserts the notecard into the device, and there is a button to refresh. But i must add that it worked until (don't remember exactly) some weeks ago   Thanks for the quick reply and I hope that this can be sorted out, 'cause i think that the idea  is good, for example the pdf, made correctly, has also a table of contents and is really easiiy made with any word processor, and i would be sorry to dismiss that idea.

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-13T20:23:22Z

![with the pdf you provided to me _001.png](with the pdf you provided to me _001.png)

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-13T20:40:49Z

btw the same problema in aDamani Television, it says...well look at the photo

![the eror in damani TV_001.png](the eror in damani TV_001.png)

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-13T20:42:03Z

BTW same results in linux and windows, and I see all web content in linux (manjaro) 64 bit

 

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-14T13:22:17Z

Hmm I'm able to load https://docs.wixstatic.com/ugd/3c4381_dd2436be124f49ab811ee2df8038a5cb.pdf in the internal web browser & on a media on a prim face on the LL viewer & Firestorm.

So I'm guessing this may be something to with the way this "Multibook" loads the pdf files. Is there a marketplace link to get this Multibook item?

sl-service-account commented 6 years ago

Kyle Linden commented at 2018-09-14T16:06:02Z

Hi Rockerduck,

We cannot reproduce the failure to load .PDF's in a basic Media on a Prim test. 

If you are having issues loading .PDF's on specific products, we will need to have copies of those object to try and reproduce the issue you have described.

A Slurl to an in world location where the object is rezzed, or a link to a Marketplace listing will suffice, we can take copies as need for testing.

Please press the Info Provided button when you update this issue.

Thanks!

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-14T19:51:30Z, updated at 2018-09-14T19:53:00Z

I don't know how ti give you the device 'cause it is not on the narket, it was still alpha, so to say, but i'ts called or  i can send one to anybody you indicate to me.... it's named Multibook and if you like you can freely take it from my inventory or tell me a person to which I can share it, no problem, i'm considering to open the sources with LGPL 3 license

anbd this is a pdf:

https://docs.wixstatic.com/ugd/3c4381_dd2436be124f49ab811ee2df8038a5cb.pdf

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-14T20:03:25Z

Hiya Rockerduck,

Please can you pass a copy of your Multibook inworld to Kyle Linden, Alexa Linden and Whirly Fizzle. If you don't mind setting the scripts to have modify permission so they can be read by myself, that would help a lot. Lindens can see all no mod scripts anyway, but I can't.

I'm wondering if you are hitting this bug: BUG-225356 I need to see how the Multibook is scripted to know if that's the case.

Thanks!

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-14T20:25:39Z

Ok i did it and passed the "device" full perm to Kyle Linden....thanks for supporting and have a great one(y)

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-15T16:48:29Z

Would mind sending me a copy in world too? Avatar name: Whirly Fizzle. I'm the person that will be testing this on Firestorm viewer. Thanks in advance :)

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-16T11:30:15Z

Whirly, i sent you a full perm copy of the "device", I should add that the same problem happens not only with my "device" but also with inworld TVs like Damani's and alike. It happens both in Linux (manjaro 64 is my current gear) and in windows (10, but it's the same) as i have been told by win-friends...so i suspect that my device can even have some bug, i was not scripting from a lot of time, but there are signs that the problem is not there...anyway i tested the pdf that was told working, but it's not working. I want to just add that all was working untile a few weeks ago, after that i did'nt use the "device" for some time and when i used it agai it was not working anymore, nor any other moap device, speaking of PDFs. Sorry if it's unclear. Anyway feel free to examine anything. Have a good one

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-16T16:37:15Z, updated at 2018-09-16T16:37:40Z

Thanks!

Hmm this is odd. I can't reproduce the problem on LL default release: Second Life Release 5.1.8.518593 (64bit) or on Firestorm. Using the example pdf you gave: https://docs.wixstatic.com/ugd/3c4381_dd2436be124f49ab811ee2df8038a5cb.pdf

LL viewer: https://gyazo.com/37617db5716fe57e042919ac0710b24b Firestorm 5.1.7 viewer: https://prnt.sc/kv255x

The pdf media is playing using the CEF plugin on both viewers.


2018-09-16T16:31:22Z INFO: newview/llviewermedia.cpp(1966) : LLViewerMediaImpl::loadURI: Asking media source to load URI: https://docs.wixstatic.com/ugd/3c4381_dd2436be124f49ab811ee2df8038a5cb.pdf
2018-09-16T16:31:22Z INFO: #LLProcess; llcommon/llprocess.cpp(697) : LLProcess::LLProcess: SLPlugin.exe (10888): launched cd I:\phoenix-firestorm-lgpl\build-vc120-64\newview\Release\llplugin: I:\phoenix-firestorm-lgpl\build-vc120-64\newview\Release\SLPlugin.exe 51195
2018-09-16T16:31:22Z INFO: #Plugin; llplugin/llpluginprocessparent.cpp(1021) : LLPluginProcessParent::receiveMessage: plugin version string: CEF plugin 1.1.412
2018-09-16T16:31:22Z INFO: #Plugin; llplugin/llpluginprocessparent.cpp(1030) : LLPluginProcessParent::receiveMessage: message class: base -> version: 1.0
2018-09-16T16:31:22Z INFO: #Plugin; llplugin/llpluginprocessparent.cpp(1030) : LLPluginProcessParent::receiveMessage: message class: media -> version: 1.0
2018-09-16T16:31:22Z INFO: #Plugin; llplugin/llpluginprocessparent.cpp(1030) : LLPluginProcessParent::receiveMessage: message class: media_browser -> version: 1.0
sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-16T16:58:26Z

I can however reproduce the problem with the Damani TV on both the LL viewer & Firestorm. Test location for that TV: http://maps.secondlife.com/secondlife/Damania/181/129/37

This TV fails to load any pdf files with the following error: https://prnt.sc/kv2ajb None of the URLs I tested contain spaces either.

The TV also fails to load pdf URLS with the same error on Pre-Media Update: Second Life 5.1.2.512803 (64bit) Pre-Alex Ivy: Second Life 5.0.7.328060 (Second Life Release) Obsolete platform viewer (uses old webkit): Second Life 3.7.28 (300847) Apr 13 2015 15:22:33 (Second Life Release)

So I'm pretty certain the TV needs to be fixed by the creator, as it appears to never have worked, unless a recent update to the TV broke it. The broken TV appears to be unrelated to pdf not working on your Multibook device.

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-17T07:58:28Z, updated at 2018-09-17T08:03:57Z

Hi, after digging a bit, I discovered that the problem with CEF is only applicable to linux version, because i was told that the "device" works as expected in windows (for what about Apple well....not my problem). The official LL viewer "says" that there's not a plugin for the mimetype html/pdf (or something alike), but having the Adobe flash plugin, and pepperflash too, i'll need to find out what exactly is missing, provided that i have time for that. This said i'm, aware that Linux users are a small minority, and i was told that the device works well by a friend that uses windows, and in a first time it seemed not to work just because she was making a mistake. The only thing that i don't get is why i don't have any problem with media, can see youtube, use voice, listen music streams and all....but to solve problems is after all my job, or i would be in the loving arms of mother Microsoft (i remember well "an error happened, you are too stupid to be told what error,so wait the fix)". So thank you for all your help, maybe one day Firestorm techies  will have time (and reason) to fix this small problem....I don't expect a high priority for a small bug on a "neglected"  OS (even if it is the best that one can find nowadays :) ) well, that's life. thank you anyway and cheers

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-17T13:36:06Z

Thanks for the update.

To summarize:

sl-service-account commented 6 years ago

Rockerduck Bogdanovich commented at 2018-09-17T17:28:33Z

Thank your for the suggestion, but i  think that I'll give up; you are right, LL doesn't support Linux anymore, if you don't mind their android phones...anyway i don't care that much, it's not  that important, and when Linux will be unable to even access SL, well, i can live without it, i live well without Sansar or High Fidelity, it's only for win or mac? not up to me to argue  that, after all all of them are just games, thanks for your kind support, much appreciated

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-17T18:08:14Z

I poked The Firestorm Linux devs to have a look at this. I can pass The Linux devs a copy of your Multibook for testing if that's ok with you :)

sl-service-account commented 6 years ago

Kyle Linden commented at 2018-09-17T18:13:49Z

Hi RockerDuck,

Thank you for the update and working with Whirly. As you have confirmed, we do not support Linux any longer and this bug report is unactionable.

Thanks!