Critical Issue: WebApp Freezes After TV Power Cycle When Using VelocityJS Animations

Original Created Sep 22, 2017 | Regeneration Apr 22, 2026

We're experiencing a critical issue with our web application running on Samsung Tizen TVs (2015 and 2016 models). The problem occurs under the following circumstances:

  1. The app is running normally
  2. The TV is turned off and then back on
  3. When reopening the app (which maintains its previous state through the multitasking feature)

After this sequence:

  • All animations using VelocityJS stop working
  • Menus become overlapped and unusable
  • CSS animations continue to work normally

Important observations:

  • The issue only occurs after TV power cycling, not when switching between apps
  • The visibilitychange event handler is being used for multitasking management
  • The same event handler logs "HIDE" when document.hidden is true and "RESTORE" when false
  • Both power cycling and app switching trigger the same visibilitychange events

We urgently need assistance with this critical functionality issue.

Problem Understanding

The issue appears to be specific to VelocityJS animations after TV power cycles, while CSS animations remain unaffected. The problem suggests a potential memory management or initialization issue with VelocityJS when the TV hardware is power cycled.

Solution Methods

  1. Redirect to Samsung TV Forum: Since this is a TV-specific issue, it's recommended to seek help on the Samsung TV Developer Forum where experts on TV-specific implementations can assist.

  2. Potential Workarounds:

    • Consider reinitializing VelocityJS when the app regains visibility
    • Implement a manual refresh of animation elements after power cycle events
    • Explore using CSS animations as an alternative where possible
  3. Debugging Steps:

    • Add detailed logging to track VelocityJS initialization and execution
    • Monitor memory usage before and after power cycles
    • Test with different versions of VelocityJS

Additional Tips

  • When posting on the Samsung TV Forum, include:
    • Detailed reproduction steps
    • Version information for both Tizen TV and VelocityJS
    • Any error messages or console outputs
    • Sample code demonstrating the issue

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.