https://kotlinlang.org logo
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
  • s

    SrSouza

    02/04/2021, 1:00 PM
    Hi folks, there is any utility function that creates a MaterialTheme with the currently LookAndFeel colors from Swing ?
    i
    • 2
    • 2
  • t

    theapache64

    02/04/2021, 2:42 PM
    Hi guys, anyone packaged a
    deb
    using
    packageDeb
    ? It doesn't work for me.
    :kotlin-intensifies: 1
    s
    • 2
    • 9
  • t

    theapache64

    02/04/2021, 6:52 PM
    Currently, the packages name are in
    androidx.compose.*
    format? Will this change in future>?
    a
    i
    +5
    • 8
    • 18
  • t

    theapache64

    02/05/2021, 8:12 AM
    It looks like Ubuntu is not thaaat smooth on rendering/transition. Anyone know why? Source : https://github.com/vipulasri/ComposeSlackDesktop
    macOS.movUbuntu.mp4
    🎶 3
    i
    • 2
    • 3
  • d

    Dirk Hoffmann

    02/05/2021, 11:33 AM
    will jetbrains maybe(!) also target compose for running inside browser web-apps? (maybe with a matured WASM (https://webassembly.org/)
    👍 1
    s
    k
    +2
    • 5
    • 9
  • y

    Yan Pujante

    02/05/2021, 2:53 PM
    is there any recommendation of which build I should use to start a project? is there one that is more stable than another? am I supposed to update to the latest version every few days?
    k
    • 2
    • 1
  • k

    Kirill Grouchnikov

    02/05/2021, 3:02 PM
    Build 149 (requires Kotlin 1.4.30) is out. Breaking change -
    AppWindowAmbient
    has been renamed to
    LocalAppWindow
    . Also API changes to query
    PaddingValues
    🎉 13
    m
    a
    +2
    • 5
    • 10
  • t

    theapache64

    02/06/2021, 7:54 AM
    :jetpack-compose: Can we expect an official navigation library for compose desktop? and If there's going to be one, would it follow same API structure as Jetpack Navigation? (NavHost, NavController and those stuffs)
    s
    • 2
    • 1
  • t

    theapache64

    02/07/2021, 1:50 PM
    ❓ How can I access
    packageName
    defined inside
    build.gradle.kts
    inside
    main
    method? Is there any API available?
    j
    s
    d
    • 4
    • 6
  • t

    theapache64

    02/07/2021, 2:27 PM
    ❓ What is the recommended way to customize the TitleBar? I know it can be disabled by
    undecorated
    flag, but how do I provide a custom Composable?
    a
    k
    • 3
    • 4
  • g

    Glenn Martin

    02/07/2021, 3:02 PM
    Hi, how to do mouse over/hover events on a particular row? basically want to bold some icons on row hover, and also for individual components like buttons ect
    k
    • 2
    • 2
  • s

    Shabinder Singh

    02/07/2021, 3:54 PM
    why is this error showing upon building ? itemsIndexed() not resolved in lazyColumn ,However it is .
    j
    d
    a
    • 4
    • 18
  • t

    theapache64

    02/07/2021, 5:00 PM
    [SOLVED] The
    Icons.*
    doesn't contain some of the material icons. Does desktop compose has an extended icon dependency available, like
    androidx.compose.material:material-icons-extended
    ?
    t
    • 2
    • 2
  • n

    nfrankel

    02/07/2021, 5:12 PM
    my take on compose as a traditional developer used to swing (and swt)
    👏 6
    d
    o
    m
    • 4
    • 4
  • s

    Shabinder Singh

    02/07/2021, 6:41 PM
    I just updated compose from build140 to build149 and there are no more ScrollableColumns? what is used instead now? Modifiers.scrollable()? if yes can someone point me to a sample , i wasnt able to find one.
    d
    • 2
    • 1
  • t

    theapache64

    02/07/2021, 8:10 PM
    🤔 How can I implement a double click listener? Cannot resolve
    import androidx.compose.foundation.combinedClickable
    specified in the docs ?
    o
    • 2
    • 5
  • s

    suresh

    02/08/2021, 2:36 AM
    After updating to build150 + Kotlin 1.4.30, IntelliJ is full of the following errors.. Anybody has seen this ?
    k
    • 2
    • 2
  • s

    Shabinder Singh

    02/08/2021, 7:03 AM
    in recent updates of plugin
    id("org.jetbrains.compose")
    setContent was made internal so limiting it to desktop only? and use android compose variant for android and not use the above for both in a KMP project? right?
    👀 2
    s
    • 2
    • 2
  • a

    altavir

    02/08/2021, 8:11 AM
    Are ther any examples of cef usage?
    j
    i
    b
    • 4
    • 7
  • k

    Kirill Grouchnikov

    02/08/2021, 1:49 PM
    BTS - Better than Swing. We can take over that acronym on Google search!
    😆 12
    l
    • 2
    • 1
  • k

    Kirill Grouchnikov

    02/08/2021, 1:51 PM
    CBD - Creating Beautiful [for] Desktop
    😄 5
    t
    • 2
    • 1
  • g

    gbaldeck

    02/08/2021, 2:24 PM
    Is there currently a way to do shift click and cntrl clicks in a list to select multiple values?
    a
    • 2
    • 1
  • t

    Trevor Merritt

    02/08/2021, 2:49 PM
    Ok. I'm dumb as a stump and can't get a list to update. I've got a window with a lazycolumnfor, but when I update the remembered value, the ui doesn't update. im expecting theres a onUpdate or similar I'm missing. Can someone point me to a sample with a CRUD list?
    t
    o
    j
    • 4
    • 11
  • g

    gbaldeck

    02/08/2021, 2:52 PM
    @Dmitry Romanov [JB] and others who are interested. I've posted my current side project to GitHub. It uses Compose for Desktop, Coroutines, and Exposed with SQLite in an MVI architecture. It's about 3/4th's of the way complete to version 1 at this point. https://github.com/recursiveg87/Grim-Locations
    :kotlin-intensifies: 6
    d
    • 2
    • 1
  • s

    Shabinder Singh

    02/08/2021, 6:13 PM
    I am out of ideas here!, as every else plugin points correctly to build146 as following image shows:
    k
    j
    • 3
    • 6
  • k

    Kirill Grouchnikov

    02/09/2021, 2:59 PM
    Build 152 is in. The biggest API changes are probably around https://android-review.googlesource.com/c/platform/frameworks/support/+/1572682 that renamed a bunch of size modifiers.
    :thank-you: 5
    t
    • 2
    • 1
  • a

    andrewreitz

    02/09/2021, 3:39 PM
    Hello, I'm trying out compose desktop and I have a
    TextField
    displaying, but I can't past into it with the keyboard. Is there a way to enable this? My google searching has returned very little.
    a
    • 2
    • 5
  • s

    Shabinder Singh

    02/09/2021, 7:01 PM
    Hey All, I am sharing Compose code in Android And Desktop , only thing left is Drawables.. Any approach to use local resources in common code, As there is vectorXmlResource() method for desktop & painterResource()/vectorResource() for Android , But No method to use in Common/Shared Compose Code...
    j
    i
    • 3
    • 9
  • a

    andrewreitz

    02/09/2021, 7:30 PM
    If I have a suspend function that I want to call on a button click event what's the best way to do that? Example
    Button(
       onClick = { runit() }
    ) {
      Text("Run")
    }
    Where runit is the suspend function. I can put it in a runBlocking, but that locks up the whole UI and seems incorrect in this situation.
    j
    • 2
    • 4
  • k

    Kirill Grouchnikov

    02/09/2021, 8:30 PM
    Is anybody pushing snapshot builds to Sonatype staging built against the latest Compose Desktop builds and Kotlin 1.4.30? It started failing for me after switching to CD builds that require 1.4.30.
    • 1
    • 2
Powered by Linen
Title
k

Kirill Grouchnikov

02/09/2021, 8:30 PM
Is anybody pushing snapshot builds to Sonatype staging built against the latest Compose Desktop builds and Kotlin 1.4.30? It started failing for me after switching to CD builds that require 1.4.30.
The exception is at https://github.com/JetBrains/compose-jb/issues/365
To close the loop on this, if you're using
com.vanniktech:gradle-maven-publish-plugin
to push your snapshot / release builds, and you've upgraded to Kotlin 1.4.30 for your multi-platform project, you need to upgrade to version
0.14.0
of the plugin. See https://github.com/vanniktech/gradle-maven-publish-plugin/issues/185
🙏 1
View count: 6