Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.8k stars 316 forks source link

Profile detection misbehaves #4929

Open guyru opened 5 years ago

guyru commented 5 years ago

Detection of profile files in ~/.config/RawTherapee/profiles misbehaves if there is a directory inside the profiles directory.

Steps to reproduce:

  1. Create a bunch of profiles and save them in ~/.config/RawTherapee/profiles
  2. Close RawTherapee
  3. Create a new directory name "Test" in ~/.config/RawTherapee/profiles
  4. Reopen RawTherapee

Now the Bundled Profiles list is empty, My Profiles list has all the bundled profiles and show only some of the actual profiles we created in the profiles directory.

Rawtherapee 5.4 on Debian Stretch

Beep6581 commented 5 years ago

I use the following and cannot see any issues:

ll ~/.config/RawTherapee5-dev/profiles/

Pentax K10D'/
Sony A7II'/
Old Default.pp3'
bluehorse.pp3
Beep6581 commented 5 years ago

Cannot reproduce using:

ll ~/.config/RawTherapee5-dev/profiles/

Test/
bar.pp3
foo.pp3
Beep6581 commented 5 years ago

@guyru please compile the latest dev, delete your cache and config, and see if you can reproduce. If you can, write specific steps - the devil is in the details. http://rawpedia.rawtherapee.com/Linux

Thanatomanic commented 5 years ago

I can actually reproduce this on Win10 using the latest dev build:

https://filebin.net/7y99pkxdue3ev1vo

Update: just to be clear, I simply created a folder Test in my profiles directory and opened up RT. Clearing the cache makes zero difference. Neither does removing my options file.