> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tablepro.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Notifications

> When finished work notifies you, how long it has to run first, and what the notification carries

You only get told when the result is somewhere you are not. That means TablePro behind another window or in another Space, the window minimized, or the tab that ran the work not the one on screen. Work you cancelled yourself never notifies, and neither does anything that finished faster than the threshold.

![Notifications pane with the Show notifications switch and the Treat work as long-running after menu](https://mintcdn.com/ngquct/BMFMXC9h96COEM8i/images/settings-notifications.png?fit=max\&auto=format\&n=BMFMXC9h96COEM8i\&q=85\&s=2befd1e8fc04c77bcb48b2aa0e7f0660)

The Notifications pane in Settings

**Settings > Notifications** changes any of it.

| Setting | Default | Covers |
| - | - | - |
| **Show notifications** | On | Every notification on this page |
| **Treat work as long-running after** | 20 seconds | How long work has to run to count: 5, 10, 20 or 30 seconds, or 1, 2, 5 or 10 minutes. It also decides the [tab mark](#the-tab-mark), so it stays editable with notifications off |

The kinds that count: editor queries including Explain, Execute All Statements as one notification for the batch, saving edited rows, structure changes, imports, exports, Copy To and Duplicate Database, database dumps and restores, comparisons and sync scripts from [Compare & Sync](https://docs.tablepro.app/features/compare-sync.md), fetching every row of a truncated result, and queries an AI assistant, an MCP client or [a script](https://docs.tablepro.app/developers/applescript.md) runs.

Three more ignore **Treat work as long-running after**, because they need you rather than report a result:

* An [agent session](https://docs.tablepro.app/features/agent-mode.md) that is waiting for your answer, or whose reply failed, while it is not on screen. Answering removes the notification, and clicking it opens the session.
* A [plugin](https://docs.tablepro.app/features/plugins.md) that failed to load or to update in the background.
* Another device asking for your account's keys while TablePro is in the background. It names the device and when it asked, never the words to compare, and goes once the request is approved, refused or expired. Clicking it opens the request under [Approve another device](https://docs.tablepro.app/features/sync.md#approve-another-device). While TablePro is in front, an alert asks instead, with notifications on or off.

Keep **Treat work as long-running after** below the [query timeout](https://docs.tablepro.app/customization/connection-settings.md#query-timeout), or a query that times out finishes before its notification is due.

## What a notification carries

The connection name is the title, the database is the subtitle, and the body is the outcome with a duration: "1,204 rows in 3m 12s", or "Failed after 2m 45s" with the reason. A failure adds a **Copy Error** button, and anything that wrote a file adds **Show in Finder**. Clicking the notification brings TablePro forward on the tab that ran the work, or on the Compare & Sync window for a comparison.

Banners group by connection. Re-running the same kind of work in the same tab replaces that tab's earlier banner instead of stacking a second one.

## The tab mark

A tab whose work finished while you were looking elsewhere carries a mark beside its name until you select it: a checkmark when the work succeeded, a red triangle when it failed. The mark is not a notification: it appears whatever the settings say, and whether or not you ever granted permission.

## Permission

macOS asks the first time there is actually something to tell you, not at launch. Refuse, or turn TablePro off in **System Settings > Notifications**, and while **Show notifications** is on this pane says **Notifications are off in System Settings**, with **Open System Settings**. It catches up when you switch back to TablePro; TablePro bounces its Dock icon in place of the banner. Sound and alert style are per-app System Settings options, so this pane does not repeat them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.