Skip to content

Strange behavior when adding an activity starting by a number #618

@brunetton

Description

@brunetton

Hi

I'm using happily using Hamster for years, and like many many other users, I'm very confused with new behavior (introduced in v3 if I understand well; not sure about this).

"Long" story: why I need to enter activities starting by a number

Before I was using Hamster for time tracking and I used two projects I developed for syncing my work with issues systems:

This scripts used regex to find the issues ID I'm working for. This was straight and simple: #123 - fix this bug indicated I was working on issue 123.
But since v3 (since using hamster-snap on Ubuntu), I can't use #123 notation on facts description as Hamster interprets it as a hashtag. I never use hashtags but as the new Gnome philosophy seems to be "no configuration, we choose for you what you need" I can't decide to use tags or not. So I can't use #123 notation anymore.
The alternative is to start activities names (facts, in DB) by the issue number; without #. For example: "123 - fix this bug".

Short story, the concrete example

Steps to reproduce:

  • work on an activity named "123 - fix this bug"
  • stop it
  • later (at 17:31), work on it again: start a new activity (ctrl-+), Hamster gently propose your last activity, so cmdline is 17:31 123 - fix this bug
  • validate this choice (enter) and observe that instead of starting an activity named 123 - fix this bug at 17:31, Hamster started an activity named - fix this bug that finishes in the future (at 19:34)

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions