Skip to content
  • Simon Steinbeiss's avatar
    Introduce priority-group startup for FailSafe Session · 0a915310
    Simon Steinbeiss authored
    The FailSafe Session previously simply started all applications listed
    in the xfce4-sesion.xml file at once, leading to race conditions with
    effects like unthemed xfce4-panels etc. (See Bug #15388)
    
    The new FailSafe Session implementation introduces the feature of
    "Priority Groups" that was already present for saved sessions and uses
    the same startup mechanism. This means that all applications in one
    priority group have to be launched until the applications from the next
    priority group can get launched, thus mitigating the racy startup of the
    old FailSafe Session.
    As we cannot uniquely identify or track starting
    applications in the FailSafe Session we simply count the amount of
    applications per priority group and launch all applications per group at once.
    0a915310