Skip to content

Edge-to-edge sidebar on macOS 27 and 8 pt window control spacing - #364

Open
nedymax wants to merge 1 commit into
TelegramMessenger:masterfrom
nedymax:pr/edge-to-edge-sidebar
Open

nedymax wants to merge 1 commit into
TelegramMessenger:masterfrom
nedymax:pr/edge-to-edge-sidebar

Conversation

@nedymax

@nedymax nedymax commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Key change

  • macOS 27: edge-to-edge sidebar. The chat list and the folder sidebar fill the window to its edges instead of floating as inset glass panels, with a hairline separator next to the chat. The window keeps the system corner radius instead of the forced 28 pt one, and the chat list header is centered on the traffic lights.
  • All macOS versions: 8 pt edges for the main window's floating controls. The floating sidebar sits 8 pt from the window edges, but the controls around it sat 12 pt in. They now use 8 pt from the window edges and from the sidebar:
    • chat header pills and pinned bar
    • input row (it also no longer extends below the window, so its bottom gap matches the top one)
    • scroll-down button and the mention, reaction and poll badges above it
    • top bar buttons of screens opened in the chat column (top bars inside modals are unchanged)
    • call bar and the Show Tips button
  • Chat list separators end with the row's text instead of running to the sidebar's edge.

Reason

On macOS 27 system apps use an edge-to-edge sidebar, and Telegram's inset sidebar with its own corner radius looks out of place next to them. On every version the floating sidebar uses an 8 pt inset while the controls next to it used 12 pt, so the sidebar and the chat controls didn't line up at the top, bottom and sides. 8 pt also matches the toolbar spacing of macOS 26 and 27 system apps.

Screenshot/video result (before/after)

Before

Screenshot 2026-11-18 at 15 12 19

After

Screenshot 2026-11-18 at 14 56 11 Screenshot 2026-11-18 at 14 58 44

Confirmation

Tested on macOS 27: the edge-to-edge sidebar, the header alignment, the chat header, input row and scroll-down button spacing, and the floating sidebar (forced on macOS 27 for comparison) lining up with the chat controls at 8 pt.

Not yet run on macOS 26 or macOS 15 and earlier.

  • I confirm that I have tested the affected behavior and verified that it works properly, or verified the content and links for a documentation-only change.

@nedymax

nedymax commented Nov 14, 2026

Copy link
Copy Markdown
Contributor Author

Fixed a few bugs found during thorough testing:

  • The Settings header is now centred on the traffic lights on macOS 27, like the chat list header.
  • The 8 pt spacing now also covers the top bar buttons of screens opened in the chat column, the call bar and the Show Tips button, and applies on every macOS version.

@nedymax
nedymax force-pushed the pr/edge-to-edge-sidebar branch from 8b7139e to 9144a61 Compare November 17, 2026 11:00
@macosswift

Copy link
Copy Markdown
Collaborator

Issues:

  • The rebase keeps the previous layout changes. Please add a matching before screenshot and record the app version/build used for testing.

The changed files pass the contributor file allowlist.

@nedymax
nedymax force-pushed the pr/edge-to-edge-sidebar branch from 9144a61 to d86328a Compare November 18, 2026 12:31
@nedymax

nedymax commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Fixed a few more padding consistency issues: the comments and gift buttons in channels and the back/Edit buttons in the profile header now use the same 8 pt window inset as the rest of the controls.

Added the before screenshot. Tested on macOS 27.0.1 (26A434), Telegram 13.2.0 (283467).

Are the issues resolved now?

On macOS 27 the chat list and the folder sidebar fill the window edge to
edge instead of floating as inset glass panels, with a hairline separator
next to the chat. The window keeps the system corner radius instead of the
forced 28 pt one, and the chat list header stays centered on the traffic
lights.

The floating controls of the main window now sit 8 pt from the window edges
and from the sidebar, matching the floating sidebar's own 8 pt inset on every
macOS version and the toolbar spacing of macOS 26 and 27 system apps: the
chat header, pinned bar, input row, scroll-down button, the top bar buttons
of screens opened in the chat column, the call bar and the Show Tips button.
The input row no longer extends below the window. Top bars in modals are
unchanged.

Chat list separators end with the row's text instead of running to the
sidebar's edge.
@nedymax
nedymax force-pushed the pr/edge-to-edge-sidebar branch from d86328a to b6b3d52 Compare November 18, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants