https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
a

Aleksandrs Vitjukovs

10/27/2023, 6:24 PM
Hey chat! How do you get a hold of the
UndoManager
that's used inside
CoreTextField
? Or any way to customize it? Let's say we have a notes app with a list of notes and a single text field for detail view. Typing in the text field updates the selected note's content. Imagine we 1. Add note 1, type "hello" in the text field. 2. Add note 2, text field becomes empty, because it's a new empty note. 3. Press Ctrl+Z. 4. Now the text field content is "un-done" back to "hello". Note 2 content is set to "hello". I'd prefer a way to keep undo histories of different logical items separate.
1
z

Zach Klippenstein (he/him) [MOD]

10/27/2023, 7:09 PM
Please file feature requests: we’re rebuilding undo for BasicTextField2, and this is good feedback.
thank you color 1
a

Adam Brown

10/31/2023, 6:18 AM
@Zach Klippenstein (he/him) [MOD] hows BTF2 looking for 1.6.0?
z

Zach Klippenstein (he/him) [MOD]

10/31/2023, 5:42 PM
Still experimental, development continues in 1.7
a

Adam Brown

10/31/2023, 5:52 PM
got ya, any chance it'll be included in 1.6.0 stable but marked as experimental or something?
z

Zach Klippenstein (he/him) [MOD]

10/31/2023, 6:02 PM
It’ll be experimental in 1.6, yes.
a

Adam Brown

10/31/2023, 6:02 PM
fantastic news! Thanks to you and the rest of the time for all your work on this!
👍🏻 1
a

Aleksandrs Vitjukovs

10/31/2023, 6:58 PM
@Zach Klippenstein (he/him) [MOD] this sounds great! I'll gladly file feature requests or help if I can. Could you please point me to a good place to do so? (Issue tracker?) Sorry I sometimes can't figure out where the source and issues live easily 😔
z

Zach Klippenstein (he/him) [MOD]

10/31/2023, 7:44 PM
Oh it might not work on desktop on 1.6, that work is being done on jetbrains side and I’m not sure what the status is
🙏 1
But general bugs can be filed on issuetracker.google.com
a

Aleksandrs Vitjukovs

11/02/2023, 8:16 AM
Ok, I gave up and submitted an issue to JetBrains / compose-multiplatform, because • GitHub repos don't accept issues • the linked android issue tracker tells me I don't have permission Thanks for the pointers!
z

Zach Klippenstein (he/him) [MOD]

11/02/2023, 8:29 PM
you should have permission if you select a Jetpack Compose component
🙏 1
3 Views