After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773835 - The last seleted item from previous list is automatically added to newly selected list
The last seleted item from previous list is automatically added to newly sele...
Status: RESOLVED FIXED
Product: gnome-todo
Classification: Other
Component: General
3.22.x
Other Linux
: Normal major
: ---
Assigned To: GNOME To Do maintainer(s)
GNOME To Do maintainer(s)
: 774704 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-11-02 16:22 UTC by Mohammed Sadiq
Modified: 2016-12-01 02:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
task-list-view: set the new tasklist before anything else (1.48 KB, patch)
2016-12-01 02:15 UTC, Georges Basile Stavracas Neto
committed Details | Review
list-selector: unset tasklist when exiting the tasklist view (995 bytes, patch)
2016-12-01 02:15 UTC, Georges Basile Stavracas Neto
committed Details | Review

Description Mohammed Sadiq 2016-11-02 16:22:25 UTC
How to reproduce:
1. Create two new lists (say: Personal, MyList)
2. Create some item in 'Personal' list (say: a, b, c)
3. Select an item (say 'a')
   Now a sidebar with the delete button (details, date selection and other) is shown
4. Now go back clicking the back button.
5. Select the other list (MyList)
6. Click on New task entry

Result:
The item ('a') from the previously selected list ('Personal') is automatically inserted in the current selected list too ('MyList')
Comment 1 Georges Basile Stavracas Neto 2016-12-01 02:15:35 UTC
Created attachment 341098 [details] [review]
task-list-view: set the new tasklist before anything else
Comment 2 Georges Basile Stavracas Neto 2016-12-01 02:15:40 UTC
Created attachment 341099 [details] [review]
list-selector: unset tasklist when exiting the tasklist view

Whenever we exit the tasklist view, all the tasks must be saved and
we should unset anything that's set.
Comment 3 Georges Basile Stavracas Neto 2016-12-01 02:16:15 UTC
Thanks for the report!

Attachment 341098 [details] pushed as ad8390a - task-list-view: set the new tasklist before anything else
Attachment 341099 [details] pushed as 0503eb4 - list-selector: unset tasklist when exiting the tasklist view
Comment 4 Georges Basile Stavracas Neto 2016-12-01 02:18:48 UTC
*** Bug 774704 has been marked as a duplicate of this bug. ***