Summary
Screenshot fails to capture the full UI when using Jetpack Compose ModalBottomSheet, Dialog and other overlay windows are missing.
When using Gleap’s screenshot capture inside a Compose app, the screenshot does not include UI components rendered in separate windows or overlay layers.
Not Captured in Screenshot
The following Compose & Android UI elements do NOT appear in the screenshot:
- ModalBottomSheet (Material 3)
- Dialog (Android / Compose)
- Any UI displayed inside a BottomNavigation nested graph
- Any view rendered using an additional window
(example: popup layers, dialog windows, surface overlays)
This results in incomplete or misleading screenshots when reporting bugs involving sheets or dialogs.
Expected Behavior
Gleap screenshot should capture the entire visible UI, including:
- Bottom sheets (Compose
ModalBottomSheet)
- Popups and dialogs
- Overlay UI inside nested
NavHost graphs
Actual Behavior
Gleap only captures the Activity root window, missing any UI drawn in:
- Another
Window
- Compose
DialogWindowProvider
- Material 3
ModalBottomSheet internal window layer
What appears:
- App bar
- Main screen content
- Background views
Missing:
- Bottom sheet content
- Dialog content
- Any overlay rendered above the root window
Steps to Reproduce
1. Show a Material 3 ModalBottomSheet
ModalBottomSheet(
sheetState = sheetState,
onDismissRequest = { }
) {
Text("Bottom Sheet Content")
}
2. Trigger Gleap Screenshot
3. Screenshot Result
- Bottom sheet not visible
- Only background activity content captured
4. Same issue happens with:
Summary
Screenshot fails to capture the full UI when using Jetpack Compose ModalBottomSheet, Dialog and other overlay windows are missing.
When using Gleap’s screenshot capture inside a Compose app, the screenshot does not include UI components rendered in separate windows or overlay layers.
Not Captured in Screenshot
The following Compose & Android UI elements do NOT appear in the screenshot:
(example: popup layers, dialog windows, surface overlays)
This results in incomplete or misleading screenshots when reporting bugs involving sheets or dialogs.
Expected Behavior
Gleap screenshot should capture the entire visible UI, including:
ModalBottomSheet)NavHostgraphsActual Behavior
Gleap only captures the Activity root window, missing any UI drawn in:
WindowDialogWindowProviderModalBottomSheetinternal window layerWhat appears:
Missing:
Steps to Reproduce
1. Show a Material 3 ModalBottomSheet
2. Trigger Gleap Screenshot
Gleap.open()3. Screenshot Result
4. Same issue happens with: