Repository navigation
Description
What happened
While a WorkHub conversation is visible in the main window, hovering over a conversation in the left sidebar opens its details preview. When that preview overlaps WorkHub, the WorkHub conversation briefly flashes, giving the impression that the page has reloaded. A similar flash is observed when the preview closes.
The reported behavior is a brief flash at the appearance/disappearance transition, not continuous flickering while the pointer remains still. No conversation is clicked or intentionally switched. It also occurs while viewing an already completed task report.
Expected: opening or closing a sidebar preview should leave the WorkHub conversation visually stable, preserving the current conversation and draft.
How to reproduce
- Open Maka Desktop with WorkHub enabled and at least one conversation listed in the left sidebar.
- Select WorkHub and display a conversation containing a completed task report.
- Without clicking, hover over a sidebar conversation until its details preview appears over the WorkHub area.
- Observe the WorkHub conversation as the preview appears, then move the pointer away and observe it as the preview disappears.
- Repeat the enter/leave interaction. The reported flash occurs at these transitions rather than continuously during a stationary hover.
Environment
- Maka version:
0.2.0-dev.64.20260929(installed Desktop build). - OS: macOS
26.5.2(25F84), arm64. - Surface: Desktop, docked WorkHub in the main window.
- Source examined independently:
mainat57964425a0fa968c72f6b8d31ad9b16ddfae0eea. This is the source-investigation revision, not a claimed build SHA of the installed app. - Node.js version: not applicable to the installed-build observation.
Logs, screenshots, or additional context
Source investigation
At the source revision above:
isNativeSurfaceOccludedtreats an overlapping open popover as occluding the native WorkHub view.- The
hostcommand starts an asynchronouscapturePage()and immediately updates native visibility without waiting for the image. WorkHubDockinstalls the backdrop only after the IPC promise returns. When the overlay closes, it clears the backdrop before the asynchronous host update restores the native view.
A controlled in-memory check using that production code held the capture promise pending. During that interval, the native view was hidden and no backdrop had been returned. Six open/close cycles reproduced this handoff gap while retaining the same renderer instance; it was not destroyed or recreated. The installed build contains the same handoff sequence.
Verification limits
The visible flash is the user-observed Desktop symptom. The controlled check establishes command ordering and renderer retention, not the duration of a blank interval on the physical screen. A complete current-main GUI reproduction with painted-frame recording has not been performed, and no fix has yet been implemented or verified.
AI assistance: OpenAI Codex assisted with source inspection, targeted reproduction checks, and drafting. I reviewed this report before submission.
简体中文
发生了什么
在主窗口中查看 WorkHub 对话时,将鼠标悬浮在左侧栏的一条对话上会打开详情预览。当预览与 WorkHub 区域重叠时,WorkHub 对话会短暂闪烁,看起来像页面重新加载;预览关闭时也观察到类似闪烁。
实际报告的是预览出现、消失时的短暂闪烁,而不是鼠标停住后持续闪烁。没有点击或主动切换对话;查看已经完成的任务报告时也会发生。
预期:打开或关闭侧栏预览时,WorkHub 对话保持视觉稳定,保留当前对话和草稿。
如何复现
- 打开 Maka Desktop,启用 WorkHub,并确保左侧栏至少有一条对话。
- 选择 WorkHub,显示包含已完成任务报告的对话。
- 不点击,将鼠标悬浮在侧栏对话上,直到详情预览覆盖 WorkHub 区域。
- 观察预览出现时的 WorkHub 对话,再移开鼠标,观察预览消失时的对话。
- 重复移入、移出。报告中的闪烁发生在这些切换时刻,而不是鼠标静止悬浮期间持续发生。
环境
- Maka 版本:
0.2.0-dev.64.20260929,已安装的 Desktop 构建。 - 操作系统:macOS
26.5.2(25F84),arm64。 - 界面:Desktop,主窗口中停靠的 WorkHub。
- 独立检查的源码:
main@57964425a0fa968c72f6b8d31ad9b16ddfae0eea。这是源码调查所用版本,不代表已安装应用的构建 SHA。 - Node.js 版本:不适用于已安装应用中的现象。
源码调查
在上述源码版本中:
isNativeSurfaceOccluded将与原生 WorkHub 视图重叠的已打开 popover 判定为遮挡。host命令启动异步capturePage()后,不等待图片返回便立即更新原生视图的可见性。WorkHubDock只在 IPC Promise 返回后设置占位截图。弹出层关闭时,则先清除截图,再由异步 host 更新恢复原生视图。
使用该版本生产代码进行受控的内存检查,将截图 Promise 保持在等待状态。在这段时间内,原生视图已经隐藏,但占位截图尚未返回。六轮打开、关闭都复现了这一显示交接间隙,同时保留同一个 renderer 实例,没有销毁或重新创建。已安装应用中也包含相同的交接顺序。
验证范围
可见闪烁是用户在 Desktop 中观察到的现象。受控检查确认的是命令顺序和 renderer 保留情况,并未测量真实屏幕上的空白持续时间。目前没有完成带逐帧记录的完整当前 main 界面复现,也尚未实现或验证修复。
AI 协助:OpenAI Codex 协助进行了源码检查、定向复现验证和正文起草。本报告经过我审核后提交。
Activity
sunrioa commentedon Oct 1, 2026
take