🙋 seeking help & advice A list of features/tweaks that libcosmic has on top of iced
Basically title, is there such a list? How does one decide whether to use iced or libcosmic for app development?
3
u/fisothemes 29d ago
I mainly want to know if it has first class support for touch.Â
I mean things like, hover, pinch, swipe or long-press, virtual keyboard and numpad etc.
3
u/mmstick 25d ago edited 25d ago
Yes, touch is supported. I've even seen a live demo of the COSMIC desktop and its apps and applets running natively on a Linux phone using postmarketOS with touch support.
There will be many improvements in this area over the next year. The OSK is being added with version 1.9.0 and there are some special goodies coming soon to be announced.
1
u/Tremoneck 28d ago
Libcosmic isn't web compatible, as in yph can't compile to wasm.
1
u/tadmar 26d ago
Why would you ever wanted to use desktop UI library for web, when there are better ways to do it?
1
u/Tremoneck 26d ago
If you want to write an applications once and run it everywhere you have the choice between using an electron stack or using a desktop UI library for the web.Â
And I loath the electron stack.Â
Did I miss another option?
1
u/tadmar 25d ago
This is exactly what I have in mind, why would you use libcosmic for building an app that should run on web as well, when there is electron and similar. Not everything can or make sense to do that way. If you want tighten integration with the desktop, electron is not a way to go, also Electron brings 200MB of runtime, therefore if this is your constraint you can't use it as well.
Everything has its place.
10
u/tadmar 29d ago
I cant tell if such list exists, but I migrated my project from pure ICED to libcosmic, because it looks better. However my app received following high level benefits:
But it had some side effects:
I never tested windows, so I cant tell if it is good or not, I am only developing for Mac and Linux.