av9ash/GitBugs huggingface dataset:
Bug: Tooltip of PDF Image button "Add an image" is inconsistent and potentially confusing
Status: RESOLVED
Priority: P3
Resolution: DUPLICATE
Created: 2023-07-20 16:30:25+00:00
Resolved: 2023-08-10 10:57:38+00:00

The tooltip of the Image toolbar icon is "Add an image".   I was expecting that clicking on this button would open a standard file dialog so I can select an image to add.  Instead all it does is make the button active.

For a while I thought it was just broken, until I accidentally clicked on the canvas and then presented with a standard file dialog.

Then I was confused that the button stayed depressed.  After playing with other PDF editing features (which I was unfamiliar with before today) I realised that portion of the toolbar was a mode select, allowing me to switch between placing images, text, or drawing lines.

If the image button wasn't the first one that I'd ever used, it would have been clearer how it worked.  However, this was not the case, probably because it's the leftmost icon (but also because I wanted to play with the image placement feature).

Suggestions:
- Make it clear that the three buttons (image, text, draw) are for editing the PDF and are modal (somehow!)
- Use consistent language in the tooltips - either "Add an image", "Add text", and "Add drawing"; or "Image", "Text", and "Draw"
- Open the standard file dialog immediately upon clicking on the toolbar icon; or provide some other UI hint that a placement on the PDF is required _before_ selecting a file, not after (like most other document editors)
Bug: Pressing the Delete key should delete the selected element when editing a PDF
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2023-07-20 16:32:51+00:00
Resolved: 2023-07-22 07:47:11+00:00

Attach (recommended) or Link to PDF file here:

Steps to reproduce the problem:
1.  Add an image to a PDF
2. Ensure the image is selected
3. Press the Delete key on your keyboard

What is the expected behaviour? (add screenshot)

- The image should be deleted

What went wrong? (add screenshot)

- The image is not deleted, can only be deleted via the context menu
Bug: Open tabs links don't have the title tooltip to show the whole, non-truncated URL
Status: RESOLVED
Priority: P3
Resolution: FIXED
Created: 2023-07-20 16:57:24+00:00
Resolved: 2023-08-10 16:08:25+00:00

The item links in the recently closed tabs list all have a title attribute which shows the full URL on hover. Even though the open tabs links do a slightly different thing, we could still use the same tooltip there to disambiguate.
Bug: Some sites switch urls if users page down or scroll down
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-07-20 18:15:07+00:00
Resolved: 2023-08-07 15:21:25+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

Visit https://www.salon.com/2023/07/20/florida-schools-now-teaching-students-that-slavery-brought-personal-benefit-to-black-people/

Page own to the end of the article.


Actual results:

Another article loads and the url changes. So if you try to share the link you get the wrong one.


Expected results:

I think the url should reflect where the user has choosen to go. So entering a new url can change it, clicking links can change it, but paging down should not change it.

I checked in the console, and it doesn't show anything in the switch.
Bug: When two devices with the same name are connected, tabs from other devices is empty
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-07-20 20:28:45+00:00
Resolved: 2023-08-11 12:30:31+00:00

I'm debugging why you sometimes see a blank "Tabs from other devices"

It seems to be a special case where you have two desktop devices with the same name and no mobile devices.

We see that you have more than one device, so we don't show the "connect a device" page, but we also look at the device name and thing that it is your current device, so we show nothing.

On further investigation, getTabClients never returns the current device, so the checking I was adding to try to remove duplicates was creating this situation.
Bug: Tab navigation on many modal dialogs (including the "Restart Firefox" pop-up) can focus the window as a whole (no visible focus highlight)
Status: NEW
Priority: --
Created: 2023-07-21 05:16:55+00:00
Resolved: 2023-09-20 09:50:40+00:00

[Affected versions]:

115.0.2 (64-bit)

[Affected Platforms]:

macOS 13.3.1 (22E261)

[Steps to reproduce]:

1. Open "about:preferences" page.
2. Search "History" in the "Find in Settings".
3. Click the "Never remember history" option under "History" section.
4. Press the "Tab" key to navigate on the "Restart Firefox" pop-up multiple times.

[Expected Results]:
- Two buttons ("Cancel" and "Restart Firefox now") are continuously alternately being focused.

[Actual Results]:
- On the third press of the Tab key, the highlight disappears, and no button is selected.
Bug: Library download rendering glitch w/ Long downloaded file name
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-07-21 05:32:09+00:00
Resolved: 2023-08-22 13:31:58+00:00

STR:
1. Save anything with long file name
2. Open Downloads (Ctrl+J)

Actual results:
Folder icon is out of view w/o horizontal scroll.
Highlight rect is not extended to entire width when horizontal scroll.
screencast: https://youtu.be/jBwSMvLU79Q

Expected results:
Folder icon should be shown with out scroll.
Highlight rect should be extended to entire width.
Bug: Reloading 'about:preferences#privacy' page causes unwanted scrolling
Status: RESOLVED
Priority: P3
Resolution: WORKSFORME
Created: 2023-07-21 06:03:42+00:00
Resolved: 2023-10-23 13:39:46+00:00

[Affected versions]:

115.0.2 (64-bit)

[Affected Platforms]:

macOS 13.3.1 (22E261)

[Steps to reproduce]:

1. Open Firefox.
2. Go to 'about:preferences#privacy'.
3. Scroll to the 'Delete cookies and site data when Firefox is closed' checkbox.
4. Click the "Reload current page" multiple times.

[Expected Results]:
- the page only reloads without scrolling.

[Actual Results]:
- the page scrolls after reloading
Bug: Link to Release Notes from About menu for Firefox 115 ESR is broken
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-07-21 06:30:14+00:00
Resolved: 2023-08-21 11:36:39+00:00

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0

Steps to reproduce:

clicked the link for '115.0.3' on https://www.mozilla.org/en-US/firefox/releases/


Actual results:

get "Sorry, we can’t find that page" page


Expected results:

should see the release notes
Bug: Firefox identified my language as zh-Hant but tell me to change my language to zh-Hans
Status: NEW
Priority: P2
Created: 2023-07-21 07:49:33+00:00
Resolved: 2023-10-25 16:12:05+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0

Steps to reproduce:

1. Download Firefox
2. Execute Firefox for the first time on the computer
3. Follow start guide
4. Enter the page:
> Firefox speaks your language
> Thanks to our community, Firefox is translated in over 90 languages. It looks like your system is using Chinese (Hant, Hong Kong), and Firefox is using English (US).



Actual results:

I see two buttons, first one is "Switch to Simplified Chinese" in Simplified Chinese, the second one is "Continue in English (US)".


Expected results:

Since Firefox identified my language as "Chinese (Hant, Hong Kong)", with "Hant" referring to Chinese (Traditional), a language supported by Firefox, it shouldn't recommend me to switch to another different language, Simplified Chinese.
Bug: 'Remove from History' menu item/command doesn't work on Adaptive History results
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2023-07-21 13:02:32+00:00
Resolved: 2023-10-09 15:10:53+00:00

Firefox 115.0.2 and latest 117.0a1

Reproduces in one profile but not in another:
1. In the url bar: type something and a history item gets suggested.
2. Use the "..." menu item for the suggested url.
3. Use 'Remove from history'.

Actual result:
Suggestion persists.

Expected result:
Suggestion removed, replace with another one if available.

Inspecting the menu fails with devtools, the inspector focuses on the suggested url bar rows.

The removal succeeded once directly after startup but this scenario did not work repeatedly.

There are no extensions installed in this profile.
Bug: 'Remove this login?' pop-up remains with clickable buttons on 'about:logins' page after all logins removed
Status: NEW
Priority: P3
Created: 2023-07-21 13:35:24+00:00
Resolved: 2023-07-24 16:19:14+00:00

**[Affected versions]:**
- Firefox 115.0.2 (64-bit)

**[Affected Platforms]:**
- Mac 13.3.1

**[Steps to reproduce]:**
1. Open 'about:preferences'.
2. Click on 'Saved Logins...'
3. Click on a site.
4. Click on 'Remove'.
5. Navigate to 'about:logins' in a new tab.
6. Select 'Remove All Logins...' option
7. Tick 'Yes, remove these logins.' checkbox
8. Click 'Remove All'
9. Go back to the previous 'about:logins' page

**[Expected result]:**
- All logins are successfully removed.
- 'Remove this login?' pop-up is dismissed.
 
**[Actual result]:**
- All logins are successfully removed.
- 'Remove this login?' pop-up persists, and all its buttons remain clickable.
Bug: "Synced Tabs" in Menu Bar's History menu should be hidden when a user has explicitly disabled Firefox Sync
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2023-07-21 14:05:54+00:00
Resolved: 2023-08-25 11:42:29+00:00

STR:

1. Click on the AppMenu and confirm that the `Sync and save data [Sign In]` option is above the `New tab` option.
2. Set `identity.fxaccounts.enabled` to false and restart Firefox.
3. Click on the AppMenu and confirm that the `Sync and save data [Sign In]` option no longer appears.
4. Press `Alt` and select `History`.

Expected Behavior:

No "Synced Tabs" option in Menu Bar's History menu when `identity.fxaccounts.enabled` is set to false.

Actual Behavior:

The "Synced Tabs" option persists even when a user has explicitly disabled Firefox Sync.

Mozregression returned

Last good revision: 6ca54f5a4a1b2a12530001ea3f092c29810e803c
First bad revision: 52879d2432f7058cf595ab14765bb575b5c0a108
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6ca54f5a4a1b2a12530001ea3f092c29810e803c&tochange=52879d2432f7058cf595ab14765bb575b5c0a108


FWIW there is no "Synced Tabs" menu item in the good builds, even when `identity.fxaccounts.enabled` is set to true– I am just trying to make a point here. A similar "Synced Tabs" option did exist back in Australis' AppMenu, but the `identity.fxaccounts.enabled` pref didn't really exist until sometime around Firefox 60.
Bug: No prompt before opening external protocol if "user entered" (typed, middle-click, or drag and drop)
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-07-21 14:18:33+00:00
Resolved: 2024-05-30 18:12:50+00:00

Firefox Version: [116.0b8] + [117.0a1]
Operating System: [Windows 10] (64-bit)

Run protocols In Firefox No Permission needed.

If We Drag & Drop Link into New Firefox Window 

Directly We Can Open External Protocol No Permission Asked 

I Have Created Image Drag & Drop
Bug: Radio dot jumps between "Only when Firefox is set to block known trackers" and "Always" button during reloading
Status: NEW
Priority: P5
Created: 2023-07-21 14:26:45+00:00
Resolved: 2024-02-05 12:20:26+00:00

[Affected Versions]
- Firefox 115.0.2 (64-bit)

[Affected Platforms]
- macOS 13.3.1 (22E261)

[Steps to reproduce]:
1. Go to "about:preferences#privacy"
2. Scroll down to "Only when Firefox is set to block known trackers" ratio button
3. Click the "Reload current page" button mutiple times


[Expected result]:
- During reloading, radio dot stays still.


[Actual result]:
- During reloading, radio dot jumps between "Only when Firefox is set to block known trackers" and "Always" ratio button.

[Notes]:
- Reproducing the issue may require multiple reloads.
Bug: Cmd-Shift-T does not re-open the most recently closed tab despite it being the most recent action
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-07-21 14:34:14+00:00
Resolved: 2023-08-30 18:05:37+00:00

I am in a situation where Firefox is unable to restore the most recently closed tab, even after opening and closing tabs. Instead of restoring the tab, it restores the most recently closed window.

Upon investigation, I believe that the issue is related to the logic at [SessionStoreInternal._addClosedAction](https://searchfox.org/mozilla-central/rev/ea65de7c7b01ce5e7b2c0d2b6684ce0219cc2914/browser/components/sessionstore/SessionStore.sys.mjs#868-876):

- It adds a close action to the list of recently closed items.
- Upon exceeding some maximum limit, it truncates the list - dropping the most recently added item.
- A fix could be to use `.slice(-maxLength)` instead of `.splice(maxLength, this._lastClosedActions.length);` - to drop the least recently used action instead of the most recently used action.

Steps to reproduce (minimal, based on the observed code):
1. Visit about:config to set the following preferences (to make reproduction easier, otherwise you would have to open and close many more tabs, 75 of them in fact...):
  - Set `browser.sessionstore.max_tabs_undo` to 2 (instead of 25).
  - Set `browser.sessionstore.max_windows_undo` to 2 (instead of 3).
2. Open new window, navigate to example.com
3. Open new tab in window from step 2, navigate to example.com/1 and close it (closed #1)
4. Open new tab in window from step 2, navigate to example.com/2 and close it (closed #2)
5. Open new window, navigate to example.com/3 and close the window (=closed #3).
6. Open new window, navigate to example.com/4 and close the window (=closed #4).
7. Go back to the initial window from step 1 or step 2, and open a tab (example.com/5), then close the tab (=closed #5).
8. Press Ctrl-Shift-T (or Cmd-Shift-T on macOS).

Expected:
- Tab from step 7 should be re-opened.

Actual:
- window from step 6 is re-opened.
Bug: [Intermittent] A diamond shaped element is displayed instead of the featureCallout when opening a New Tab via long click on the “+” button and selecting the “No container” option
Status: RESOLVED
Priority: P2
Resolution: WORKSFORME
Created: 2023-07-21 14:57:11+00:00
Resolved: 2023-11-22 23:33:48+00:00

**[Affected versions]:**
- Firefox Nightly 117.0a1 - Build ID: 20230721040926

**[Affected Platforms]:**
- Windows 10 x64
- macOS 12.6.1

**[Prerequisites]:**
- Set `nimbus.debug` pref to “true”.
- Switch to the Stage environment using the Remote Settings [Addon](https://github.com/mozilla-extensions/remote-settings-devtools/releases) (restart the browser to apply the change).
- Copy and paste this link in order to force enroll in the experiment: `about:studies?optin_slug=mcoman-bug-1826588-bugfix-verification&optin_branch=control&optin_collection=nimbus-preview`

**[Steps to reproduce]:**
1. Open the browser with the profile from the prerequisites.
2. Long click the “+” (New Tab) toolbar button.
3. Without letting the mouse button go, move the mouse so that the cursor hovers over the “No container” option.
4. Let go of the mouse button.
5. Observe what happens next.

**[Expected result]:**
- A New Tab is opened displaying the `featureCallout`.

**[Actual result]:**
- A diamond-shaped element is displayed instead of the `featureCallout` on the New Tab.

**[Notes]:**
- The issue is not reproducible with the following scenarios:
-> opening the New Tabs by clicking the “+” button;
-> opening New Container Tabs;
-> opening New Tabs through shortcut (“Ctrl”+”T”);
- The element remains displayed when reloading the New Tab.
- Will test this scenario with Linux OS once I have access to a machine.
- Here is a video of the issue: [link](https://drive.google.com/file/d/14ObT-zj_6RabgfIgn4Tl1dRFojsGH9NM/view?usp=sharing).
Bug: The featureCallout appears briefly just before a website is loaded in the New Tab if previously a New Window displaying the featureCallout was closed
Status: RESOLVED
Priority: P1
Resolution: WORKSFORME
Created: 2023-07-21 14:57:14+00:00
Resolved: 2024-10-29 19:29:45+00:00

**[Affected versions]:**
- Firefox Nightly 117.0a1 - Build ID: 20230721040926

**[Affected Platforms]:**
- Windows 10 x64
- macOS 12.6.1

**[Prerequisites]:**
- Set `nimbus.debug` pref to “true”.
- Switch to the Stage environment using the Remote Settings [Addon](https://github.com/mozilla-extensions/remote-settings-devtools/releases) (restart the browser to apply the change).
- Copy and paste this link in order to force enroll in the experiment: `about:studies?optin_slug=mcoman-bug-1826588-bugfix-verification&optin_branch=control&optin_collection=nimbus-preview`

**[Steps to reproduce]:**
1. Open the browser with the profile from the prerequisites.
2. Press the “Ctrl”+”N” keys in order to open a New Window (make sure the `featureCallout` is displayed in the New Window).
3. Go back to the Original Window and open a New Tab (the `featureCallout` should not be displayed).
4. Close the New Window opened at step 2.
5. In the New Tab opened at step 3 type the link of a website and press the “Enter” key.
6. Observe what happens while the website loads in the tab.

**[Expected result]:**
- The website loads correctly.

**[Actual result]:**
- The `featureCallout` is displayed until the page loads.

**[Notes]:**
- Will test this scenario with Linux OS once I have access to a machine.
- Here is a video of the issue: [link](https://drive.google.com/file/d/15IckLr8fKLIhrxTazCALGEzomqOT3fjl/view?usp=sharing).
Bug: A flicker can be seen on the top left side of the screen when opening a New Tab Page that displays the featureCallout
Status: RESOLVED
Priority: P2
Resolution: WORKSFORME
Created: 2023-07-21 14:57:18+00:00
Resolved: 2024-04-25 18:15:51+00:00

**[Affected versions]:**
- Firefox Nightly 117.0a1 - Build ID: 20230721040926

**[Affected Platforms]:**
- Windows 10 x64
- macOS 12.6.1

**[Prerequisites]:**
- Set `nimbus.debug` pref to “true”.
- Switch to the Stage environment using the Remote Settings [Addon](https://github.com/mozilla-extensions/remote-settings-devtools/releases) (restart the browser to apply the change).
- Copy and paste this link in order to force enroll in the experiment: `about:studies?optin_slug=mcoman-bug-1826588-bugfix-verification&optin_branch=control&optin_collection=nimbus-preview`

**[Steps to reproduce]:**
1. Open the browser with the profile from the prerequisites.
2. Open a New Tab and observe that there are no UI issues.

**[Expected result]:**
- The New Tab opens displaying the `featureCallout`.

**[Actual result]:**
- A flicker can be seen briefly on the top left side of the New Tab.

**[Notes]:**
- Will test this scenario with Linux OS once I have access to a machine.
- Here is a video of the issue: [link](https://drive.google.com/file/d/19DnnZtA8JgZPkbHWWLef1j9Ha1_4Yhl0/view) (the issue is more [noticeable](https://drive.google.com/file/d/1Lfj-057xW73ac8NPYh8MANbZ4nYRAx20/view?usp=sharing) when reproducing it in real-time compared to this video).
Bug: Remove handlers info for non-shipping locales (csb and sah)
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-07-21 15:09:29+00:00
Resolved: 2023-07-22 09:20:54+00:00

The handlers here got accidentally resuscitated. We should drop them to avoid confusion; if we go back to shipping these locales we should re-evaluate what good defaults would be at that point.
Bug: When reloading "about:preferences#privacy" after scrolling to the "Custom" ratio button, the page scrolls to the top unexpectedly
Status: RESOLVED
Priority: P3
Resolution: WORKSFORME
Created: 2023-07-21 15:34:04+00:00
Resolved: 2023-10-23 14:17:21+00:00

[Affected Versions]
- Firefox 115.0.2 (64-bit)

[Affected Platforms]
- macOS 13.3.1 (22E261)

[Steps to reproduce]:
1. Go to "about:preferences#privacy"
2. Scroll down to the "Custom" ratio button.
3. Click the "Reload current page" button multiple times


[Expected result]:
- After reloading, "about:preferences#privacy" page should not scroll.


[Actual result]:
- After reloading, "about:preferences#privacy" page scrolls to the top of this page.


[Notes]:
- Reproducing the issue may require multiple reloads.
- After scrolling to the top of this page, click the "Reload current page" button one more time. The page scrolls back to the original position.
Bug: Intermittent browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-21 17:14:22+00:00
Resolved: 2024-05-13 12:04:41+00:00

**Filed by:** nerli [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=423445074&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/DOZX8_FRSi6DuZ7g4f49ew/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-07-21T15:55:31.495Z] 15:55:31     INFO - TEST-START | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js
[task 2023-07-21T15:55:31.810Z] 15:55:31     INFO - GECKO(3483) | Et tu, Brute?
[task 2023-07-21T15:55:42.182Z] 15:55:42     INFO - GECKO(3483) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 324))
[task 2023-07-21T15:56:18.072Z] 15:56:18     INFO - TEST-INFO | started process screentopng
[task 2023-07-21T15:56:18.324Z] 15:56:18     INFO - TEST-INFO | screentopng: exit 0
[task 2023-07-21T15:56:18.324Z] 15:56:18     INFO - Buffered messages logged at 15:55:31
[task 2023-07-21T15:56:18.324Z] 15:56:18     INFO - Entering test bound test_default
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<html><body>A%20regular,%20everyday,%20normal%20page." line: 0}]
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - Buffered messages finished
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | Test timed out - 
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - GECKO(3483) | MEMORY STAT | vsize 3409MB | residentFast 479MB | heapAllocated 240MB
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - TEST-OK | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | took 46583ms
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | Found a tab after previous test timed out: data:text/html,<html><body>A%20regular,%20everyday,%20normal%20page. - 
[task 2023-07-21T15:56:18.325Z] 15:56:18     INFO - checking window state
```