andi34 / photobooth

A Photobooth web interface for Linux and Windows.
MIT License
71 stars 39 forks source link

[BUG]: No background Images displayed with iOS devices running iOS <15.2 #410

Closed talentlos closed 2 years ago

talentlos commented 2 years ago

Describe the bug

Devices with iOS Version <15.1 are not able to display the background image any more. I testet the latest dev version with RaspPi OS Bullseye (latest release) 32 and 64bit and RaspPi OS 32 bit Buster.

Still the same behaviour - testet on an iPad mini 2 and iPad Air, both running iOS 12.5.5. I testet several browsers (Safari, Chrome, Firefox and some kiosk-browsers). Then I used an iPad mini 4 running iOS 15.2 with the same issue. After updating to iOS 15.4.1, background images are ok.

7FAB8CD9-A734-4FC7-B8A8-70ED6BB62B41

Steps to reproduce the behavior

Issue on all devices running iOS <15.2

Expected behavior

Background images are being displayed

Photobooth Version

latest dev

Browser and browser version

all browsers on iOS < 15.2

Operating System

iOS

Did it work before?

Yes

Latest working version

No response

Additional context

No response

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

andi34 commented 2 years ago

Hey and sorry for the late response! I am unable to test on iOS myself, I don't own any Apple device. There's only an issue with the background or other functionalitys also missbehaving? The background is set via Javascript on init, but I guess there will be a workaround for that. I'll try to find a good way to detect the OS and try to pass the background via Stylesheet definition inside the index.php.

You'll be able to test once I've got something to test?

andi34 commented 2 years ago

Btw, there's anything visible inside the browser console log?

talentlos commented 2 years ago

You fixed it already! Turns out, the default path to background image was wrong. It seems, newer devices could debug the path by themselves, while older moldes couldn't.

andi34 commented 2 years ago

Good to hear! I know some (older) Apple devices had issues while the path was given relative. So I guess the change I added to have the full path instead fixed it.

Closing the issue now ☺️