Skip to content

2020 Frame: route Home and power-on to the launcher - #45

Open
yoshi5534 wants to merge 1 commit into
nthnclrk:mainfrom
yoshi5534:pr/frame2020-home-startup
Open

yoshi5534 wants to merge 1 commit into
nthnclrk:mainfrom
yoshi5534:pr/frame2020-home-startup

Conversation

@yoshi5534

Copy link
Copy Markdown

Behaviour

app/config.xml declares the default app-control operation:

<tizen:app-control>
  <tizen:src name="index.html" reload="disable"/>
  <tizen:operation name="http://tizen.org/appcontrol/operation/default"/>
</tizen:app-control>

On a second LS03T (Tizen 5.5, same firmware and library hashes as the #22 report), system launches of the web launcher only work with this declaration. Without it, a first-screen boot stopped at a "CleanFrame loading" screen and the launcher process never started. With it, power-on reaches the launcher. A 2020 Q90T fork (gtalusan/CleanFrame q90t-tizen55) suggested the change; it notes the declaration was needed for Home key delivery there.

Documentation

docs/frame-2020.md, docs/compatibility.md and the profile README now explain why the Home operation, the router and the first-screen target each failed alone on this TV. A system-log capture during a Home press showed the cause:

  • Samsung's context manager handles XF86Home through Samsung's own com.samsung.tv.csfs rule.
  • It evaluates the router's added rule only when that rule's target is a task it manages.
  • The launcher becomes such a task, the firstscreen task, only when db/first_screen/type names it and the TV has restarted since then.

With all three parts (app-control, first-screen target, router) and a restart, the owner confirmed before and after a full power cycle:

  • Power-on opens the launcher.
  • Home from YouTube shows Samsung's bar very briefly, then the launcher.
  • Back from the bar returns to the launcher.

The Home operation stayed at its original absent state, and Samsung's rule is untouched. The docs record the undo order. No transport, identifiers or recovery values are included.

Checks

  • npm run check: passes.
  • npm run check:public: passes.
  • Tool tests (scripts/test-tools.py, 15) and frame-2020/check.py (4): pass under Linux Python. On Windows, package.py imports pty, which doesn't exist there.
  • CLEANFRAME_PUBLIC_FONTS=1 npm run check:browser: 420 passed, 1 failed. "Hidden boot retries failed assets on becoming visible" times out on this machine with or without this change, on unmodified 0.7.0 too. The browser preview doesn't read config.xml.

Untested

  • The app-control declaration on Tizen 6+ and on the reference LS03D. reload="disable" should keep the running page on a repeated launch, but this has not been checked there.
  • Whether the first LS03T needed the declaration.
  • One cold boot showed a black background until the owner returned to the launcher; a later cold boot showed the wallpaper normally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Fk4GZvf8vCfQ1PWNLETHLu

Declare the default app-control operation so system launches (first
screen and the Home key rule) reach the web launcher; without it a cold
boot stopped at the loading screen on Tizen 5.5.

Document why the LS03T Home operation, router and first-screen target each
failed alone on a second owner's TV: Samsung's context manager evaluates
an added XF86Home rule only for a task it manages, and the launcher
becomes the firstscreen task after the first-screen target is set and the
TV restarts. With all three, Home and power-on reach the launcher
(owner-confirmed across a power cycle).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fk4GZvf8vCfQ1PWNLETHLu
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.

2 participants