Contributors Guide to Writing a Good Bug

Contributors Contributors Sabuntawar ƙarshe: 60% of users voted this helpful

Have you ever wondered as a contributor how the teams find out about some of the issues that come up after a new release? Or maybe that weird thing that this one product did in that weird question you answered yesterday? Well let's admit it, sometimes products break and new ways to use them come up all the time. Or maybe you are that user who has looked under the hood of plenty of applications and want to know how to tell "them" about it. Whatever the case, this article will give a few guidelines on how to communicate that weird situation or error code you saw in that one question and translate it into something an engineer can work from.

This is where Bugzilla comes in. Bugzilla is the tool that Mozilla uses to talk about the bugs in all of the products that Mozilla has ever created, for the most part. But our neighbors have an ecosystem just like the forum. All of its wonders will be found in due time. Just like in the cave of wonders, for now, do not touch anything but the lamp!


Bugzilla and what it can do

Warning: Please take note that when filing a bug or suggesting to submit a bug to ensure that the steps to reproduce are reproducible on more than one computer of the same OS type, in a new profile as well as it is reproducible in Safe Mode. This will create a more streamline experience for all parties.

There are some tips and tricks that can help you visualize the dashboard or keep track of the bugs that you have filed.

How to save an advanced search:

  1. First sign in to Bugzilla.
  2. Click on "Search" and click the tab "Advanced Search" or https://bugzilla.mozilla.org/query.cgi?query_format=advanced.
  3. Select all the options you want.
  4. Click Search.
  5. Then click "Remember Search As" and enter the name of the search.
  6. The link will then live at the bottom of Bugzilla and is just a click away.

How to save a template to create a bug:

  1. Sign in and click "New" or New Bug.
  2. Click on a component.
  3. Click on the button "Show Advanced Fields".
  4. Click "Remember Values as bookmarkable template".
  5. At the top there will be "Bug entry template". Right-click on it and copy the link. Open up Bookmarks and create a new bookmark. Paste the link and call it "Template Bug for" + name of choice. That's it!

Is there a bug that already exists? Please add the thread for tracking purposes or in the "See Also:". This way – when the bug is fixed or there is an update – you can easily find the thread to let the user know what is happening with their bug.

What you need to know before you participate

Please keep this in mind before you enter Bugzilla of wonders:

  • Please read the etiquette.
  • Did you find a bug that describes what you are seeing? If you did, do they have the same info you have? Let them know or vote on it.

How to gather the troubleshooting info for the bug

So you are already good at this stuff: asking for what the user is seeing on their computer screen or phone and how to show them the basics. Now for the more technical stuff.

Troubleshooting information on about:support

  1. Open Firefox and type in about:support.
  2. Look for the "Copy text to clipboard".
  3. Paste the information below.

Questions you can ask yourself to frame the bug and description:

  1. Does it happen in Firefox Safe Mode and a new profile?
  2. What add-ons do you have? What version do you use?
  3. Can you reproduce this? Or do you know someone who can?
  4. Is there another way to do it in the meantime, is there a work around?
  5. Is it working the way that it is intended to work?

Existing Guidelines for Writing your First Bug

Mozilla Developer Network (MDN) has a page that explains how to write an effective bug. Just like SUMO, there is some lingo and guides to being amazing. Please see Bug writing guidelines for how to write an amazing bug.

Guidelines on how to get help:

  • Please make sure all comments on bugs are useful pieces of information in helping to solve the bug.
  • Do not fear – we are not leading you to a wasteland of forgotten bugs. Each component sends an email to the owner of that component.
  • Each bug is reviewed, triaged and viewed by many people, this is why it is important to make sure it has clear information in its description. But make sure that if it is not assigned, that you put a severity on it. The severity gets more attention in those components.
  • If you have any questions about this, please seek a moderator or an admin for more help. Some places to find help are Matrix rooms that the bug pertains to. You can ask about the bug there. If you get an employee's attention to keep track of the thread, they can ask more questions if they are working on improving that as well.
  • Tell input.mozilla.org if it is feedback instead of filing a bug!


Support: If you find the bug matching their issue:

  • Tell them the priority and what that means.
  • Has it been assigned or does it depend on another bug?
  • Has it been fixed in Aurora or Nightly?
  • Contact the engineer if it is assigned and ask for a status update.

For example, this is not a standard:

Currently it looks like this bug depends on a [priority] bug, which is the highest priority. I have voted on this bug and recommend you check for updates on this issue on this bug and vote as well because it is affecting you. In the meantime we are happy to help find a work around.

  • [Insert work around if there is one].
  • If the behavior is the same is there a time the bug says it will be fixed? Be careful here because this is subject to change and can be left out.

We are very sorry for the inconvenience. If there are any other questions in the meantime please do not hesitate to ask.

  • Start a new thread can be added.


Firefox for Android

How to gather troubleshooting info

Firefox troubleshooting info

This is a template you can use when filing a bug:

Hi,

Please type a brief introduction to the bug and/or background if it would be helpful to the Engineering and QA teams. Not required for all bugs - some of them are simpler and straight forward.

STEPS TO REPRODUCE:

EXPECTED RESULTS: Describe what you expected to happen.

ACTUAL RESULTS: Describe what actually happened.

Please let me know if there is any information I could provide to help with the investigation and troubleshooting of this issue.

Thanks!!

Magic link for description of bug components:
https://bugzilla.mozilla.org/describecomponents.cgi?=


Some common Webmaker troubleshooting info

Some common Thunderbird troubleshooting info


I filed some bugs, but I want to do a little more

Now you start to file some bugs, but you want to do a little more. Check if the bugs have been assigned? Have there been any updates? This is a big part of support.

Getting to know bug components:

Check out the component descriptions if you have questions. Click this link and choose a product.

Link for description of all bug components:
https://bugzilla.mozilla.org/describecomponents.cgi?=

You want to be one of the bugmasters?

... Or maybe you want to find the right people to take a look at a bug: MDN’s guide to Bugzilla will tell you all about the etiquette, how to fix it and where to find the right people.

I know how to fix the bug, how can I write a patch?

Grey Areas

You can always reach out for help, this is not a standard just some recommendations. If you have any other "grey areas" let's talk about it.  

Wannan maƙalar ta taimaka?

Dakata...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More