Skip to content

Collection: layout and usability issues on mobile viewports #3542

Closed
5 of 5 issues completed
Closed

Description

@AlexAndBear

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

Collection of layout and usability problems on phones, found in an exploratory test of the whole web UI. Each finding has Steps, Problem, a Proposal with a code pointer and a screenshot. Findings that are already fixed say so with Fixed by.

Area Findings Fixed
Global layout & touch 4 4
Files app 5 5
Sidebar, sharing, spaces 3 3
Text editor 7 7
Admin settings & account 3 3
Total 22 22

Global layout & touch

G1. Floating "+" button covers sidebar and bottom sheets, incl. the Save button

Fixed by #3549
Steps: File ⋮ → Details; or Admin → Users → ✎ → change a field
Problem: The FAB sits above the sidebar sheet and covers panel entries, the "Personal quota" field and the Save button of the edit panels.
Proposal: OcFloatingActionButton.vue:3 uses z-[calc(var(--z-index-modal)-1)], the drawer only z-100. Hide the FAB in AppFloatingActionButton.vue while the sidebar or a sheet/modal is open (useSideBar().isSideBarOpen), or lower its z-index.

Screenshot Screenshot

G2. Tooltips open on tap and stay open

Fixed by #3550
Steps: Tap any row ⋮ ("Show context menu"), ✎ or view options button
Problem: The hover tooltip appears on tap and stays over the content.
Proposal: OcTooltip.ts:137-141 listens to mouseenter/focus. Skip showing for touch (pointerType === 'touch' / @media (hover: none)).

Screenshot
G3. Floating "+" button covers the last list row and the pagination

Fixed by #3549
Steps: Folder (List view) → scroll to the bottom; or a paginated list at 360px
Problem: The list can't scroll further – the ⋮ of the last item and the "next page" arrow stay under the FAB and can't be tapped.
Proposal: Add bottom padding (pb-24) to .files-view-wrapper (FilesViewWrapper.vue:4) when the mobile FAB is shown.

Screenshot Screenshot

G4. "Browser not supported" page cuts off text; viewport meta incomplete

Fixed by #3549
Steps: Open the app with an old browser UA (e.g. iOS Safari 15)
Problem: Text is cut off on both sides.
Proposal: index.html:101 card uses fixed w-lg and undefined oc-* classes → max-w-full. Also index.html:5 lacks width=device-width in the viewport meta (affects the whole app).

Screenshot

Files app

F1. Location picker (Copy/Move to, Save as) is cramped and its "+" button covers content

Fixed by #3550 (full screen pickers) and #3549 (G3, list scrolls past the "+" button)
Steps: File ⋮ → Copy to; or editor ⋮ → Save as
Problem: The picker embeds the full files UI (hamburger, search, app bar, own FAB). The FAB covers the list, the footer and the "File name" input.
Proposal: LocationPickerModal.vue / SaveAsModal.vue load the app with embed=true. In embed mode hide the FAB (AppFloatingActionButton.vue), the mobile hamburger (TopBar.vue:9) and the search bar (SearchBar.vue:433).

Screenshot Screenshot

F2. Long names are clipped without ellipsis (trash, disabled spaces, upload details)

Fixed by #3549
Steps: Deleted files → Personal; a space's trash bin; disabled spaces in the Spaces list; upload a long-named file → Show details
Problem: Names are cut mid-glyph at the edge and the extension disappears (the files table truncates correctly).
Proposal: ResourceLink.vue:20 non-clickable branch <span class="inline-flex"> → inline-flex max-w-full.

Screenshot Screenshot Screenshot

F3. Default grid view is a single column of huge tiles

Fixed by #3550
Steps: Open any folder on a phone
Problem: tiles-size=2 gives one ~350×250px tile per row – about 2.5 items per screen.
Proposal: viewMode/constants.ts:8-10: use tile size 1 (two columns) or list mode below sm.

Screenshot
F4. Filter chips wrap unevenly

Fixed by #3549
Steps: Shares → Shared with me; search results
Problem: Wrapped chips keep a left margin and have no vertical gap.
Proposal: SharedWithMe.vue:9-57 and Search/List.vue:6: replace ml-2/mr-2 with gap-2 on the flex container, or make the row horizontally scrollable.

Screenshot
F5. Hints mention drag & drop, "click" and a "New" button

Fixed by #3550
Steps: Open an empty space/folder; open a public file-drop link
Problem: "Drag files and folders here or use the "New" button…" / "Drop files here to upload or click the button below…" – no drag & drop on phones, and the FAB is just "+".
Proposal: Touch variants of the texts in GenericSpace.vue:508-510 and FilesDrop.vue:59 (e.g. 'Use the "+" button to add files', 'Tap the button below…').

Screenshot Screenshot

Sidebar, sharing, spaces

S1. Space header: name breaks mid-word

Fixed by #3549
Steps: Spaces → open a space with a long name
Problem: The title breaks at arbitrary letters ("mobiletest-spac / e-Pixel7…") next to ⋮ and "2 members".
Proposal: SpaceHeader.vue:30 break-all → break-words; put ⋮/members on their own row on mobile.

Screenshot
S2. Space image crop modal: keyboard-only hint

Fixed by #3550
Steps: Space ⋮ → Customize → Set image → pick a jpg
Problem: Hint says "Zoom via +-, pan via ↑↓←→"; touch drag/pinch work but aren't mentioned.
Proposal: ImageCropper.vue:46-54: touch hint ("Pinch to zoom, drag to move") on mobile.

Screenshot
S3. "Set icon" emoji picker is a fixed 352px block flush to the left

Fixed by #3550
Steps: Space ⋮ → Customize → Set icon
Problem: Touches the left edge at 360px, leaves an empty gap on the right at 412px.
Proposal: OcEmojiPicker.vue:2 min-w-[352px] → w-full mx-auto, derive perLine from the available width.

Screenshot

Also seen in this area (tracked elsewhere): the "+" button covering sidebar panels and the last list row, sticky tooltips in the sidebar, small touch targets in Versions/Tags, names without ellipsis in a space's trash bin.

Text editor

E2. Text editor: table bubble menu runs off-screen

Fixed by #3550
Steps: Open a .md with a table → tap a cell in column C
Problem: Only 4 of 8 table actions are visible (add/delete column, delete table unreachable).
Proposal: TextEditorTableBubbleMenu.vue:57-62 sets flip: false, shift: false → enable shift: { padding: 8 } and flip, or show the actions in a bottom sheet on mobile.

Screenshot
E3. Text editor: "…" overflow menu is drawn broken, an entry sits off-screen

Fixed by #3550
Steps: Open a .md → tap "…" in the toolbar
Problem: Multi-row menu in a pill shape; at 360px "Link" floats outside the bubble and "Frontmatter" is beyond the viewport.
Proposal: OcBubbleMenu.vue:21 rounded-full → rounded-2xl, let groups wrap (TextEditorToolbar.vue:62-77), or use a bottom-sheet list like the other editor menus.

Screenshot
E4. Text editor: "…" menu stays open above modals and takes taps

Fixed by #3550
Steps: "…" → Insert image → Insert from cloud / Image from URL
Problem: The menu stays on top of the modal; taps on it changed the document while the picker was open.
Proposal: Hide the overflow drop (TextEditorToolbar.vue:65, close-on-click=false) when a sub-entry opens a modal.

Screenshot
E5. Text editor: wide tables scroll the whole document sideways

Fixed by #3549
Steps: Open a .md with a 5-column table → swipe on the table
Problem: The whole content scrolls; headings and code blocks are cut on the left.
Proposal: text-editor.css: .ProseMirror .tableWrapper { overflow-x: auto; }.

Screenshot
E6. Text editor: ~30% of the width unused on phones

Fixed by #3550
Steps: Open lorem.txt
Problem: Text column is 282px of 394px.
Proposal: text-editor.css:207-209 reserves 6rem for hover-only drag handles – add a @container (max-width: 640px) rule with max-width: 100%.

Screenshot
E7. Markdown: "Frontmatter" badge overlaps the frontmatter text

Fixed by #3549
Steps: Open a .md with frontmatter at 360px
Problem: The absolutely positioned badge covers the first line.
Proposal: FrontmatterComponent.vue:34-44: reserve space (padding-top on the pre) or place the badge above the block.

Screenshot
E8. Code block language selector collapses and overlaps code

Fixed by #3549 and #3550
Steps: Open a .md with a ```js block
Problem: The select shrinks to 20×2px over the first line and can't be tapped.
Proposal: CodeBlockComponent.vue: map aliases (js → javascript), min size for the select, top padding on the pre.

Screenshot

Admin settings & account

A1. Admin tables: one long name pushes the actions of all rows off-screen

Fixed by #3550
Steps: Admin → Spaces / Users / Groups with one long space, user or group name
Problem: Spaces & Users: the table grows wider than the screen, actions and footer are off-screen, the whole page scrolls sideways. Groups: the action icons stack vertically in every row.
Proposal: Add wrap: 'truncate' to the name fields and width: 'shrink', wrap: 'nowrap' to actions in SpacesList.vue:293/346, UsersList.vue:232/266, GroupsList.vue:210/216.

Screenshot Screenshot

A2. Admin → General: announcement banner footer squeezed

Fixed by #3549
Steps: Admin → General at 360px
Problem: "Show banner" wraps onto two lines next to the toggle, help icon and two buttons.
Proposal: AnnouncementSection.vue:44-74: flex-wrap / column layout below sm.

Screenshot
A3. Admin → Office: fonts toolbar squeezed into one row

Fixed by #3549
Steps: Admin → Office
Problem: Font info, "Upload files" and search share one row; labels wrap.
Proposal: web-app-office-settings/src/App.vue:19: flex flex-col sm:flex-row, search w-full sm:w-3xs.

Screenshot

How we got there

  • All routes were taken from the live router ($router.getRoutes()), plus the extension apps from dev/docker/apps.
  • A test folder with one file per type was created (pdf, epub, odt, md with wide table, json, geojson, excalidraw, drawio, media, zip, …). Shares, public links, spaces, users and groups were created for the tests.
  • Every view, menu, modal and dropdown was opened with Playwright (Chromium) device emulation on Pixel 7 (412px) and Galaxy S8 (360px). In total that's about 500 screenshots, automatically checked for horizontal overflow, elements crossing the viewport edge and touch targets < 24px, then reviewed by hand.
  • Each finding was confirmed in the DOM and traced to the responsible component.
Coverage – what was tested
  • Global: top bar in every app, mobile nav drawer, app switcher, notifications (empty and with items), user menu, feedback link, top bar search (suggestions, scope, results), 404, access denied, login/logout incl. wrong password
  • Files: personal space and folders in grid (all tile sizes), list and condensed view; sorting, view options, pagination; every context menu entry and its modal (rename, delete, copy/move incl. picker navigation, create space from selection, extract, open with, favorites, details); multi-select and all batch actions; "+" sheet with every entry (folder, all file types, shortcut, upload); upload panel and conflict dialog; deep breadcrumbs; favorites; deleted files (overview, trash bins, restore, delete, empty trash); search results with all filters; private links
  • Sidebar & sharing: details, tags, image/audio info, versions (restore), activities, multi-selection; invite autocomplete, roles, expiration date, share options/edit/remove; public links (create, roles, password, expiry, rename, delete); Shared with me / with others / via link with real data and all filters; public link pages logged out (view, edit, single file, file drop, password prompt)
  • Spaces: list (tiles/table), create, space header, every ⋮ entry (rename, subtitle, description, image + crop, icon, trash, quota, disable/enable, delete), members (add, roles, expiry, remove)
  • Apps: text editor (md, txt, ocnote, csv, json – every toolbar menu, table menu, image/link/frontmatter/search, save as, unsaved changes), preview (image, gif, video, audio), PDF viewer, EPUB reader, JSON viewer, Maps, Excalidraw, Collabora (odt, ott, new ods/pptx/docx), Arcade, Calculator, Unzip, Cast, "Open with" and default-app logic
  • Admin settings: general, users, groups, spaces (incl. every batch action and edit panel), apps, office
  • Account: information, preferences (incl. change password), apps, calendar, GDPR, app tokens
  • Other: webfinger, rclone-crypt unlock

Reproduction Steps

Mobile viewport, logged in as admin. Tested with Playwright (Chromium) device emulation: Pixel 7 (412px) and Galaxy S8 (360px). Steps per finding above.

Expected Outcome

Every view and control is fully usable on a phone: nothing covered, cut off or squeezed, readable labels, reasonable touch targets.

Actual Outcome

22 problems across all areas, see the findings above.

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. changed the title [-]Layout and usability issues on mobile viewports[/-] [+]Collection: layout and usability issues on mobile viewports[/+] on Oct 3, 2026
  2. self-assigned this
    on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions