Skip to content

fix(desktop): prevent long session titles from blocking side panel actions #4826

Description

@Sun-GLiang

What happened

When a session has a long title and the right-side panel is opened, the session title can extend into and overlap the side panel.

If the title overlaps the Share button, the button no longer responds to clicks. The Share button works normally when there is no overlap, suggesting that the title element or its hit area is covering the button and intercepting pointer events.

Expected behavior:

  • The session title should remain within its own layout area.
  • When horizontal space is insufficient, the title should be truncated, for example with an ellipsis.
  • The title should not visually overlap the side panel or intercept pointer events intended for controls within the panel.
  • The Share button should remain clickable whenever it is visible.

How to reproduce

  1. Launch Maka Desktop.
  2. Open or create a session with a sufficiently long title.
  3. Open the right-side panel.
  4. Observe that the session title extends into the side panel and overlaps the Share button.
  5. Click the Share button.

The Share button does not respond while it is overlapped by the session title. It works normally when the title does not overlap it.

Environment

  • Maka version: 0.2.0
  • Commit: c69e9955b
  • OS: macOS, Darwin 24.6.0, Apple Silicon (arm64)
  • Surface: Desktop

Logs, screenshots, or additional context

This appears to be a layout and pointer-event issue rather than a problem with the Share feature itself. The Share button remains functional when it is not overlapped by the session title.

A possible cause is that the title container is not constrained to the available width and its hit area is rendered above the side panel controls. A screenshot or screen recording showing the overlap would help confirm the issue.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions