Skip to content

fix: keep iPadOS web app status bar black - #1679

Merged
reloxx13 merged 1 commit into
PhotoboothProject:devfrom
reloxx13:pr/hotfix-ipados-black-status-bar
Nov 17, 2026
Merged

reloxx13 merged 1 commit into
PhotoboothProject:devfrom
reloxx13:pr/hotfix-ipados-black-status-bar

Conversation

@reloxx13

Copy link
Copy Markdown
Collaborator

Prerequisites checklist

What is the purpose of this pull request? (put an "x" next to an item)

  • Documentation update
  • Bug fix
  • New feature
  • Other, please explain:

What changes did you make? (Give an overview)

On iPadOS 27.2.1, Photobooth opened from the Home Screen showed a white status bar despite a black theme-color.

  • Use the opaque default Apple status-bar style in the main and admin templates.
  • In standalone/fullscreen display mode, set html to a black background and a dark color-scheme. The configured background on body remains intact.
  • Set the manifest launch background to black to match its existing theme color.

The resulting chain is: Home Screen launch -> opaque status bar + dark root color scheme + black root background.

Is there anything you'd like reviewers to focus on?

The user confirmed that the status bar became black on the affected iPad after the dark color scheme and black root background were added. Earlier changes to the meta tags and manifest alone did not fix it. The individual contributions of those earlier changes have not been isolated.

Validation:

  • ddev exec npm run build and ddev exec npm run eslint passed.
  • ddev exec npm run composer:cgl passed.
  • ddev exec php bin/composer phpstan passed.
  • ddev exec php bin/composer phpunit passed: 32 tests, 32 assertions.
  • php -l passed for both changed PHP templates in DDEV and on the Pi.
  • The deployed HTML was checked for the CSS and meta tags; the manifest was parsed and checked over HTTP.

This is a reversible presentation change. The dark color scheme can also affect native controls in installed/fullscreen apps; regular browser-tab styles are outside the media query. Other iPadOS versions and Android devices were not visually tested. Existing Home Screen installations may need their icon removed and added again after the status-bar metadata change.

Related approach: sirk0/hypersweeper#145

AI used to create this Pull Request?

Yes. Codex investigated the behavior, researched the referenced project, edited the two PHP templates and web manifest, deployed the changes to the user's Raspberry Pi, ran the checks listed above, and prepared this PR. The user performed the iPad visual check and confirmed the black status bar.

@reloxx13
reloxx13 merged commit 49b09a9 into PhotoboothProject:dev Nov 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant