Bug 487239 - Add new option to exclude images from import.
Summary: Add new option to exclude images from import.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Settings (show other bugs)
Version: 8.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-19 14:49 UTC by Daimonicon
Modified: 2024-05-20 09:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.4.0
Sentry Crash Report:


Attachments
image.png (14.46 KB, image/png)
2024-05-20 08:17 UTC, Daimonicon
Details
image.png (8.22 KB, image/png)
2024-05-20 08:17 UTC, Daimonicon
Details
image.png (18.27 KB, image/png)
2024-05-20 08:17 UTC, Daimonicon
Details
image.png (20.17 KB, image/png)
2024-05-20 08:35 UTC, Daimonicon
Details
image.png (52.03 KB, image/png)
2024-05-20 08:35 UTC, Daimonicon
Details
image.png (19.95 KB, image/png)
2024-05-20 08:54 UTC, Daimonicon
Details
attachment-275612-0.html (1.29 KB, text/html)
2024-05-20 09:04 UTC, Daimonicon
Details
attachment-275870-0.html (1.44 KB, text/html)
2024-05-20 09:07 UTC, Daimonicon
Details
attachment-278314-0.html (1.76 KB, text/html)
2024-05-20 09:30 UTC, Daimonicon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daimonicon 2024-05-19 14:49:35 UTC
Is there an import filter function? The closest thing would be: "Camera -> Import filter".

I would like to load e.g. only jpg,gif,tif,png and filter out eps,psd. Is this possible and have I overlooked the correct setting or does the program not offer any import filters? Camera import filters do not work.

There are no steps in that sense - I had searched for a possibility and found possible settings that did not do what I wanted.

No setting is able to exclude files

For example, files such as eps, psd and others may not be displayed. Minimally desired would be that these images/templates do not appear with preview in the DB

SOFTWARE/OS VERSIONS
Windows 10 22H2
digiKam 8.0.0 

I use the program locally without a camera and actually also without photos in that sense. In my case it's more textures and 3D model screenshots. Just in case the question comes up why I want to filter esp,psd
Comment 1 Maik Qualmann 2024-05-19 16:54:43 UTC
The camera filter function works without any problems.
Create a new filter, use the mimetype filter, select the file types you only want to import.
The important thing is to select your filter in the main view in the status bar.

Maik
Comment 2 Daimonicon 2024-05-19 17:45:16 UTC
(In reply to Maik Qualmann from comment #1)
> The camera filter function works without any problems.
> Create a new filter, use the mimetype filter, select the file types you only
> want to import.
> The important thing is to select your filter in the main view in the status
> bar.
> 
> Maik

No self-created filters appear in the filter dialog. It may be that I have created them in the wrong place "Cameras -> Import Filter".
Comment 3 Maik Qualmann 2024-05-19 17:58:27 UTC
Please try again, also use a newer digiKam version, there were some bug fixes in 8.0.0 regarding the import filters. There may have been further bug fixes later. Add the filter with “+ Add”.

I checked it again here with digiKam-8.4.0 under Windows, it works as expected.

Maik
Comment 4 Daimonicon 2024-05-20 08:17:41 UTC
Created attachment 169643 [details]
image.png

I am now on version 8.3.0 - the version chosen by digiKam itself.

Add filter in the settings ?

[image: image.png]

[image: image.png]

[image: image.png]

Should my created filters then appear in the menu? Or am I looking in the
wrong place?

Or do these camera filters not apply to local files?

Am So., 19. Mai 2024 um 19:58 Uhr schrieb Maik Qualmann <
bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=487239
>
> --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
> Please try again, also use a newer digiKam version, there were some bug
> fixes
> in 8.0.0 regarding the import filters. There may have been further bug
> fixes
> later. Add the filter with “+ Add”.
>
> I checked it again here with digiKam-8.4.0 under Windows, it works as
> expected.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Daimonicon 2024-05-20 08:17:42 UTC
Created attachment 169644 [details]
image.png
Comment 6 Daimonicon 2024-05-20 08:17:42 UTC
Created attachment 169645 [details]
image.png
Comment 8 Daimonicon 2024-05-20 08:35:00 UTC
Created attachment 169646 [details]
image.png

Ok, so I'm already in the right place to create the filters. However, the
filters I have created do not appear in the status bar filter option.

The title says "Running Filters at Download". I am not downloading anything
anywhere but the files are stored locally on the hard disk, is that the
problem?

[image: image.png]

[image: image.png]


Am Mo., 20. Mai 2024 um 10:23 Uhr schrieb <bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=487239
>
> --- Comment #7 from caulier.gilles@gmail.com ---
> Here :
>
> https://docs.digikam.org/en/setup_application/camera_settings.html#running-filters-at-download
>
> Gilles Caulier
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 9 Daimonicon 2024-05-20 08:35:00 UTC
Created attachment 169647 [details]
image.png
Comment 10 Maik Qualmann 2024-05-20 08:46:21 UTC
The last image in comment 9 is correct. Now you just have to select your filter in the status bar in the ComboBox in the import view.

Maik
Comment 11 Daimonicon 2024-05-20 08:54:19 UTC
Created attachment 169649 [details]
image.png

Then I'm already in the right place. The dialog for the filter selection
does not offer me any of the self-created filters, only predefined ones I
suppose.

[image: image.png]

Am Mo., 20. Mai 2024 um 10:46 Uhr schrieb Maik Qualmann <
bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=487239
>
> --- Comment #10 from Maik Qualmann <metzpinguin@gmail.com> ---
> The last image in comment 9 is correct. Now you just have to select your
> filter
> in the status bar in the ComboBox in the import view.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 12 Maik Qualmann 2024-05-20 08:56:14 UTC
You are in the digiKam main view, not in the import window!

Maik
Comment 13 Maik Qualmann 2024-05-20 08:58:40 UTC
Maybe we are talking past each other, you want to filter out images in the albums that have already been imported into digiKam?

The camera import filter that we suggest only applies during import with the import tool.

Maik
Comment 14 Maik Qualmann 2024-05-20 09:04:01 UTC
If you want to remove certain mime types directly in digiKam albums, then open this setting:

https://docs.digikam.org/en/setup_application/views_settings.html#mime-types-settings

Enter mime types that you don't want with a "-" in front of them, i.e. -eps -psd"

Maik
Comment 15 Daimonicon 2024-05-20 09:04:55 UTC
Created attachment 169650 [details]
attachment-275612-0.html

Yes, that's exactly what I wanted to achieve.
So the subsequent filtering doesn't work then? Then I have to copy the
image files to be ignored into a folder that digiKam ignores.

Am Mo., 20. Mai 2024 um 10:58 Uhr schrieb Maik Qualmann <
bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=487239
>
> --- Comment #13 from Maik Qualmann <metzpinguin@gmail.com> ---
> Maybe we are talking past each other, you want to filter out images in the
> albums that have already been imported into digiKam?
>
> The camera import filter that we suggest only applies during import with
> the
> import tool.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 16 Daimonicon 2024-05-20 09:07:27 UTC
Created attachment 169651 [details]
attachment-275870-0.html

Ah great yes that works perfectly.

Thanks for your help !

Am Mo., 20. Mai 2024 um 11:04 Uhr schrieb Maik Qualmann <
bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=487239
>
> --- Comment #14 from Maik Qualmann <metzpinguin@gmail.com> ---
> If you want to remove certain mime types directly in digiKam albums, then
> open
> this setting:
>
>
> https://docs.digikam.org/en/setup_application/views_settings.html#mime-types-settings
>
> Enter mime types that you don't want with a "-" in front of them, i.e. -eps
> -psd"
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 17 Maik Qualmann 2024-05-20 09:16:06 UTC
Ok, glad we were able to clear it up.
To explain again, the camera filter filters the import tool view so that only desired files are physically copied.

With mimetype filter, digiKam ignores the file types marked with a "-" that are otherwise known to digiKam in the database. Physically, they are still present in the file system, they are just no longer displayed in digiKam.

Maik
Comment 18 Daimonicon 2024-05-20 09:30:34 UTC
Created attachment 169652 [details]
attachment-278314-0.html

Ok, thanks for the clarification.

Am Mo., 20. Mai 2024 um 11:16 Uhr schrieb Maik Qualmann <
bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=487239
>
> Maik Qualmann <metzpinguin@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |FIXED
>    Version Fixed In|                            |8.4.0
>              Status|REPORTED                    |RESOLVED
>
> --- Comment #17 from Maik Qualmann <metzpinguin@gmail.com> ---
> Ok, glad we were able to clear it up.
> To explain again, the camera filter filters the import tool view so that
> only
> desired files are physically copied.
>
> With mimetype filter, digiKam ignores the file types marked with a "-"
> that are
> otherwise known to digiKam in the database. Physically, they are still
> present
> in the file system, they are just no longer displayed in digiKam.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.