So what parts of compose desktop are lacking compa...
# compose-desktop
s
So what parts of compose desktop are lacking compared to compose android?
j
You tell us! Try it out, tell us what's missing / needed most.
s
So it’s expected that Android and desktop have the same features?
d
Icons.Filled.Visibility
and
Icons.Filled.VisibilityOff
is missing.
j
Desktop is newer so things are a little more experimental, and the platforms are different so some features make sense for one platform but not the other, but largely the goal is to keep them more aligned than divergent.
a
There are things missing in Android compose, e.g scrollbars. But they make sense only in Desktop. 😀
l
Scrollbars make sense on Android : to know where you are, in case you have a mouse, in case you need to fast scroll long lists (e.g. contacts list or whatever)
j
We intend to lift scrollbars into more common code, just hasn't happened yet. But yes, scrollbars were implemented on Desktop first because they were more critical to the desktop experience.
a
Yeah, I had to say "*much* sense". In Android they are indicators only, but in desktop they are interactive.
l
Overridable platform dependent defaults is the way to go IMHO
s
Image loading library
o
image manipulations are covered in https://github.com/JetBrains/compose-jb/tree/master/tutorials/Image_And_Icons_Manipulations, could you clarify what is missing
SVG icons support is missing, but we plan to fix that
🎉 8
Some features, such as maps are not available on desktop, but maybe those could be handled with CEF support and showing them in browser
a
@olonho just checked the doc,
imageFromFile
synchronously loads images from disk? Also what about loading from network?
o
but why one cannot use
javax.imageio.ImageIO
for example? Or you mean something MPP-aware?
a
I'm not sure. You just pointed on that Readme, but async image loading from disk/web is not covered there. Some example of image loading from network in a shared Android/Desktop code would be great.
g
Time to contribute to Coil and decouple it from Android 😏
👍 5
s
What is CEF support?
s
oh wow cool.