-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
NavHostgraphs
Actual Behavior
Gleap only captures the Activity root window, missing any UI drawn in:
- Another
Window - Compose
DialogWindowProvider - Material 3
ModalBottomSheetinternal 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
Gleap.open()3. Screenshot Result
- Bottom sheet not visible
- Only background activity content captured
4. Same issue happens with:
Dialog { ... }Metadata
Metadata
Assignees
Labels
No labels