Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

[4.0] Problem with media manager and Safari #520

Open
gyvermac opened this issue Mar 17, 2018 · 8 comments
Open

[4.0] Problem with media manager and Safari #520

gyvermac opened this issue Mar 17, 2018 · 8 comments
Labels
Milestone

Comments

@gyvermac
Copy link

Steps to reproduce the issue

In backend go to media and clic on ... to edit one image.
screen shot 2018-03-17 at 08 10 18

Expected result

screen shot 2018-03-17 at 08 10 18

Actual result

The editing icons appear and disappear immediately. No way to clic on any of them.

System information (as much as possible)

MacOS 10.13.3, Safari 11.0.3 (last public version) and even with Safari Technology preview

Additional comments

If you do exactly the same but on a directory instead of an image, everything works fine !
Works on images with Firefox.

@laoneo
Copy link
Contributor

laoneo commented Mar 17, 2018

Do you have an error in the developer console?

@gyvermac
Copy link
Author

Yes and only with Safari !
[Error] Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:8888/joomla4/media/vendor/tinymce/skins/lightgray/skin.min.css.map

This file does not exit but seems to be called only in Safari

@dneukirchen
Copy link
Contributor

dneukirchen commented Mar 19, 2018

Can confirm the issue in safari. Thx for reporting.
Seems not related to the error in console.

probably caused by mouseleave in https://github.com/joomla-projects/media-manager-improvement/blob/dev/administrator/components/com_media/resources/scripts/components/browser/items/image.vue#L2

@laoneo laoneo added this to the Stabilize milestone Mar 19, 2018
@laoneo laoneo added the bug label Mar 19, 2018
@schnuti
Copy link
Collaborator

schnuti commented Mar 19, 2018

As the error message shouldn't appear within the Media Manager and probably not break the code anyway, you could test Article Add/Edit where tinyMCE is loaded. The error message should appear in the console but not break the code. If there is an issue it belongs to Joomla core.
Do the browsers always load a .map file nowadays or only in developer mode?

@gyvermac
Copy link
Author

I checked again...
Safari : ASAP tinyMCE is loaded (article Edit) error is the same. Don't have to be in media manager.
Same error in console with Firefox but no issue => error in console is not related to the issue.
I agree with @dneukirchen

@kasvith
Copy link
Contributor

kasvith commented Apr 13, 2018

I confirm this issue. It's happening on my Safari Version 11.0.2 (12604.4.7.1.4)

@laoneo
Copy link
Contributor

laoneo commented Apr 16, 2018

Is there a javascript error in the developer console?

@kasvith
Copy link
Contributor

kasvith commented Apr 16, 2018

No nothing on dev console

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants