Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"Description is not empty" in Smart Album not working?

I created a Smart Album with one matching condition: Description is not empty. This Smart Album matched ALL my photos. If the Info Window for a particular photo shows "Add a Description", then the description for this photo is "empty", true? If true, then how do I fix this?


This photo was INCLUDED in the Smart Album even though its Info Window says "Add a Description".

User uploaded file

MacBook Pro with Retina display, OS X Yosemite (10.10.5)

Posted on Oct 1, 2015 12:44 PM

Reply
13 replies

Oct 1, 2015 1:16 PM in response to SupportBigCatRescue

As a test, add a new photo to the library, where you are sure, that the description is empty. Take a screenshot or similar.

Does this new photo show in the "Description is empty" album?


A deleted description is not empty. If you delete a description, the description tag will be an empty string with characters you cannot enter into the text field.

Oct 1, 2015 1:43 PM in response to SupportBigCatRescue

So, is there a way to modify a photo so that its description is truly empty in the eyes of a Smart Album? And, thank you for your help.

I would write a text into the description that looks empty, but can be found. For example three space characters. Then search for "description is " and enter three blanks as your search string.


I know of no way to reset the description back to really empty other then exporting the original and reimporting.

Oct 1, 2015 1:40 PM in response to Old Toad

I exported a single photo out of Photos with the "Title, Keywords, and Description" boxed unchecked. Then, I imported it back into Photos. This fixed the problem for that particular photo. The downside to this fix is, of course, I have to reenter Title and Keywords. I don't have that many photos so I may proceed with this strategy. It would be much less painful if I could batch update photos to "empty" within the Photos app. But, I guess this is not possible.

Oct 11, 2015 4:17 AM in response to SupportBigCatRescue

So, is there a way to modify a photo so that its description is truly empty in the eyes of a Smart Album? And, thank you for your help.


The basic problem here is that deleting a description in Photos sets the description field of the photos database to an empty string ("") rather than an empty field (NULL). I reckon this is a bug in the Photos app. The database can be fixed by resetting all descriptions with empty strings to NULL using an SQL query in the Terminal.

Make sure the Photos app is closed, then go to Terminal and enter the following commands (change path to that of your own Photos Library).


$ sqlite3 ~/Pictures/Photos\ Library.photoslibrary/database/Library.apdb

SQLite version 3.8.10.2 2015-05-20 18:17:19

Enter ".help" for usage hints.

sqlite> update RKVersion set extendedDescription=null where extendedDescription="";

sqlite> .exit


This procedure should be repeated whenever descriptions have been deleted in Photos.

Keep in mind that modifying the Photos database is potentially dangerous, so you might want to make a backup first.

"Description is not empty" in Smart Album not working?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.