https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
compose-desktop
  • l

    luen

    11/23/2021, 6:39 AM
    will there be support for lazy list animation in compose for desktop?
    r
    • 2
    • 3
  • k

    Kirill Grouchnikov

    11/23/2021, 7:39 PM
    And RC3 is here
    :compose-multiplatform: 1
    🎉 12
    :kotlin-intensifies: 2
    r
    • 2
    • 1
  • p

    Pavle Joksovic

    11/24/2021, 8:35 AM
    How can I change the default msi install path?
    t
    • 2
    • 3
  • d

    Didier Villevalois

    11/24/2021, 9:41 AM
    Will Compose Multiplatform 1.0 use Jetpack Compose 1.1? Namely, will there be an
    ExposedDropdownMenu
    like in Jetpack Compose 1.1?
    i
    r
    +2
    • 5
    • 20
  • l

    Luc Girardin

    11/24/2021, 1:46 PM
    A few words of possible wisdom to the fine crew at JetBrains: with 1.0.0-rc3 now out of the wild, it seems that you are heading for compatibility with Kotlin 1.5.31 for its release, when 1.6.0 is the current version. While trying to onboard more people to the joy of Jetpack Compose, I find it confusing and irritating to have to tell to rely on an older version of Kotlin. I would bet that most people using Compose for Desktop/Web are staying bleeding edge as they do not have legacy application to maintain. This is at least the case on my multiplatform projects and I wish the lag with Compose would be reduced, even if this means more bugs. I would even suggest to delay the 1.0 version until it works with Kotlin 1.6. Otherwise, I would recommend to communicate better about your release plans, even if they are tentative (and obviously not binding). Just my 2ct 😉
    👍 8
    👍🏻 1
    🔥 2
    b
    a
    +5
    • 8
    • 8
  • k

    Kebbin

    11/25/2021, 12:54 AM
    Not to light any fires, just for my learning as an amateur, I've just been made aware of .NET MAUI and wondered what the comparison of Kotlin / Compose / Desktop is from a developer point of view? Thanks.
    👀 1
    d
    m
    • 3
    • 5
  • d

    darkmoon_uk

    11/25/2021, 12:22 PM
    A bit of a shame to see UI testing capability effectively descoped from the Compose for Desktop 1.0 release. I hope this will follow on soon enough. Even though UI tests can be brittle and expensive to maintain, I find a focused suite of 'happy path' tests to be almost essential for building production Apps.
    k
    • 2
    • 1
  • h

    Humphrey

    11/25/2021, 12:27 PM
    Hello guys, in my early days programming in SWT I created a UI with Tabs, here is an example https://www.roseindia.net/tutorials/swt/create-tabs.shtml Is there a way to do the same in compose for desktop? Any link to documentation or example would be nice. Or other reason why not to go that way.
    d
    k
    • 3
    • 3
  • s

    spierce7

    11/25/2021, 5:58 PM
    Can Preview be used from Common Code? It seems not?
    d
    r
    • 3
    • 2
  • a

    Alexander Suraphel

    11/26/2021, 1:24 PM
    I’m creating a KMP project, targeting Desktop and Android for now, IOS in the future. Shall I create a KMM project first and add a Desktop target after that? How do i get started? I’m following: https://kotlinlang.org/docs/kmm-create-first-app.html. Thanks
    s
    k
    • 3
    • 6
  • k

    Kebbin

    11/27/2021, 2:08 AM
    How would you choose to create 3D shapes in a Compose Canvas? Is there a 3D objects or shapes library? Would you draw 12 individual lines for a cube? Would drawing a series of tilted rectangles work better? What about a sphere? I will try some ideas and see what happens! Thanks! 🤓 ➰📦
    k
    r
    +3
    • 6
    • 38
  • a

    Ali Albaali

    11/27/2021, 8:11 AM
    I have an app which fetches a list of posts from an API. The app uses Decompose for navigation. I'm wondering what's the best way to persist the list so the list is still available even after navigating to a different destination. Should I save it using
    rememberSaveable()
    , Decompose's
    InstantKeeper
    or
    StateKeeper
    , or an embedded SQLite database, thoughts?
    a
    • 2
    • 12
  • j

    John O'Reilly

    11/27/2021, 10:54 AM
    What are people using for showing maps in Compose Desktop apps? I'm using Swing interop with https://github.com/msteiger/jxmapviewer2 library in BikeShare sample (https://github.com/joreilly/BikeShare) but I don't think experience is as good as it could/should be.
    ➕ 2
    👀 3
    o
    t
    • 3
    • 2
  • k

    Kebbin

    11/27/2021, 12:49 PM
    I'm trying to make a Composable
    Box(Modifier.zIndex()...
    relate to the centre coordinates of that Box. How do I reference the item's own properties in its own Modifiers?? Thanks! 😵
    d
    • 2
    • 17
  • d

    Dominaezzz

    11/28/2021, 12:38 PM
    Anyone notice `Popup`s now have a fixed size? I upgraded a compose desktop project from
    beta5
    to
    rc3
    and all my popup sizes are off.
    i
    c
    • 3
    • 28
  • b

    Big Chungus

    11/28/2021, 2:35 PM
    Has anyone got a dropdown selector implementation I could steal?
    k
    i
    a
    • 4
    • 4
  • b

    Big Chungus

    11/28/2021, 9:11 PM
    Is it possible to disable caret cursor for TextInputField hover?
    • 1
    • 1
  • c

    Clament John

    11/29/2021, 5:37 AM
    How do I check for network connectivity status on the Desktop?
    d
    g
    • 3
    • 4
  • m

    Mak Ho-Cheung

    11/29/2021, 9:17 AM
    Fleet Did somebody join the Jetbrains Fleet preview? I want to know whether Fleet is developed using Compose for desktop
    :nope: 1
    o
    m
    +6
    • 9
    • 28
  • t

    Thiago

    11/29/2021, 2:05 PM
    Fleet will be "lightweight" untill have Android and Gradle plugins 😂
    👀 2
    h
    e
    +2
    • 5
    • 4
  • k

    Kirill Grouchnikov

    11/29/2021, 6:53 PM
    👀
    :compose-multiplatform: 1
    ❤️ 4
    :kotlin-intensifies: 4
    b
    d
    +3
    • 6
    • 8
  • a

    Ayfri

    11/30/2021, 6:12 AM
    Hi, is there a way to open a Folder selector when clicking a button, then register the path to a
    MutableState<String>
    ? I have pretty much all steps done but I don't know how to create a Folder selector ? (I know there is java.awt.FileDialog but I can't find anywhere how to select folders with it)
    e
    • 2
    • 7
  • m

    mcpiroman

    11/30/2021, 12:10 PM
    How do I implement auto scrolling to an item in LazyColumn? I.e. when I press up or down key a sibling item is selected and I want to scroll to it if it's outside of the viewport. It may also be some random item in the list. When the item is `focusable`then the LazyColumn tries to nicely do what I want but succeeds only sometimes and only when the item is within it's cache I suppose, i.e. directly below the bottom. It works well with regular Column though. There is also `scrollToItem`but 1. it only snaps the given item to top 2. is terribly laggy. (If it didn't take seconds to populate Column with 200 items I'd be fine with it too.)
    k
    • 2
    • 2
  • c

    Cody Mikol

    11/30/2021, 3:01 PM
    If I have some globally available
    State
    that is relevant to all screens in my application and I want to modify this via an expensive operation, is this the appropriate time to use
    GlobalScope.launch { … }
    ? I tried using
    remembeCoroutineScope
    to launch the operation, but this caused my UI to freeze until the operation was finished.
    a
    z
    +2
    • 5
    • 13
  • t

    tonnyl

    11/30/2021, 3:58 PM
    Got a server error while downloading the compose-jb dependency...
    o
    • 2
    • 1
  • d

    David W

    11/30/2021, 10:30 PM
    combinedClickable
    and
    mouseClickable
    are mutually exclusive, but have non-overlapping functionality. Is there a built-in way to handle both double-clicks and right-clicks on an item?
    k
    k
    • 3
    • 10
  • d

    David W

    12/01/2021, 12:31 AM
    Is there a way to set the background color of the native window before content is rendered? There's a white flash before the app's (dark) content appears. All of the answers I saw for this were specific to Android.
    t
    • 2
    • 21
  • k

    Kebbin

    12/01/2021, 1:56 AM
    What parameters / metrics / dimensions give each @Composable item it's Clickable area on screen? Can the shape or area be customised? Thanks!
    r
    n
    g
    • 4
    • 24
  • s

    Slackbot

    12/01/2021, 2:41 PM
    This message was deleted.
    k
    • 2
    • 1
  • r

    rsktash

    12/01/2021, 4:30 PM
    https://github.com/JetBrains/compose-jb/releases/tag/v1.0.0
    :compose-multiplatform: 2
    :kotlin-intensifies: 34
    m
    j
    • 3
    • 2
Powered by Linen
Title
r

rsktash

12/01/2021, 4:30 PM
https://github.com/JetBrains/compose-jb/releases/tag/v1.0.0
:compose-multiplatform: 2
:kotlin-intensifies: 34
m

mcpiroman

12/01/2021, 4:32 PM
🤔
:lol: 2
j

Jurriaan Mous

12/01/2021, 4:34 PM
Like Kotlin itself, it is likely only fully released until the blog post is posted.
👆 3
View count: 2