Repository navigation
Description
Initial Checklist
- I understand this is a bug report and questions should be posted in the Community Discussions
- I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Follow-up to #3542 and #3572 (all findings there are fixed on main). This time the whole web UI was tested as a phone user, end to end: real flows (create, rename, copy/move, share, upload, edit, preview, admin tasks …), normal and empty data, errors, many items (150 files) and long names, plus dark mode, an open on-screen keyboard and the Android/browser back button.
Only mobile-specific problems where something can't be used or looks broken are listed. Small touch targets, landscape, other UI languages and problems that also happen on desktop are left out on purpose. Each finding has Steps, Problem, a Proposal with a code pointer, How to test and a screenshot. Findings that are already fixed say so with Fixed by.
| Area | Findings | Fixed |
|---|---|---|
| Global ("+" button) | 1 | 1 |
| Files app | 2 | 2 |
| Admin settings | 1 | 1 |
| Preview | 1 | 1 |
| Save as / file picker | 1 | 1 |
| Total | 6 | 6 |
Global
G2. The "+" button covers the global search results
Fixed by #3578
Steps: Any page with the "+" button (e.g. Admin → Users) → tap the search icon in the top bar → type mobile3.
Problem: The "+" button (z-99) is drawn over the result list. The results dropdown has z-100, but it lives inside the top bar's stacking context (z-50), so it ends up below the button. Results under the button can't be tapped, especially with the keyboard open.
Proposal: Hide the "+" button while the mobile search is open, or render it below the top bar: packages/design-system/src/components/OcFloatingActionButton/OcFloatingActionButton.vue:2 (z-99) / packages/web-runtime/src/components/Topbar/TopBar.vue:4.
How to test: At 412px, open the search with results: nothing covers them. E2E: elementFromPoint at the button's position is inside #files-global-search-options.
Files app
F1. Input error messages don't wrap long names
Fixed by #3578
Steps: ⋮ on a file → Rename → enter the name of an existing file with a long name without spaces. Same error line in Create folder / Create file.
Problem: "The name »…« is already taken" runs to x≈747 in a 412px viewport and is cut off by the modal; the end of the sentence is not visible (also with the keyboard open).
Proposal: packages/design-system/src/components/OcTextInput/OcTextInput.vue:68-72: min-w-0 wrap-anywhere on the error <span> (same for the description at :75-80), shrink-0 on the icon (:60).
How to test: At 412px, rename to an existing long name: the whole message wraps inside the modal. Unit: class assertion in OcTextInput.spec.ts. E2E: the error span's right edge ≤ the modal's right edge.
F2. "Items per page" in the View options sheet opens below the screen
Fixed by #3578
Steps: Any folder → gear (View options) → tap the "Items per page" select.
Problem: The menu opens downwards from the last row of the bottom sheet: only "20" is half visible, 50/100/250/500 are below the viewport. You only reach them by discovering that the sheet itself scrolls (and then its header scrolls away).
Proposal: packages/design-system/src/components/OcPageSize/OcPageSize.vue:10-20: open the menu upwards when there is no room below (vue-select calculatePosition / popper flip), or use OcSelect's positionFixed option with flip (OcSelect.vue:216,354-360). Used in packages/web-pkg/src/components/ViewOptions.vue:47.
How to test: At 412px, open the select: all 5 options are visible. E2E: every .vs__dropdown-menu li passes toBeInViewport().
Admin settings
A1. Batch action icons are stale after Disable / Enable
Fixed by #3578
Steps: Admin → Spaces → select two spaces → Disable → confirm. The batch bar now shows Edit quota / Enable / Delete.
Problem: On phones the batch bar shows icons only. After the action, "Enable" still shows the old icon and the buttons look like duplicates (see the two identical play icons) until a reload. Going the other way, "Disable" shows the play icon.
Proposal: packages/web-pkg/src/components/BatchActions.vue:13: key the action-menu-item by action.name instead of the index, so the icon re-renders. Probably affects the files batch bar too.
How to test: At 412px, disable two spaces: the icons match the actions. Unit: re-render BatchActions with a changed action list, the icon name follows the action.
Preview
P1. No swipe between files; a swipe drags the unzoomed image out of view
Fixed by #3578
Steps: Open an image in the preview (e.g. 2 of 6) → swipe horizontally on the image.
Problem: Swiping never goes to the next/previous file – only the small ‹ › buttons do. A swipe on the image pans it via Panzoom even at scale 1, so it ends up mostly off-screen with no snap-back; only "Reset" brings it back.
Proposal: packages/web-app-preview/src/components/Sources/MediaImage.vue:127-138: don't pan at scale 1 (panOnlyWhenZoomed / disablePan until zoomed). Add a horizontal swipe handler on the stage in packages/web-app-preview/src/App.vue (next to @keydown.left/right at :12-15) that calls goToPrev/goToNext when not zoomed.
How to test: At 412px, swipe on an unzoomed image: it switches files and is never displaced. E2E: CDP touch swipe, then assert the counter changes. Unit: Panzoom options in a MediaImage spec.
Save as / file picker
S1. "Save as" picker: the "+" button overlaps the footer, the file name field is squeezed
Fixed by #3578 (the "+" button is placed inside the app container, so it stays above the embed footer)
Steps: Text editor → ⋮ → Save as → type a long file name (also with the keyboard open). Same "+" button in the "Insert image from cloud" picker.
Problem: The files app's "+" button is shown inside the picker and sits on the footer next to the "File name" field and above Save. The field is only 180px wide (w-auto), so a long name shows only its tail ("teinamen zum Testen.md") while the row has room.
Proposal: Hide the "+" button in embed mode: packages/web-runtime/src/components/AppFloatingActionButton.vue:2 (!isEmbedModeEnabled). Let the input take the full row below md: packages/web-app-files/src/components/EmbedActions/EmbedActions.vue:9 ([&_input]:w-auto → w-full [&_input]:w-full).
How to test: At 412px, Save as with a long name: no "+" button in the picker, the full field is usable. Unit: AppFloatingActionButton is not rendered in embed mode.
How we got there
- Test data: fresh folders with 240-character names of every file type, names with spaces, a 5-level folder chain, a folder with 150 files, shares to other users, password links (edit and file drop), tags, trash items, spaces; plus everything created during the flows.
- Five areas were tested in parallel with Playwright (Chromium) on Pixel 7 (412px portrait): files, sidebar/sharing/spaces, viewers/editors, admin/account/app store, public links/vaults/search/system pages. Each area as real end-to-end flows, also in dark mode, with a reduced viewport height (keyboard open), with the back button and reloads on deep links.
- Each finding was reproduced at least twice in a fresh page, checked in the screenshots and traced to the responsible component.
Coverage – what was tested
- Files: personal space and folders (list/grid, view options, sort, pagination with 150 items, select all), breadcrumbs and back/forward, every ⋮ action with all rename validation errors, delete + undo, copy/move incl. new folder in the picker and conflicts, create space from selection, favorites, shortcuts; batch actions; "+" sheet with every entry, file/folder upload with conflicts, pause/cancel; favorites and shares (with me/others/via link) with all filters; deleted files (restore, delete, empty); search overlay and results with all filters; empty and error states
- Sidebar, sharing, spaces: details, tags, versions (restore/download), activities; sharing with users/groups, roles, expiry, edit/remove; public links of every type incl. password generator/policy, expiry, rename, delete; receiving side as another user; spaces list, create space, every space action (rename, subtitle, description, image + crop, icon, quota, members, disable/enable/delete)
- Viewers & editors: text editor (every toolbar function, tables, images, links, search/replace, frontmatter, save/save as, unsaved changes, two tabs), txt/json/yaml via "Open with", preview (images, gif, video, audio, zoom/rotate, prev/next, delete, download, details), EPUB reader (TOC, font size, search), viewers from public links and search
- Admin & account: general (banner editor), users (create with errors, edit every field, filters, batch actions, pagination), groups, spaces (panels, batch), apps, office fonts; account profile, avatar, preferences, password, app tokens, calendar, GDPR; app store; app switcher, user menu, notifications, login/logout
- Public & other: public folder/file/file-drop links logged out (password page, actions, upload, roles), private links, rclone-crypt vaults (create, unlock, lock, work inside), search app, 404/access denied, login/logout, deep links after login
Not covered
- Landscape, other UI languages, problems that also happen on desktop (out of scope for this issue)
- Collabora, PDF viewer, groupware (mail, contacts, calendar app), OCM
- Real pinch/long-press on a device (emulated with Playwright), native file/folder pickers, media playback in headless Chromium
Reproduction Steps
Mobile viewport (Pixel 7, 412px portrait), logged in as admin. Tested with Playwright (Chromium) device emulation. Steps per finding above.
Expected Outcome
Every flow works on a phone: nothing is covered or cut off, menus open inside the screen, swiping works where users expect it.
Actual Outcome
6 problems, see the findings above.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity