https://bugs.kde.org/show_bug.cgi?id=524791

--- Comment #3 from John Smith <[email protected]> ---
I am working on a GUI program what inserts icons into an icon theme and creates
index.theme files (it's quite nice).   I made the file "1-iconZZZZZZZZZ.png"
for easy visibility during testing to make sure it was placing the icon in all
selected size and category folders.  These are real files, not links, as there
are no links in this icon theme.

Everything worked before the Frameworks 6.29.0 update.  I could search for my
test icon and delete all of them.  After the update I thought my program was
not inserting the icons correctly.  It was, the files do exist.  The problem is
within Dolphin simple search HERE using file name only with baloo disabled, and
appears to be a de-duplication process that does not consider the path when
flagging a result as a duplicate.

Note.  I updated my Tumbleweed which included Frameworks 6.29.0 and it
developed the same search problem.  These results are on CachyOS.

(FOLDER LIST - root folder is oxygen-crystal)
[john@cachyos-r5950x oxygen-crystal]$ ls -v
16x16  22x22  32x32  48x48  64x64  96x96  128x128  256x256  applets  apps  base
 icon-theme.cache  index.theme  scalable 

The screenshot of Dolphin shows that it only returns two results, both unique
names (a png and a svg), while ignoring the other 24 icons.  I cannot find how
to add a screenshot.  Dolphin returns:

/home/john/.local/share/icons/oxygen-crystal/16x16/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/scalable/apps/1-iconZZZZZZZZZ.svg

Deleting the 16x16 version makes the 22x22 version appear in results, then the
same for deleting the 22x22, the 32x32 appears.

(Kfind returns 26 matches.)
/home/john/.local/share/icons/oxygen-crystal/22x22/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/32x32/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/48x48/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/64x64/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/16x16/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/96x96/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/128x128/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/256x256/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/scalable/apps/1-iconZZZZZZZZZ.svgz
/home/john/.local/share/icons/oxygen-crystal/apps/scalable/1-iconZZZZZZZZZ.svgz
/home/john/.local/share/icons/oxygen-crystal/apps/16x16/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/apps/22x22/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/apps/32x32/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/apps/48x48/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/apps/64x64/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/apps/96x96/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/apps/128x128/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/apps/256x256/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/256x256/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/32x32/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/48x48/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/96x96/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/128x128/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/64x64/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/16x16/apps/1-iconZZZZZZZZZ.png
/home/john/.local/share/icons/oxygen-crystal/base/22x22/apps/1-iconZZZZZZZZZ.png


(ICON SEARCH with find = 26 matches)
[john@cachyos-r5950x oxygen-crystal]$ find . -type f -iname "*zzzz*"
./16x16/apps/1-iconZZZZZZZZZ.png
./22x22/apps/1-iconZZZZZZZZZ.png
./32x32/apps/1-iconZZZZZZZZZ.png
./48x48/apps/1-iconZZZZZZZZZ.png
./64x64/apps/1-iconZZZZZZZZZ.png
./96x96/apps/1-iconZZZZZZZZZ.png
./128x128/apps/1-iconZZZZZZZZZ.png
./256x256/apps/1-iconZZZZZZZZZ.png
./base/256x256/apps/1-iconZZZZZZZZZ.png
./base/32x32/apps/1-iconZZZZZZZZZ.png
./base/48x48/apps/1-iconZZZZZZZZZ.png
./base/96x96/apps/1-iconZZZZZZZZZ.png
./base/128x128/apps/1-iconZZZZZZZZZ.png
./base/64x64/apps/1-iconZZZZZZZZZ.png
./base/16x16/apps/1-iconZZZZZZZZZ.png
./base/22x22/apps/1-iconZZZZZZZZZ.png
./scalable/apps/1-iconZZZZZZZZZ.svgz
./apps/scalable/1-iconZZZZZZZZZ.svgz
./apps/16x16/1-iconZZZZZZZZZ.png
./apps/22x22/1-iconZZZZZZZZZ.png
./apps/32x32/1-iconZZZZZZZZZ.png
./apps/48x48/1-iconZZZZZZZZZ.png
./apps/64x64/1-iconZZZZZZZZZ.png
./apps/96x96/1-iconZZZZZZZZZ.png
./apps/128x128/1-iconZZZZZZZZZ.png
./apps/256x256/1-iconZZZZZZZZZ.png

kioclient also returns 26 icons, but with no paths as expected.

[john@cachyos-r5950x oxygen-crystal]$ kioclient ls
"filenamesearch:?search=zzzz&url=file://$PWD"
.
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.svgz
1-iconZZZZZZZZZ.svgz
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png
1-iconZZZZZZZZZ.png


Hope that helps.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to