You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no snackbar style override in the app (no snackbarStyle/Widget.MaterialComponents.Snackbar theme entry). So on a tablet the Material component applies its own layout: a fixed max width, bottom-left aligned, not stretched to the screen edge. That's the intended Material spec for wide screens — snackbars are not meant to span full width.
So "snackbars width should adapt better" is a preference against the framework default, not broken layout. Making them wider/centered on tablets is doable (custom width + Gravity on the snackbar's layoutParams, or a snackbar style), but it deliberately diverges from Material and is a design call for the maintainers/UX — not a bug fix.
No code defect located; leaving as-is for a UX decision. Related but distinct from #4918 (edge-to-edge insets).
Activity
DeepDiver1975 commentedon Jul 6, 2026
Triage: not a code bug — this is default Material Snackbar behavior on large screens; changing it is a UX/design decision, not a fix.
The app creates snackbars with a plain
Snackbar.make(...)and no width/gravity/style customization:owncloudApp/.../extensions/ActivityExt.kt:84(showMessageInSnackbar),:98(showSnackbarWithAction)owncloudApp/.../extensions/FragmentExt.kt:56(showMessageInSnackbar),:68(showSnackbarWithAction)There is no snackbar style override in the app (no
snackbarStyle/Widget.MaterialComponents.Snackbartheme entry). So on a tablet the Material component applies its own layout: a fixed max width, bottom-left aligned, not stretched to the screen edge. That's the intended Material spec for wide screens — snackbars are not meant to span full width.So "snackbars width should adapt better" is a preference against the framework default, not broken layout. Making them wider/centered on tablets is doable (custom width +
Gravityon the snackbar'slayoutParams, or a snackbar style), but it deliberately diverges from Material and is a design call for the maintainers/UX — not a bug fix.No code defect located; leaving as-is for a UX decision. Related but distinct from #4918 (edge-to-edge insets).
🤖 Generated with Claude Code
fix: widen snackbars on tablets (#4985)