Bug 报告#

此页面包含的信息可帮助您通过报告 Ubuntu Touch 的可操作错误来帮助我们。 它不包含有关报告应用程序中的错误的信息,大多数情况下,它们在OpenStore中的输入将指定在哪里以及如何执行该操作。

获得最新版本的 Ubuntu Touch#

这似乎很明显,但却很容易错过。 请转到(设置 - 更新)以确保您的设备没有任何可用的 Ubuntu 更新。 如果没有更新,请继续阅读本指南。 如果有可用更新,请更新您的设备并尝试重现该错误。如果问题仍然出现,请继续阅读本指南。 如果没有出现,请开心一下! 该错误已被修复,您可以继续使用 Ubuntu Touch。

检查是否已报告错误#

Open up the bug tracker for ubuntu-touch.

备注

Pinephone users should check for and report bugs here

首先,您需要确保您尝试报告的错误在以前没有被报告过。 请先搜索报告的错误。 搜索时,请使用几个词来描述你所看到的错误。 例如,“锁定 屏幕 透明”或“锁定 屏幕 显示活动”。

如果您发现错误报告已存在,请选择 “Add your Reaction” 按钮(看起来像笑脸)并选择 +1(竖起大拇指)。 这表明您也遇到了这个错误。

If the report is missing any of the information specified later in this document, please add it yourself to help the developers fix the bug.

重现您发现的问题#

Next, find out exactly how to recreate the bug that you’ve found. Document the exact steps that you took to find the problem in detail. Then, reboot your phone and perform those steps again. If the problem still occurs, continue on to the next step. If not…

制作错误报告#

恭喜您终于等到提交错误报告的那一刻!提交错误报告需要用到英文 。

First, pull up the bug tracker and click “New Issue”. Log in to GitHub if you haven’t yet.

接下来,您需要为您的 bug 命名。 选择一个名称,说明发生了什么,但不要太罗嗦。 四到八个字应该就够了。

现在,请书写您的 bug 报告。好的 bug 报告应该包含以下内容:

  • 发生了什么:错误行为的概要

  • 我想要发生的事情:如果没有错误,应该发生的事情的概要

  • 重现的步骤:您之前已经写下了这些,对吧?

  • 软件版本:进入(设置 - 关于)并列出出现在此屏幕的“操作系统”那一行中的内容。这还包括您在此手机上安装 Ubuntu 时使用的发行频道。

Once you’re finished with that, post the report. You can’t add labels yourself, so please don’t forget to state the device you’re experiencing the issue on in the description so a moderator can easily add the correct tags later.

A developer or QA-team member will confirm and triage your bug, then work can begin on it. If you are missing any information, you will be asked for it, so make sure to check in often!

获取日志#

Here we’ll discuss the general steps to get logs, files that contain important debugging messages, on Ubuntu Touch. You may be asked for logs after submitting your issue. This section will help you to retrieve these logs from the device.

警告

Log files may contain information you prefer to keep private. Please be sure to skim through them to ensure this is not the case before posting them. We can coordinate to get them through e-mail or a similarly less public medium.

To get ready, download the Logviewer app from the OpenStore. This app will help us find, view, and send the logs we need.

Now, open the Logviewer app. You’ll see the list of applications running on your device. You can open any of them to view the logs of this application. And you can use the “send” icon in the top right corner to share a log using an online service.

If you don’t see the log that you’ve been asked to send in Logviewer, it may be in a different folder or the application may not have created any logs yet. Tell this to the person who asked you for the logs. They should be able to get you the information you need to get back on track.