Skip to content

Prefer video-native backends for Wallpaper Engine video projects and stop conflicting renderers #277

Description

@louzt

Issue Draft: Prefer video-native backends for Wallpaper Engine video projects and stop conflicting renderers

Summary

Some Wallpaper Engine video projects stay black on Wayland when routed through linux-wallpaperengine, even though the process stays alive. Waypaper should detect those projects from metadata and prefer a video-native backend such as mpvpaper or gslapper when available.

Repro

  1. Use Waypaper with the linux-wallpaperengine backend on Wayland.
  2. Select a Wallpaper Engine video project such as 1470208181.
  3. Observe the output on the real desktop.

Actual behavior

  • linux-wallpaperengine can stay alive while the desktop output remains black.
  • Switching from a video wallpaper to a scene wallpaper can leave a previous dynamic renderer alive unless the transition is cleaned up explicitly.

Expected behavior

  • Detect video projects from project.json.
  • Resolve the actual entry file, not just the preview file.
  • Prefer mpvpaper, falling back to gslapper when installed.
  • Kill conflicting dynamic backends when switching between video, scene, and other animated backends.

Notes

  • This is a behavior change, so it should be discussed in an issue before opening the PR.
  • The metadata/type work from issue 01 should land first or be embedded carefully in this branch.

Validation

  • Reproduce a real video -> scene transition on a multi-monitor Wayland setup.
  • Confirm mpvpaper does not remain alive after switching to a scene wallpaper.
  • Confirm linux-wallpaperengine is still used for scene and web wallpapers.

Proposed branch

  • fix/wallpaperengine-video-handoff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions