mtierltd / timetracker

GNU Affero General Public License v3.0
81 stars 27 forks source link

Quick switch of activities registers wrong name for currently running activity #102

Open kralan opened 3 years ago

kralan commented 3 years ago

I like the feature of quickly switching to a past activity by clicking the "play" icon in its entry. Alas, while the switch succeeds, the already running activity is registered with the wrong name.

Steps to reproduce:

  1. Have activity A running.
  2. Try switching to past activity B by clicking the "play" icon in an entry of B while A is running.

Expected behaviour:

  1. Running activity A is stopped.
  2. A new entry for activity B is copied from the past entry.
  3. Activity B is running.

Observed behaviour:

  1. Running activity A is stopped - ok - but the name is changed to B.
  2. A new entry for activity B is copied from the past entry - ok.
  3. Activity B is running - ok.