# Share / Export Button is Not Functional

| | |
|--|--|
| **ID** | `bug_004` |
| **Priority rank** | 2 |
| **Severity** | high |
| **Category** | bug |
| **Time range** | 124.0s – 135.5s |
| **Key moment** | 133.5s |
| **Affected element** | 'Share / Export' button |

> ⚠️ **About the red box in `screenshot.png`:** It is an AI-generated guess at the affected
> UI element. **It is correct most of the time but not always** — sometimes the actual
> element is near the box rather than exactly inside it, and occasionally the box lands
> on an unrelated element.
>
> When acting on this bug:
> 1. Read the **narration quote** and **detailed visual walkthrough** below first — they
>    describe what is actually wrong.
> 2. Look at the **full screenshot**, not just inside the red box.
> 3. If you need precise pixel coordinates, consult `omniparser_elements.json` in this
>    folder — it lists every UI element the detector found on this screen, with bounding
>    boxes and confidence. You can search by label or look at elements adjacent to the
>    red box.

## Description

The 'Share / Export' button in the header appears to be disabled or non-functional. Even after selecting a chat thread, which should enable the button, it remains unclickable. This prevents the user from sharing or exporting chat content.

## What the narrator said

> "Uh, why can't I share and export? The share and export button doesn't even work anymore."

## Detailed visual walkthrough

The screen displays a dark-themed web application titled "Athena v3". The main interface is a chat view with a list of conversations in a left sidebar and the active chat content in the main panel. Initially, a "New chat" is selected, and the "Share / Export" button in the top header, located to the right of the "Refresh context" button, appears grayed out and disabled.

The user moves the cursor to the left sidebar and clicks on a specific, existing chat thread titled "Lido BRCV VCI Inv...". The main panel immediately updates to display the content of this selected conversation. Despite a specific chat now being active, the "Share / Export" button in the header remains visually unchanged in its disabled state.

The user then moves the cursor directly over the "Share / Export" button. As the cursor hovers, it remains a standard arrow pointer instead of changing to a hand icon, indicating the button is not interactive. While hovering over the non-functional button, the narrator says, "Uh, why can't I share and export? The share and export button doesn't even work anymore." The clip ends with the cursor stationary over the unclickable button, clearly demonstrating that the feature is inaccessible even when a chat is selected.

## Suggested fix

Investigate the click handler and the logic that controls the disabled state of the 'Share / Export' button. Ensure that the button becomes enabled when a chat is selected and that clicking it triggers the expected share/export modal or action.

## Bounding boxes drawn on `screenshot.png`

- **'Share / Export' button** at `[ymin=219, xmin=405, ymax=248, xmax=462]` (normalized 0-1000)

## Files in this folder

- `clip.mp4` — Video clip (124.0s – 135.5s, plus 2s padding on each side)
- `screenshot.png` — Key frame at 133.5s with red bounding box (see note above on accuracy)
- `screenshot_raw.png` — Same frame, no annotations
- `clip_description.md` — The detailed walkthrough above as a standalone file
- `bug.json` — Structured data
- `omniparser_elements.json` — every UI element detected on this screen by the OmniParser YOLOv8 model, with pixel-space bounding boxes and confidence scores. Useful if the red box in `screenshot.png` is on the wrong element — you can pick a different one from this list.
- `motion/` — Additional keyframes showing motion/state-change (if any):
  _(none — this is a static issue)_
