Author Topic: Filter Inconsistency  (Read 5209 times)

Offline kclaar

  • Member
  • **
  • Posts: 56
    • View Profile
Filter Inconsistency
« on: September 12, 2019, 08:07:37 AM »
Kirk,

When I filter on Keywords, such as "Concerts" (shown in screenshots), the resulting contact sheet shows images that have nothing to do with concerts, and I can't find any data in the metadata panel to cause them to be included.

I'm using structured keywords only, and this particular keyword is in the form of Concert | performer, where performer is replaced with the performer's name.

When I select "Concert", I get what seems like extra images in the result, but if I select from the perfumer part of the keyword structure, it works perfectly. If I then go back and select the first level (Concert) again, then it works perfectly as well.

This issue started with R3663.

Confused...
-- Ken Claar

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Filter Inconsistency
« Reply #1 on: September 12, 2019, 09:23:17 AM »
Ken,

I'm not sure I follow, the two images you posted appear to be identical to me.

-Kirk

Offline kclaar

  • Member
  • **
  • Posts: 56
    • View Profile
Re: Filter Inconsistency
« Reply #2 on: September 12, 2019, 10:16:37 AM »
Kirk,

I could not get the full screen in one shot, and wanted to pass along the information panel, so it is two pieces. I sent this panel because it shows nothing connecting it with my Concert keyword. I'm attaching my structured keyword file. These are the only keywords I use.

-- Ken

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Filter Inconsistency
« Reply #3 on: September 12, 2019, 11:24:15 AM »
Ken,

I'd like you to turn on some additional logging and then use the Filter system in the same manner (produces the problem, but when you try again, you get correct results) and then have you post the log data here.  Can you do that for me, please?

In order to turn the logging on, you'll need to create a file named PMDebug.txt and you have to place it among Photo Mechanic's preferences files.  Photo Mechanic's preferences files are stored in the following location:

<your home folder>\AppData\Roaming\Camera Bits, Inc\Photo Mechanic\

Create the PMDebug.txt with your favorite text editor (it must be plain text and not some RTF or Word document.)  It needs to have the following contents:

CATALOG_DEBUG_LOGGING ON

Save the PMDebug.txt file to the above folder.  Then run Photo Mechanic Plus and reproduce the problem.  Next, go to the Help menu and choose the 'Reveal Support Data...' menu item.  Your log files should now be compressed and a Windows Explorer window should come forward and show you the file.  Please post it here.

Thanks,

-Kirk

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Filter Inconsistency
« Reply #4 on: September 12, 2019, 12:24:23 PM »
Also make sure you reindexed the catalog; the latest beta requires re-indexing.
Hayo Baan - Photography
Web: www.hayobaan.nl

Offline kclaar

  • Member
  • **
  • Posts: 56
    • View Profile
Re: Filter Inconsistency
« Reply #5 on: September 12, 2019, 02:05:41 PM »
Hayo,

I re-indexed after the install.

Kirk,

Zip file attached.

Thanks!
-- Ken

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Filter Inconsistency
« Reply #6 on: September 12, 2019, 03:47:22 PM »
Thank you for the log, Ken.

We'll have to investigate further to produce a solution.

-Kirk

Offline Bill Kelly

  • Software Developer
  • Full Member
  • ***
  • Posts: 131
    • View Profile
    • Camera Bits, Inc.
Re: Filter Inconsistency
« Reply #7 on: September 12, 2019, 04:22:31 PM »
Technical note: There appears to be a race condition, under which results from a previous filter query can be mixed with results from the new query.
(Investigation is ongoing; issue bumped to high-priority.)