Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Good thing about iced is, you get a compact executable, runs on any OS, looks exactly the same everywhere, perform much better than web based UI, no need to manage any permission to access local files, and you can customize the look as you need, but comes with tolerable default.

Price to pay is building the UI is bit complex as it doesn't hold your hand, unforgiving, and not native.

I like iced. But tauri is good middle ground



Iced is the clear number one for me, too. The only thing I'd love to see officially supported in iced in the future is mobile apps. But it looks like that ain't gonna happen anytime soon (with the most recent PRs getting rejected once again).


Have a question, what is the best way to detect if a `text_input` is focused?


Not exactly what you asked, but I recently answered a very similar question on StackOverflow: https://stackoverflow.com/questions/79345013/how-to-focus-te...


Yes, not what I want :-).

I can focus just fine. I want to detect if a text_input is focused, when I am checking key-presses.

But going through every discussion and all, there was a PR that might have allowed to do this, and it's been merged, but it's not working the way I want.

My use case is, If the text_input is not focused, I can press characters to perform some operations. If text_input is selected, it should be ignored.

For now I am back using modifiers, will get back to this later.


Unforgiving?


Hm, I believe my wording is bit unclear. The trait system can really get complex as your widget layout gets more complex, and you want to write reusable components, But there's no clear way to understand what's the type it's expecting from the errors. You need to really understand the traits to implement any reusable components. Which is why I felt it's kind of unforgiving, if you're not fully knowledgeable of the primitives.

But I'm still learning it, so, probably missing some details.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: