INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Thumb text: Bug or format error?  (Read 1012 times)

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Thumb text: Bug or format error?
« on: May 26, 2014, 01:44:09 pm »

In my stack manager view, I added a thumb text line that compares the name and the filename (name), and if they're the same, just display, otherwise, show both, using red text.

It works as expected. The problem is, when the result is positive, subsequent thumb text shows inverted with a black background, as shown in the attached clip.

Is this a bug, known limitation or user error?

Thumb text used is:
Code: [Select]
if(isequal([Name],removeright([filename (name)],4),0),[name],<font color="ff0000">Name: [name] :: Filename: removeright([filename (name)],4))<//font>
if(isequal([stack files],),,if(isempty([stack view]),Top Image /(Expanded/),Top Image /(Collapsed/)))
[dimensions] ~ [file size]

-marko

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Thumb text: Bug or format error?
« Reply #1 on: May 26, 2014, 01:55:27 pm »

I don't know that this is the cause, but you are opening the font tag only in the negative case, be closing the font tag always.  Move the close to the negative case.
Logged
The opinions I express represent my own folly.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Thumb text: Bug or format error?
« Reply #2 on: May 27, 2014, 01:02:48 am »

That's fixed it.
I went over and over it last night and never spotted that! Working lovely now.

Thank you.
Pages: [1]   Go Up