Metadata Panel Highlighting not working for empty values anymore.

Started by ben, September 09, 2023, 09:46:30 PM

Previous topic - Next topic

ben

Thank you, this worked fine.
I now exported my panels to keep it as backup.

I'd have another question regarding my panels.
I am using the settings as shown in the screenshot. 
It shows the background for some metadata (title, location, country) with reddish background as long as the fields are empty. Once i enter a text, the background turns black.

This doesn't seem to work any more. The background is always black.
Do you know why?
Is there another solution to accomplish it?

Btw: Very nice splashscreen you chose.

Ben

Mario

This sounds like a bug report. Mixing general questions with bug reports is messy.
I have split your original topic and moved the bug report into the bug report board where it belongs.
I cannot track bugs mixed with general questions somewhere in a board.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

I see that you are running a regular expression on empty values.
This did not work anymore by a general performance optimization that avoids a lot of overhead when filling the Metadata Panel and merging multi-selection values when a file has no value for a tag.

I have now added yet another special case that re-enables processing for empty values if the user has enable a highlight filter, just in case this highlight filter actually depends on the value being empty.

So far you seem to be the only user who uses this specific kind of highlighting in the Metadata Panel. No other related bug reports.

Note: sometimes things might change in IMatch  for the better, and some rather obscure or virtually unused features (according to telemetry) may vanish for code cleanup or optimization reasons.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ben

Thank you for looking into this.

If there is another way of doing it, i am happy to do so.
I didn't invent this, i copied it from this user forum long time ago and never changed it.

And sorry for mixing it with my general topic.
I wasn't sure if it's a bug or it's me doing it wrong.

Have a nice weekend.
Ben

Mario

Quote from: ben on September 09, 2023, 09:46:30 PMBtw: Very nice splashscreen you chose.
I made various splash panels displayed by IMatch using one of these new fancy image AI's.
Just for fun and variation. General theme is the IMatch logo red color.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

Quote from: ben on September 10, 2023, 12:01:37 PMIf there is another way of doing it, i am happy to do so.
If you don't want for the next update, you can switch the logic: Set the default background color to reddish. Then use a RegExp catching "at least one character" to switch it to black if the tag is filled:

2023-09-10 21_43_52-.jpg
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook