Open bhh32 opened 2 weeks ago
Got the same issue. Did you find a workaround for this?
I did not. I used a dropdown in its place.
On Sat, Nov 2, 2024 at 4:20 AM CristianKerr @.***> wrote:
Got the same issue. Did you find a workaround for this?
— Reply to this email directly, view it on GitHub https://github.com/pop-os/libcosmic/issues/656#issuecomment-2452958138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH5FSZGL2NRSU52B363QALZ6SYPVAVCNFSM6AAAAABQK6OKD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJSHE2TQMJTHA . You are receiving this because you authored the thread.Message ID: @.***>
Issue
It looks like the latest update breaks the combo_box (ComboBox) widget.
Compiler Error
Code Snippets
When I try to use what the compiler is telling me to use, cosmic::Theme, I get an error when creating the combo_box (I've tried ComboBox::new() and the combo_box() function) because it's expecting cosmic::iced::Theme.
However, when I switch it to cosmic::iced::Theme it allows me to create the combo_box (using both ComboBox::new() and the combo_box() function), but I get the compiler error above. This is what the code looks like:
Here is the code with cosmic::iced::Theme without the blocking error messages: