https://kotlinlang.org logo
Title
s

spierce7

11/06/2020, 6:56 PM
So what parts of compose desktop are lacking compared to compose android?
j

jim

11/06/2020, 6:57 PM
You tell us! Try it out, tell us what's missing / needed most.
s

spierce7

11/06/2020, 6:59 PM
So it’s expected that Android and desktop have the same features?
d

Dominaezzz

11/06/2020, 7:04 PM
Icons.Filled.Visibility
and
Icons.Filled.VisibilityOff
is missing.
j

jim

11/06/2020, 7:06 PM
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

Arkadii Ivanov

11/06/2020, 7:26 PM
There are things missing in Android compose, e.g scrollbars. But they make sense only in Desktop. 😀
l

louiscad

11/06/2020, 7:28 PM
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

jim

11/06/2020, 7:28 PM
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

Arkadii Ivanov

11/06/2020, 7:30 PM
Yeah, I had to say "*much* sense". In Android they are indicators only, but in desktop they are interactive.
l

louiscad

11/06/2020, 7:31 PM
Overridable platform dependent defaults is the way to go IMHO
s

subashz

11/06/2020, 7:44 PM
Image loading library
o

olonho

11/06/2020, 8:35 PM
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

Arkadii Ivanov

11/06/2020, 8:40 PM
@olonho just checked the doc,
imageFromFile
synchronously loads images from disk? Also what about loading from network?
o

olonho

11/06/2020, 8:50 PM
but why one cannot use
javax.imageio.ImageIO
for example? Or you mean something MPP-aware?
a

Arkadii Ivanov

11/06/2020, 8:59 PM
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

gildor

11/06/2020, 11:09 PM
Time to contribute to Coil and decouple it from Android 😏
👍 5
s

spierce7

11/07/2020, 1:40 AM
What is CEF support?
s

spierce7

11/07/2020, 3:26 AM
oh wow cool.