Menu

#3026 Conditional style, based on parent style, won't apply

Next Release
not-a-bug
nobody
None
normal
minor
Always
none
1.9.8
2021-09-25
2021-09-22
No

Thank you for the great functionality. :) Freeplane is ❤❤❤ And here is the first bug :)

See attached screenshot and map.

The child nodes of the nodes with the red background color, should have the style "Field" applied.

2 Attachments

Discussion

  • Robert STeiner

    Robert STeiner - 2021-09-22
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,3 +4,5 @@
    
     The child nodes of the nodes with the red background color, should have the style "Field" applied. 
    
    +![](https://i.imgur.com/ypLLvig.png)
    +
    
     
  • Robert STeiner

    Robert STeiner - 2021-09-22
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,5 +4,5 @@
    
     The child nodes of the nodes with the red background color, should have the style "Field" applied. 
    
    -![](https://i.imgur.com/ypLLvig.png)
    
    +
    
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
     map conditions chained.mm (7.7 kB; application/octet-stream)
    +screenshot.png (90.2 kB; image/png)
    
     
  • Robert STeiner

    Robert STeiner - 2021-09-22

    And a screenshot

     
  • Robert STeiner

    Robert STeiner - 2021-09-23
    • summary: Conditional style based on parent style not applied --> Conditional style, based on parent style, won't apply
     
  • Dimitry Polivaev

    Please always upload your example maps.
    I can not recreate all test maps based on your screen shots because each case is different.

     
    • Robert STeiner

      Robert STeiner - 2021-09-24

      But there is one attached. But I keep it in mind for all other tickets.

       
      • Dimitry Polivaev

        Thanks, found it

         
    • Robert STeiner

      Robert STeiner - 2021-09-24

      Maybe It looks a little messy with the attachments, because I can only attach one for each post. So when I want to upload twio attachments I have to post two messages.

       
      • Dimitry Polivaev

        Actually, conditional styles can not depend on other conditional styles because otherwise the outcome would depend on the calculation order or endless loops could occur. Therefore only explicitly assigned style is checked by this condition.

        But I found and fixed some other bugs which I could see on your example map.

         
  • Dimitry Polivaev

    • status: new --> not-a-bug