Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP crashes when previewing if ProgressIndicator with 'width: parent.width;' inside VerticalBox #3944

Closed
teminian opened this issue Nov 16, 2023 · 1 comment
Labels
a:live preview The Live preview of slintpad or the LSP (mT,bO) bug Something isn't working

Comments

@teminian
Copy link

LSP crashes when loading preview with ProgressIndicator inside a VerticalBox with width: parent.width; option, which doesn't crash in the application itself(at least in VS Code).

Here goes the minimal source code to reproduce the problem.

import { VerticalBox, ProgressIndicator } from "std-widgets.slint";
export component Dashboard inherits Window {
    VerticalBox {
        ProgressIndicator {
            width: parent.width;
            height: 20pt;
            progress: 50%;
        }
    }
}
@hunger hunger added the a:lsp slint-lsp and formating (mO,bT) label Nov 20, 2023
@ogoffart ogoffart added bug Something isn't working a:live preview The Live preview of slintpad or the LSP (mT,bO) and removed a:lsp slint-lsp and formating (mO,bT) labels Jan 15, 2024
@ogoffart
Copy link
Member

Seems to be fixed in nightly.
I believe this was one of the recursion detected bug (duplicate of #3989 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:live preview The Live preview of slintpad or the LSP (mT,bO) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants