Bugs

See Where to report to submit new bugs or patches.

当前的 Bug 和补丁

A good way to get involved.

只要某个维护人员明确的同意了 gtkmm 的补丁,任何有 git 写权限的人都可以去应用它。

Where to report?

  • Bugs are tracked in GNOME's issue tracker. Submit gtkmm bugs here.
  • Patches should be attached to existing issues or MRs (merge requests) rather than sent to GNOME's Discourse forum. When reporting a new bug you'll get a chance to attach a file to it immediately after opening the issue.

报告 Bug 都需要什么信息?

  • version numbers of GTK, gtkmm and other related software, including your platform/distro/compiler.
  • 这个 Bug 的描述
  • 要重现这个 Bug 所需要的信息、步骤
  • 如果需要还可以提供 stack dump:
     gdb ./proggy ; run ; *crash* ; where 
  • 要尽量简短但是要详细
  • 如果可能,提供补丁

如果我们无法立即解决这个问题,我们也许会请你创建一个导致问题的尽量简单的例子,这帮助我们分析问题,并且也可以证明这不是你的代码中的错误导致的问题。

How do I create a patch?

使用 Git 有很多的办法可以做到,但是如果你不熟悉 Git 的话,有一个最简单的办法创建补丁:

  • Take code from git
  • 修改这个版本
  • 确认可以编译
  • 使用 git 命令来创建补丁
     git diff -u > my_fix.patch 
  • Add the patch in the issue tracker (see above).

我应该提交 bug 报告么?

在下列情况下,应该总是提交 Bug 报告:

  • 如果你那里出现了一次崩溃,并且你认为可能是 gtkmm 的问题;
  • 如果你无法编译 gtkmm;
  • 如果你有一个更好的注意可以让 gtkmm 更好;

If you know how to fix the bug, you can create a merge request instead of (or in addition to) an issue.