GTG

Missing a tag when inheriting

Bug #694360 reported by Izidor Matušov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Unassigned

Bug Description

How to reproduce:
1) run GTG ( XDG_DATA_HOME=`pwd` XDG_CONFIG_HOME=`pwd` gtg -d )
2) create a task with tag @tagA
3) by editing the task add a few subtasks but do not open them
4) In the main window choose add a new tag from context menu of a subtask -- @tagB

Expected result:
The subtask should have two tags: @tagA, @tagB

Actual result:
The subtask have both of the tags. However, in the text, there is just one of them (@tagB). The attached screenshot shows the actual result.

Where is the bug probably?
When I open the subtask after its creation, it adds @tagA into text. However, when adding a new tag firstly, @tagA is somehow missed from adding.

Tags: regression
Revision history for this message
Izidor Matušov (izidor) wrote :
Revision history for this message
Mikimana (mikolas-kral) wrote :

But it is valid for tasks without subtasks only. Every subtask with subtask has this tag shown.

Revision history for this message
fbm.224 (fbm-224) wrote :

This also happens to me, although I haven't traced the exact situation when this happens. I have many tasks tagged (with 2 or more tags) which don't show all the tags it has, when editing, and therefore I cant remove the tag from the task, unless I delete the task which I dont want to.

I do not understand why Mikimana says this is valid.

Thanks a lot for this program !!

Revision history for this message
Izidor Matušov (izidor) wrote :

Mikimana: The important part of the reproducer is that you can't open the task (GTG fills the tag then).

I've created a patch but forget to attach it. fbm.224: please try it and tell me if it works also for you :-)

Revision history for this message
fbm.224 (fbm-224) wrote : Re: [Bug 694360] Re: Missing a tag when inheriting

Hello Izidor,

Thanks for the fast answer. I don't know how to apply the patch (but can
learn), I'm using the daily build from the ppa in Ubuntu Maverik.

El 07/03/11 10:25, Izidor Matušov escribió:
> Mikimana: The important part of the reproducer is that you can't open
> the task (GTG fills the tag then).
>
> I've created a patch but forget to attach it. fbm.224: please try it and
> tell me if it works also for you :-)
>
> ** Patch added: "tag-addition.patch"
> https://bugs.launchpad.net/gtg/+bug/694360/+attachment/1891868/+files/tag-addition.patch
>

Revision history for this message
Izidor Matušov (izidor) wrote :

Maybe when opening the task window, we could check if there are all associated tags in text. If not, add them.

Changed in gtg:
milestone: none → 0.2.9
Changed in gtg:
status: New → Confirmed
assignee: nobody → Izidor Matušov (izidor)
Revision history for this message
Izidor Matušov (izidor) wrote :

In the trunk there is a regression: Created subtask doesn't inherit tags. This must be fixed first.

tags: added: regression
Changed in gtg:
importance: Medium → High
assignee: Izidor Matušov (izidor) → Lionel Dricot (ploum)
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

tag inheritance has been solved in rev 975

Changed in gtg:
importance: High → Low
assignee: Lionel Dricot (ploum) → nobody
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

fixed in rev 977

Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
status: Confirmed → Fix Committed
Izidor Matušov (izidor)
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.