Bug 365971 - KCoreDirLister failed to emit itemsDeleted for baloosearch
Summary: KCoreDirLister failed to emit itemsDeleted for baloosearch
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.24.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 07:34 UTC by Leslie Zhai
Modified: 2022-12-10 05:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leslie Zhai 2016-07-22 07:34:10 UTC
I tried to fix the issue described here https://git.reviewboard.kde.org/r/126448/

When clicked 'Search For Image' on Dolphin, it is search mode enabled, select a file and press Delete to remove it to Trash, but the file (already removed to Trash) was still there, so re-press Delete to remove it again, Dolphin show error message as The file or folder XXX does not exist.

My testcase for KCoreDirLister emit itemsDeleted goes here https://quickgit.kde.org/?p=kio.git&a=commit&h=3d21d410ea27ddc930116412be61c42998c49ad9

1. openUrl QUrl::fromLocalFile(QDir::homePath()) for listing home, it outpus like https://forum.isoft-linux.org/viewtopic.php?f=4&t=44
2. remove a file from $HOME to Trash, then outpus like:

*** itemsDeleted: 
*** started( file:///home/zhaixiang )
*** completed( file:///home/zhaixiang )
*** completed()

3. openUrl QUrl("baloosearch:?json={\"dayFilter\": 0,\"monthFilter\": 0,\"type\": [\"Image    \"],\"yearFilter\": 0}") for Search listing Image, it outputs like https://forum.isoft-linux.org/viewtopic.php?f=4&t=44&p=141#p141
4. remove a file from baloosearch results, but NO itemsDeleted signal!

Reproducible: Always
Comment 1 Nate Graham 2017-11-20 05:31:06 UTC
Hi Leslie,
Would you be interested in producing a patch for this?
Comment 2 Justin Zobel 2022-11-10 22:33:04 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-11-25 05:16:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-10 05:13:36 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!