Skip to content

Closing an app window by touch (foot can only be closed from recents) #261

Closed

Description

@Somnius

On the 8 Pro, once I open the foot terminal I can't close it from the app itself. The edge swipe back sends Escape, which closes dialogs and menus but not a terminal, so the only way out is recents and then closing the app there. I read the shell for it: the back plugin only sends Escape (omamobile.back), and the switcher has the real close (foreign-toplevel close).

Two ideas, @derekross, tell me which one you'd want, or neither:

  1. a small X at the top right of the status bar that closes the focused window (hidden on the home screen), so it works for any app;
  2. a close action next to the back gesture, e.g. a long edge swipe that closes the focused window when Escape did nothing.

I'd lean to the X because it's visible and needs no new gesture to learn. Happy to write it for whichever you pick, and test it on the 8 Pro.

Also, small and related: Nautilus (Files) opens folders with a double tap by default. On a touch screen that's two taps for one thing, so I set click-policy to single on my phone and it feels right. I can send that as a one-line change next to the keyboard setting in omamobile-setup-user if you agree.

Activity

  1. derekross commented on Nov 1, 2026

    @derekross
    Owner

    Thanks for reading the shell before asking, that makes this much easier to answer.

    On closing apps: for now I'd rather keep the real close in recent apps and not add a second way. A close button that's always in the status bar is easy to hit by accident and would close an app with unsaved work in one tap. A long edge swipe would give the back gesture two meanings that are hard to tell apart and hard to discover. For the terminal itself, exit or Ctrl-D from the keyboard strip closes it today. If recents turns out to be too slow in daily use, let's look at it again, maybe as a Close item in the menu you get by holding a card in recents, next to "Show with…".

    On Files opening folders with a single tap: yes please, as a small PR. Put it in omamobile-setup-user as a once-only step with its own marker, so someone who switches back to double-click keeps their choice, and add a line to test/setup-user.sh. Please also check the key exists in the Nautilus version the phone runs (gsettings list-keys org.gnome.nautilus.preferences), and make the step do nothing if it doesn't, so a future Nautilus that drops the key doesn't break the login setup.

  2. Somnius commented on Nov 1, 2026

    @Somnius
    ContributorAuthor

    @derekross thanks, that makes sense. I'll leave recents as the way to close an app and use exit or Ctrl-D for the terminal. The Files change is #271: a once-only step in omamobile-setup-user with its own marker, it checks the key exists first, and a case in test/setup-user.sh. #259 and #268 already hold 0.2.67 and 0.2.68, so I took 0.2.69 as a placeholder, renumber it as you like.

  3. derekross commented on Nov 1, 2026

    @derekross
    Owner

    Single-tap folders in Files landed with #271 (omamobile-shell 0.2.69). Closing; closing apps stays in recents for now, as discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions