Bug 373405 - Gwenview 16.08.2 fails to honor BlackListedExtensions in gwenviewrc
Summary: Gwenview 16.08.2 fails to honor BlackListedExtensions in gwenviewrc
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: Other (add details in bug description)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-08 00:55 UTC by bob
Modified: 2017-06-13 16:56 UTC (History)
2 users (show)

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


Attachments
attachment-3152-0.html (976 bytes, text/html)
2017-05-31 08:37 UTC, smihael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bob 2016-12-08 00:55:42 UTC
Gwenview 16.08.2
KDE Frameworks 5.27.0
Qt 5.6.1
xcb windowing system

Problem: When browsing images, Gwenview includes .NEF files in the browse list, even when $HOME/.kde/share/config/gwenviewrc contains the following configuration:

<snip>
[General]
HistoryEnabled=true
BlackListedExtensions=NEF,new
</snip>

According to this page of KDE documentation:

/userbase.kde.org/Gwenview/Hidden_Configuration_Options

Gwenview will ignore *.NEF files when browsing a file directory.  Unfortunately, that isn't happening.  I have a directory full of .JPG and .NEF files and Gwenview is loading both the .JPG and .NEF files when only the .JPG files should be loaded into the list of images to view.  This results in browsing twice as many photos as expected, with redundancy.

Please advise if this is due to a configuration error on my part.  Thanks.
Comment 1 bob 2017-01-01 18:55:17 UTC
still a problem.
Comment 2 Christoph Feck 2017-05-30 22:14:21 UTC
According to code, it requires (for whatever reason) a list of extensions in lowercase letters. Please try

BlackListedExtensions=nef,new
Comment 3 smihael 2017-05-30 22:45:01 UTC
It does not work in Gwenview 17.04.1 either. Changing the case does not change the incorrect behaviour.
Comment 4 Christoph Feck 2017-05-30 23:15:19 UTC
Make sure you are using the correct configuration file "~/.config/gwenviewrc" for the KF5 version.
Comment 5 smihael 2017-05-31 08:37:32 UTC
Created attachment 105790 [details]
attachment-3152-0.html

Thanks, that worked. A GUI to expose this option would be nice as pointed
out in bug 379545.

On 31 May 2017 at 01:15, Christoph Feck <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=373405
>
> --- Comment #4 from Christoph Feck <cfeck@kde.org> ---
> Make sure you are using the correct configuration file
> "~/.config/gwenviewrc"
> for the KF5 version.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 6 Christoph Feck 2017-06-13 16:56:25 UTC
I have updated the wiki to mention the new location.