media-manager-improvement icon indicating copy to clipboard operation
media-manager-improvement copied to clipboard

[4.0] Problem with media manager and Safari

Open gyvermac opened this issue 6 years ago • 8 comments

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.

gyvermac avatar Mar 17 '18 13:03 gyvermac

Do you have an error in the developer console?

laoneo avatar Mar 17 '18 15:03 laoneo

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

gyvermac avatar Mar 18 '18 13:03 gyvermac

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

dneukirchen avatar Mar 19 '18 07:03 dneukirchen

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?

schnuti avatar Mar 19 '18 10:03 schnuti

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

gyvermac avatar Mar 19 '18 13:03 gyvermac

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

kasvith avatar Apr 13 '18 09:04 kasvith

Is there a javascript error in the developer console?

laoneo avatar Apr 16 '18 08:04 laoneo

No nothing on dev console

kasvith avatar Apr 16 '18 09:04 kasvith