Bug SS-181
1 vote

CFLabelRegion: Multiple evaluation and strange formatting

Created by Martin Kraska on 7/26/2014 10:34 PM Last Updated by faren fatgas on 2/23/2026 5:21 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

In the example, the expression in the placeholder is evaluated 5 times instead of 1 time (when evaluated on the canvas).

This is annoying for lengthy regression tests (I just set up one for the Maxima plugin), as their duration is 5 times the expected amount of time.

Probably this is due to accessing the possible parts of the format vector individually instead of evaluating the expression once. This  is just a guess. But it can explain the inconsitent format behaviour:

  • First evaluation (a=1) provides the text, wich is "pass"
  • Subsequent  evaluations (a>1) result in fail and provide the background color "red"

This is independent of sym/num evaluation settings.

    faren fatgas (Monday, February 23, 2026 5:21 PM) #

That kind of repeated evaluation can really slow things down, especially in regression tests where timing matters. When I documented a similar placeholder execution issue, I wanted to be sure my explanation didn’t read like auto-generated debugging notes, so I tested it with click here to check tone patterns and structure. At first it flagged my overly uniform technical phrasing, which made me rewrite parts with clearer step-by-step reasoning. The revised version felt more natural and easier for others to follow.

 

    WilhelmDonnelly (Friday, February 6, 2026 1:35 AM) #

Enter the world of Grow A Garden and enjoy the magic of watching your garden bloom. Plant a variety of crops, customize your land, and unlock new features as you progress.

    Davide (Sunday, July 27, 2014 2:47 PM) #

Fixed, thank you Martin