Skip to content

"Scroll to end" never appears after opening a thread from a search result, even after scrolling #30515

Open

Description

@grahamfarrar

What happened

I opened an older thread by clicking a search result. The thread opened partway up the timeline, well above the end according to the scrollbar. No "Scroll to end" button appeared, and scrolling up and down didn't bring it back. Find (Cmd+F) wasn't open.

I then went back and returned to the same thread with Cmd+[ / Cmd+]. At the same scroll position, the button showed normally.

Expected

"Scroll to end" shows whenever the timeline isn't at the end, however the thread was opened.

Possibly relevant (not confirmed)

handleScroll only reports the at-end state when !citationPositioning (MessagesTimeline.tsx#L936-L942). If the positioning state from a jump to a message (useAssistantCitationTarget, L757-L770) never clears, every later scroll is ignored. The timeline keeps reporting that it's at the end, so showScrollToBottom stays false. Re-entering the thread through history resets that state, which would explain why the button came back.

Version

Server 0.1.6 (macOS, background service), desktop app 0.1.6 on macOS, remote environment.

Activity

  1. juliusmarminge commented on Nov 4, 2026

    @juliusmarminge
    Member

    I tried this on current main (9aa80a0), web dev server, with a test thread of about 40 turns whose matching message sat well above the end. Main has the same code here as 0.1.6.

    What I ran, each starting from another thread:

    1. Sidebar search, clicked the message result: the thread opened at the match with the find bar open, and "Scroll to end" was hidden. I closed find with its × and the button appeared.
    2. Cmd+K palette, message result, wheel up/down while find was open, then closed find: the button appeared.
    3. After a page reload, with the match outside the first loaded page of history (so it paged earlier turns): same as 1, and the button appeared after closing find.
    4. With find open, scrolled to the end and back up, then closed find: the button appeared.

    In every case, opening a thread from a message search result also opens find at the match, and "Scroll to end" is hidden on purpose while find is open. As soon as find closed, the button showed. No citation (quote link) jump is involved on this path, so the citationPositioning gate does not apply here.

    To narrow it down, could you share:

    • Which search you used (sidebar search box or Cmd+K), and whether the result showed a message snippet or only the thread title.
    • Whether the find bar appeared at the top right at any point, and if so, how it went away.
    • Whether the thread was running or had a queued turn when you opened it.
    • Whether you had ever opened a quote/citation link in that thread during that session.
    • If it happens again: a screen recording, or whether it still happens after Cmd+R in that state.
  2. added
    needs more info
    on Nov 4, 2026
  3. removed
    needs more info
    on Nov 4, 2026
  4. juliusmarminge commented on Nov 12, 2026

    @juliusmarminge
    Member

    @grahamfarrar When the thread opened from the search result, did a "Find in thread" bar appear at the top right of the timeline, and if so, how did it go away? If it happens again, a short screen recording from clicking the result would show which state hides the button.

  5. alexander-posztos commented on Nov 18, 2026

    @alexander-posztos

    Same thing happens for me. When I search for a word in the sidebar search and click the message result, the thread opens with the scroll position on the word match. The find bar on the right is open, even though I didn't open it, so "Scroll to end" is hidden. I only figured out why after finding this issue. Closing the find bar on the top right brings the "Scroll to end" button back.

    I don't think it should be hidden when you come from the left sidebar search. When I search there, I'm usually looking for a thread so I can keep working in it. For example, I remember a settled thread a week later, search for a word I remember from it, and want to continue where it ended. It would be nice to have "Scroll to end" right there. It isn't obvious that the find bar is what's hiding it.

    Desktop app 0.1.10-nightly.20261116 on macOS.

  6. grahamfarrar commented on Nov 19, 2026

    @grahamfarrar
    Author

    Yes, the Find in thread bar was open at the top right. I didn't notice it was what hid the button. Closing it brings Scroll to end back, same as alexander-posztos. Coming from sidebar search I usually want to resume the thread, so I'd keep Scroll to end visible there.

  7. added
    needs more info
    and removed
    needs more info
    on Nov 19, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions