Skip to content

Lattice v1.0 beta4 pre1

Pre-release
Pre-release

Choose a tag to compare

@stringer07 stringer07 released this 21 Mar 16:44
· 33 commits to master since this release

English

Note

  • This build includes a relatively large internal refactor and is therefore released as pre1 for the beta4 cycle. Some edge cases may still surface, so feedback is especially valuable for this version.

Fixed

  1. Fixed a resource leak where file access permissions could remain unreleased after previewing a PDF and then closing the preview window.
  2. Fixed a data corruption issue in the detail inspector where authors written in "Last, First" format could be incorrectly split into two separate people when edited.
  3. Fixed a crash that could occur when HTML abstract decoding was invoked on a background thread during metadata retrieval.
  4. Fixed an occasional crash when switching sidebar filters after a batch BibTeX import.
  5. Fixed a crash caused by concurrent background metadata fetch tasks accessing the database at the same time during batch import, which could lead to memory corruption.
  6. Fixed a crash that could occur when deleting a paper that was currently being previewed, while the detail inspector was still attempting to access deleted data.
  7. Fixed a potential crash during import where the paper list could still try to read data that was not yet ready under certain filter conditions.

Improved

  1. Updated several views that do not need real-time paper updates from persistent subscriptions to on-demand queries, reducing unnecessary UI refreshes.
  2. Optimized sidebar filter count calculation by moving it from per-paper iteration to direct database-level aggregation, improving performance for large libraries.
  3. Optimized citekey collection queries so that only papers with citekeys are scanned, reducing unnecessary database load.

中文

说明

  • 该版本包含一次较大规模的内部重构,因此在 beta4 周期内先以 pre1 形式发布。该版本可能仍存在一些边缘问题,欢迎继续反馈。

修复

  1. 修复了预览 PDF 后关闭预览窗口时,文件访问权限不会被释放的资源泄漏问题。
  2. 修复了在详情面板编辑作者时,"姓, 名" 格式的作者可能被错误拆分成两个人,进而导致数据损坏的问题。
  3. 修复了获取论文元数据时,HTML 摘要解码如果在后台线程调用,可能导致闪退的问题。
  4. 修复了批量导入 BibTeX 后切换侧边栏筛选项时偶发闪退的问题。
  5. 修复了批量导入过程中,多个后台元数据查询任务同时访问数据库,可能导致内存损坏并引发闪退的问题。
  6. 修复了删除正在预览的论文时,详情面板仍访问已删除数据而导致闪退的问题。
  7. 修复了导入期间在特定筛选条件下,论文列表仍尝试读取未就绪数据的潜在闪退问题。

优化

  1. 优化了多个不需要实时显示论文内容的视图,将其从常驻订阅改为按需查询,减少了不必要的界面刷新。
  2. 优化了侧边栏筛选计数的计算方式,从逐条遍历论文改为数据库层面的直接统计,提升了大库场景下的性能。
  3. 优化了引用键收集查询逻辑,仅检索具有引用键的论文,减少数据库负担。