Make text in the GUI app selectable #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Currently, all
Textcomposables in the GUI (gui/src/main/kotlin/de/pfadfinder/songbook/gui/App.kt) are non-selectable. Users cannot select or copy any text from the application — including song titles, filenames, status messages, and error logs.Compose Desktop provides
SelectionContainerwhich wraps content to makeTextcomposables selectable. This should be applied to the relevant areas of the UI.Acceptance Criteria
OutlinedTextFieldfor path input continues to work as beforeImplementation Hint
Wrap the main content
Column(or appropriate sub-sections) inandroidx.compose.foundation.text.selection.SelectionContainerto enable text selection on allTextcomposables within it. Buttons and interactive elements inside aSelectionContainercontinue to work normally.