Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix: steadier live notes topics, follow the current topic, tighter header

wqugurua1e2e2d38d37
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5106127..f048d64 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,15 @@
One section per release, newest first. `scripts/release.sh` needs the section, dated today;
the release workflow publishes it as the release notes.
+## Unreleased
+
+- Fixed: with no meeting running, the live notes window could show "正在生成纪要…" and an empty skeleton under "现在没有在记录"; it now says there is no meeting in progress.
+- Changed: the live notes window starts its title beside the window buttons instead of below a blank band, so more of the notes fit.
+- Fixed: in a quick conversation, especially Japanese, a sentence could stay unfinished for 15–20 s: the subtitle stayed a draft and the notes waited for it. A long line now ends at the next short pause (or when no new words come for a moment), so sentences finish every 5–9 s and get their real translation sooner.
+- Fixed: the live notes split the first minutes into many small topics and then put everything after into the last one. A topic now runs at least 2 minutes before a new one starts, and the full notes use about one topic per 3 minutes.
+- Fixed: the live notes window stayed at the top while new topics were added below. Each update now scrolls to the topic being discussed, unless you scrolled yourself in the last 20 s.
+- Fixed: with 翻译成 on 跟随系统, subtitles and notes could come out in different languages. On a Mac whose language list starts with English and also has Chinese, subtitles were translated into English while the notes were in Chinese. Subtitles, notes and the language you speak now start from the same choice (Chinese when the system list has it, otherwise the first system language), and only when the other side speaks that language do subtitles go into the next one. The 跟随系统 option now lists them in that order (简体中文 / English).
+
## 2.1.0 — 2026-11-01
- New: the first-run guide has a Ling key step right after the permissions: open the Ling platform, then "Paste and Check" in one click; 继续 waits for a working key, and "Later, in Settings" skips it. It shows what the key unlocks and that Ling gives ¥10 of credit every month.
diff --git a/Sources/LiveSubs/Notes.swift b/Sources/LiveSubs/Notes.swift
index 5ad6932..fdea1dc 100644
--- a/Sources/LiveSubs/Notes.swift
+++ b/Sources/LiveSubs/Notes.swift
@@ -333,6 +333,16 @@ final class NotesEngine: ObservableObject {
}
p += "\(final ? "Transcript" : "New lines") (id, mm:ss, speaker 对方=the other side / 你=me, text). Speech recognition makes mistakes, often in names: correct them from context.\n"
p += (from..<lines.count).map(line).joined(separator: "\n")
+ // The model splits too eagerly when only told how long a topic should be: say plainly
+ // whether this update may start one.
+ if final, let first = lines.first?.t, let last = lines.last?.t {
+ let most = max(1, min(8, Int((last - first) / 180) + 1))
+ p += "\n\nThis meeting ran \(clock(last - first)): use at most \(most) topic\(most == 1 ? "" : "s")."
+ } else if !final, let current = notes.topics.last, let newest = lines.last?.t, newest - current.start < 120 {
+ p += "\n\nThe current topic \"\(current.title)\" started at \(clock(current.start)), under 2 minutes ago: do not start a new topic in this update; add the new lines to it."
+ } else if !final, notes.topics.isEmpty {
+ p += "\n\nThese are the first lines: make one topic."
+ }
p += """
@@ -347,7 +357,7 @@ final class NotesEngine: ObservableObject {
Rules (be brief: these notes are read at a glance during the meeting):
- title: a name for the whole meeting, like a calendar entry (at most 12 Chinese characters or 6 words; no date, no quotes, not "会议" alone). Keep the current title unless the meeting's subject has clearly changed.
- summary: at most 3 short sentences.
- - Topics in time order, at most 8 in total. Start a new topic only when the subject clearly changes (usually every few minutes); otherwise add to the current one, and merge small neighbouring topics. Keep earlier topics as they are unless new lines correct them. The last topic is the one being discussed now.
+ - Topics in time order, at most 8 in total. A topic is a stretch of the meeting, usually 3-10 minutes, not a single remark: start a new one only when the subject clearly changes and the current topic started at least 2 minutes before the newest line\(final ? "" : "; add at most one new topic per update"). Otherwise add to the current one, and merge small neighbouring topics. Keep earlier topics as they are unless new lines correct them. The last topic is the one being discussed now.
- At most 4 points per topic, each one short phrase. Merge rather than repeat.
- At most 5 conclusions and only real to-dos (often none).
- Add a fishbone only to a topic that discusses causes, reasons or factors (3-5 branches); otherwise null.
diff --git a/Sources/LiveSubs/NotesViews.swift b/Sources/LiveSubs/NotesViews.swift
index 3ff25dc..4488f68 100644
--- a/Sources/LiveSubs/NotesViews.swift
+++ b/Sources/LiveSubs/NotesViews.swift
@@ -55,6 +55,7 @@ struct NotesContentView: View {
current: live && i == notes.topics.count - 1,
updating: updating && i == notes.topics.count - 1, fresh: fresh, onJump: onJump)
.padding(.vertical, document ? 14 : 0)
+ .id(Self.topicID(topic))
}
}
}
@@ -88,6 +89,9 @@ struct NotesContentView: View {
}
}
+ /// Scroll target for a topic (the live notes window keeps the current one in view).
+ static func topicID(_ topic: NoteTopic) -> String { "topic-\(topic.id)" }
+
@ViewBuilder
private func title(_ text: String) -> some View {
if document {
diff --git a/Sources/LiveSubs/NotesWindow.swift b/Sources/LiveSubs/NotesWindow.swift
index c6cf506..5de6d42 100644
--- a/Sources/LiveSubs/NotesWindow.swift
+++ b/Sources/LiveSubs/NotesWindow.swift
@@ -138,6 +138,9 @@ struct NotesWindowView: View {
/// "结束" was clicked during a meeting with lines: the confirmation strip is showing.
@State private var confirmEnd = false
@State private var languageOpen = false
+ /// When the reader last scrolled the notes: a live update only brings the current topic into
+ /// view when they haven't just been reading something else.
+ @State private var notesScrolledAt = Date.distantPast
@FocusState private var searchFocused: Bool
private var session: Session? { store.session(store.liveID ?? engine.shownID) }
@@ -169,6 +172,8 @@ struct NotesWindowView: View {
// The transcript shows what is being said in place; the caption is for the notes tab.
if geo.size.width < 760 && tab == "notes" { caption }
}
+ // The title bar is transparent: start the header beside its buttons, not below a blank band.
+ .ignoresSafeArea(.container, edges: .top)
}
}
.frame(width: geo.size.width, height: geo.size.height)
@@ -586,7 +591,7 @@ struct NotesWindowView: View {
Spacer()
}
.frame(maxWidth: .infinity)
- } else if live || engine.generatingID == session?.id {
+ } else if live || (session != nil && engine.generatingID == session?.id) { // nil == nil is not "generating"
ScrollView {
NotesGeneratingView(heard: heard).padding(.horizontal, 24).padding(.vertical, 12)
}
@@ -603,17 +608,38 @@ struct NotesWindowView: View {
}
private var notesScroll: some View {
- ScrollView {
- NotesContentView(notes: engine.notes, fresh: engine.fresh, live: live,
- updating: engine.state == .updating,
- summaryJustChanged: engine.summaryChangedAt.map { now.timeIntervalSince($0) < 20 } ?? false,
- coveredUntil: lastCovered > 0 ? lastCovered : nil,
- endedAt: session?.lines.last?.t,
- onJump: { t in jumpTo = t; tab = "transcript" })
- .padding(.horizontal, 24).padding(.vertical, 12)
+ ScrollViewReader { proxy in
+ ScrollView {
+ NotesContentView(notes: engine.notes, fresh: engine.fresh, live: live,
+ updating: engine.state == .updating,
+ summaryJustChanged: engine.summaryChangedAt.map { now.timeIntervalSince($0) < 20 } ?? false,
+ coveredUntil: lastCovered > 0 ? lastCovered : nil,
+ endedAt: session?.lines.last?.t,
+ onJump: { t in jumpTo = t; tab = "transcript" })
+ .padding(.horizontal, 24).padding(.vertical, 12)
+ }
+ .onScrollGeometryChange(for: CGFloat.self) { $0.contentOffset.y } action: { _, _ in
+ if UserScroll.recent { notesScrolledAt = Date() }
+ }
+ // Each live update lands on the topic being discussed now, which is the last one and
+ // soon below the fold; 20 s after the reader's own scroll, follow it again.
+ .onChange(of: engine.notes.updatedAt) { _, _ in
+ guard live, Date().timeIntervalSince(notesScrolledAt) > 20 else { return }
+ showCurrentTopic(proxy, animated: true)
+ }
+ .onAppear {
+ UserScroll.install()
+ if live { showCurrentTopic(proxy, animated: false) }
+ }
}
}
+ private func showCurrentTopic(_ proxy: ScrollViewProxy, animated: Bool) {
+ guard let current = engine.notes.topics.last, engine.notes.topics.count > 1 else { return }
+ let id = NotesContentView.topicID(current)
+ if animated { withAnimation(.easeInOut(duration: 0.4)) { proxy.scrollTo(id, anchor: .top) } } else { proxy.scrollTo(id, anchor: .top) }
+ }
+
private var transcript: some View {
let ms = matches
return TranscriptListView(lines: session?.lines ?? [], topics: engine.notes.topics, terms: searchTerms,
diff --git a/site/changelog.json b/site/changelog.json
index 286b657..68e571d 100644
--- a/site/changelog.json
+++ b/site/changelog.json
@@ -1,4 +1,43 @@
[
+ {
+ "version": "2.1.1",
+ "date": null,
+ "title": "字幕更快成句、纪要议题更稳、语言保持一致",
+ "summary": "对话很快时字幕更早出正式译文,实时纪要的议题不再一开始就切得很碎,并自动跟到正在讲的议题;字幕和纪要的语言也保持一致。",
+ "image": null,
+ "items": [
+ {
+ "kind": "fixed",
+ "title": "对话很快时,句子更早结束。",
+ "text": "语速快、停顿少的对话(日语尤其明显)里,一句话可能 15–20 秒都不结束,字幕一直是草稿,纪要也要等。现在长句会在下一个短停顿处结束(或者一小会儿没有新词时),大约每 5–9 秒出一句,正式译文来得更早。"
+ },
+ {
+ "kind": "fixed",
+ "title": "实时纪要的议题不再切得很碎。",
+ "text": "以前开头几分钟会被切成很多小议题,后面的内容又全挤进最后一个。现在一个议题至少讲 2 分钟才会开新的,完整版大约每 3 分钟一个议题。"
+ },
+ {
+ "kind": "fixed",
+ "title": "实时纪要自动跟到正在讲的议题。",
+ "text": "以前新议题加在下面,窗口却停在顶部。现在每次更新都会滚到正在讲的议题;你自己刚滚动过的 20 秒内不打扰。"
+ },
+ {
+ "kind": "fixed",
+ "title": "字幕和纪要不再一个英文一个中文。",
+ "text": "「翻译成」选跟随系统时,如果系统语言列表英文在前、中文在后,字幕会翻成英文,纪要却是中文。现在字幕、纪要和「我说」都从同一个语言出发:系统里有中文就用中文,否则用第一个系统语言;只有对方说的正是这种语言时,字幕才翻成系统里的下一种。"
+ },
+ {
+ "kind": "fixed",
+ "title": "没在开会时,实时纪要窗口不再显示“正在生成纪要”。",
+ "text": "没有进行中的会议时,窗口在“现在没有在记录”下面还会显示“正在生成纪要…”和空白骨架;现在只说没有进行中的会议。"
+ },
+ {
+ "kind": "changed",
+ "title": "实时纪要窗口顶部更紧凑。",
+ "text": "标题直接放在窗口按钮旁边,去掉了上方的一段空白,能看到更多纪要内容。"
+ }
+ ]
+ },
{
"version": "2.1.0",
"date": "2026-11-01",