ChurchApps / FreeShow

FreeShow is a free and open-source, user-friendly presenter software.
https://freeshow.app
GNU General Public License v3.0
561 stars 88 forks source link

[Bug Report] Clicking template multiple times caused item to shift #837

Closed budirec closed 1 month ago

budirec commented 1 month ago

Describe the bug I have this template that has song writer, title, lyric (Indonesia), lyric (English) When I apply this template to a slide multiple times, the order of writer, title, lyrics will shift 1 in order as can be seen in the video

Reproducing This is the template

{
    "a6ebd53c19c": {
        "name": "BCF Song",
        "color": null,
        "category": "song",
        "items": [
            {
                "style": "left:50.00px;height:636.14px;width:1820px;top:270px;",
                "type": "text",
                "lines": [
                    {
                        "align": "text-align: center",
                        "text": [
                            {
                                "style": "font-family:Tiresias Infofont;font-size:80px;letter-spacing:0px;word-spacing:0px;text-transform:none;background-color:rgb(0 0 0 / 0);white-space:;color:#cfffcc;",
                                "value": "Translated"
                            }
                        ]
                    }
                ],
                "specialStyle": {
                    "lineGap": 1
                },
                "align": "align-items:flex-start;"
            },
            {
                "style": "left:50.00px;height:614.27px;width:1820px;top:180px;",
                "type": "text",
                "lines": [
                    {
                        "align": "text-align: center",
                        "text": [
                            {
                                "style": "color:#FFFFFF;font-family:Tiresias Infofont;font-size:80px;",
                                "value": "Lyric"
                            }
                        ]
                    }
                ],
                "align": "align-items:flex-start;"
            },
            {
                "style": "top:91.00px;left:50.00px;height:86.70px;width:1820px;",
                "type": "text",
                "lines": [
                    {
                        "align": "text-align: center",
                        "text": [
                            {
                                "value": "Title",
                                "style": "font-family:Tiresias Infofont;color:#FFDC00;font-size:90px;letter-spacing:1px;text-transform:uppercase;"
                            }
                        ]
                    }
                ],
                "align": "align-items:flex-start;"
            },
            {
                "style": "left:50.00px;height:51.70px;width:1820px;top:40px;",
                "type": "text",
                "lines": [
                    {
                        "align": "text-align: right",
                        "text": [
                            {
                                "value": "Writer",
                                "style": "color:#AAAAAA;font-size:50px;"
                            }
                        ]
                    }
                ],
                "align": "align-items:flex-start;"
            }
        ]
    }
}

Screenshots (Optional) https://github.com/user-attachments/assets/42cfdd82-52e2-4e36-82be-500816578d0c

Version (Optional)

Additional context Add any other context about the problem here.

vassbo commented 1 month ago

This is intentional: https://github.com/ChurchApps/FreeShow/issues/741#issuecomment-2287946556