statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
3.88k stars 519 forks source link

White square boxes when viewing jpeg file in Asset Manager #10852

Closed ebeauchamps closed 1 day ago

ebeauchamps commented 2 days ago

Bug description

When viewing a jpg file in the asset manager while in dark mode, 2 white square boxes are displayed in the bottom right corner at any viewport size.

Capture d’écran 2024-09-26 à 21 09 33

One whitish square box is also visible while in Light mode:

Capture d’écran 2024-09-26 à 21 34 49

How to reproduce

Put your CP in Dark Mode Go to Assets Click on a jpg file

Or Put your CP in Light mode (or system mode) Go to Assets Click on a jpg file

Logs

No response

Environment

Environment
Application Name: Statamic
Laravel Version: 10.48.20
PHP Version: 8.3.7
Composer Version: 2.6.5
Environment: local
Debug Mode: OFF
URL: statamic.test
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 2
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.26.0 PRO

Statamic Addons
ebeauchamps/multi-taxonomies: 1.1.1
ryanmitchell/statamic-translation-manager: 1.6.0

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

duncanmcclean commented 2 days ago

Unfortunatley, I can't seem to reproduce this 🤔

CleanShot 2024-09-27 at 09 50 01

^ I'm testing in Safari. The whitespace you do see are scrollbars.

Does it happen for any other file type, other than JPGs? Can you see it in any other browsers? Can you reproduce it on a fresh Statamic site?

ebeauchamps commented 1 day ago

okiiiii....problem seems to be restricted (for me) to Safari 17.6 running MacOs SONOMA 14.6.1 No problem with Chrome 129+

So I guess we should close this one?

jasonvarga commented 1 day ago

I've tried in Safari in Sequoia. It's fine. Weird!

If someone else runs into this we can reopen but for now we can close it.

ebeauchamps commented 1 day ago

Problem is now gone with Safari 18.0.