Repository: alainm23/planify

Issue #1234: Tasks disappear when dragged to Project from Inbox
Created: 2024-04-03T07:41:27Z
Describe the bug
When I drag a task from my inbox to a project the task disappears and can't be found anymore.
To Reproduce
Steps to reproduce the behavior:

Add a task to the inbox
Add a new project
Move the task to the project by dragging and dropping it on the project

Expected behavior
The task is now visible in the project
Screenshots
Screencast from 2024-04-03 09-39-55.webm
Desktop (please complete the following information):

OS or DE: GNOME 46
Version 4.5.12

Additional context
I actually can't reproduce this reliably, I've also just gotten this when it did move successfully to the project, but then dragging it from the project back to the inbox failed. The video reproduces the task disappearing when dropped back to inbox.
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894fb31ee0' has no handler with id '31461'
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894e45e560' has no handler with id '17769'
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894e603780' has no handler with id '25593'
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894fb323c0' has no handler with id '31460'
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894e45aea0' has no handler with id '17768'
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894e603780' has no handler with id '25592'
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894f8d48f0' has no handler with id '31459'
Apr 03 09:36:19 work io.github.alain[224828]: ../gobject/gsignal.c:2777: instance '0x5b894e45fcb0' has no handler with id '17767'
Apr 03 09:36:19 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'gtk_event_controller_get_widget (controller) == widget' failed
Apr 03 09:36:19 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'gtk_event_controller_get_widget (controller) == widget' failed
Apr 03 09:36:19 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'gtk_event_controller_get_widget (controller) == widget' failed
Apr 03 09:36:19 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'gtk_event_controller_get_widget (controller) == widget' failed
Apr 03 09:36:19 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'gtk_event_controller_get_widget (controller) == widget' failed
Apr 03 09:36:19 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'gtk_event_controller_get_widget (controller) == widget' failed
Apr 03 09:36:00 work io.github.alain[224828]: gtk_box_append: assertion 'GTK_IS_WIDGET (child)' failed
Apr 03 09:36:00 work io.github.alain[224828]: gtk_stack_set_visible_child_name: assertion 'GTK_IS_STACK (stack)' failed
Apr 03 09:34:39 work systemd[4090]: dbus-:1.2-org.gnome.Epiphany.SearchProvider@1.service: Unit process 224713 (WebKitNetworkPr) remains running after unit stopped.
Apr 03 09:34:39 work epiphany-search[224570]: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
Apr 03 09:34:39 work epiphany-search[224570]: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
Apr 03 09:34:39 work epiphany-search[224570]: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
Apr 03 09:34:39 work epiphany-search[224570]: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
Apr 03 09:34:39 work epiphany-search[224570]: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
Apr 03 09:33:49 work gnome-character[224568]: JS LOG: Characters Application exiting
Apr 03 09:33:48 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
Apr 03 09:33:48 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
Apr 03 09:33:48 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
Apr 03 09:33:48 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
Apr 03 09:33:48 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
Apr 03 09:33:48 work io.github.alain[224828]: gtk_widget_remove_controller: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
Apr 03 09:33:47 work io.github.alain[224828]: gtk_box_append: assertion 'gtk_widget_get_parent (child) == NULL' failed
Apr 03 09:33:42 work io.github.alain[224828]: gtk_box_append: assertion 'GTK_IS_WIDGET (child)' failed
Apr 03 09:33:40 work dleyna-renderer-service[224725]: dLeyna: Exit
Apr 03 09:33:40 work io.github.alain[224828]: gtk_stack_set_visible_child_name: assertion 'GTK_IS_STACK (stack)' failed
Apr 03 09:33:40 work io.github.alain[224828]: gtk_box_append: assertion 'GTK_IS_WIDGET (child)' failed
Apr 03 09:33:40 work gnome-shell[4398]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed

Duplicate issue #1239: Moving a task with a subtask can lead to data loss
Created: 2024-04-08T06:12:10Z
Describe the bug
When moving a task with a subtask to another project, the move seems to succeed, but the number of tasks in a project doesn't match up. When deleting the "empty" project, the subtask disappears from the other project.
To Reproduce
Steps to reproduce the behavior:

Create two projects
Create a task with a subtask in one project
Drag the parent task from one project to the other

Screenshots
https://github.com/alainm23/planify/assets/37774658/26127ea0-bd17-4059-822a-1926af5dbdaf
Desktop (please complete the following information):

Fedora, Planify master

Additional context
I found this bug while trying to move multiple tasks between projects. I tried to select all, but the move still applied to just one task, so I tried to be clever and created one task that holds multiple tasks. As I tried to move the subtasks out of the parent task, the tasks sometimes disappeared from both projects and sometimes restarting the app made some visible.

Closing comment (2024-04-09T08:20:10Z): @alainm23 I think this is a duplicate of #1234