Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Timeshift tray hint says a snapshot is being created while one is being deleted

未关闭
#140 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
desktop

调研方向

Start in tray.py at monitor() and is_running(), where the issue says any timeshift process is treated as snapshot creation. Check how Timeshift exposes the operation it is performing, then compare tray behavior for deletion and creation, including creation from the Timeshift window. Done means the hint reflects the actual operation and its intended scope is clear; the issue mentions no test file.

由索引模型根据 Issue 内容生成。

描述

mintreport 1.6.1 and Timeshift 25.12.4 on Linux Mint 22.3 Cinnamon.

I deleted an old snapshot from a terminal. The tray icon appeared with the hint "A Timeshift system snapshot is being created." and stayed until the delete had finished. Nothing was being created. This was the only Timeshift process running:

timeshift --delete --snapshot '2026-05-27_00-52-29' --scripted

In tray.py, monitor() registers Timeshift as MonitoredProcess(..., "timeshift", ..., is_binary=True), and is_running() then only tests p.name() == "timeshift". Every run of the command line tool matches, whatever it was asked to do.

One question about when the hint is meant to appear. It did not show while I created a snapshot from the Timeshift window, where the process is timeshift-gtk. Is the hint meant for background runs only?

#83 was about this same hint, and #84 fixed the case reported there.

I plan to try a version of the tray on my own machine in which the hint follows what Timeshift is actually doing. If it works out, I would be glad to send it as a pull request, along with a fix for the wording above if you want one.

主要语言
Python
星标
30
派生
26
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxmint/mintreport 的其他 Issue

查看 linuxmint/mintreport 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。