Closed
Bug 1787552
Opened 3 years ago
Closed 3 years ago
nsIWindowsShellService::PinCurrentAppToTaskbarAsync breaks icon when called repeatedly
Categories
(Firefox :: Shell Integration, defect, P3)
Tracking
()
RESOLVED
FIXED
116 Branch
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: beth, Assigned: nipunshukla002)
References
Details
(Whiteboard: [fidedi-ope])
Attachments
(2 files)
If you already have Firefox pinned and call
Cc["@mozilla.org/browser/shell-service;1"]
.getService(Ci.nsIWindowsShellService)
.pinCurrentAppToTaskbarAsync(false)
it will change the icon of your currently pinned Firefox. The same behaviour occurs if you do not have Firefox pinned and call the function twice.
If you call it with true instead, the same behaviour happens for the private browsing shortcut.
Comment 1•3 years ago
|
||
I think this is probably not a problem in practice right now as I believe all calls to this are guarded behind checkPinCurrentAppToTaskbar - but we ought to fix this regardless to avoid a future footgun.
Comment 2•3 years ago
|
||
P3 S4 given we suspect this is more of a future hazard than a current concern.
Severity: -- → S4
Priority: -- → P3
Updated•3 years ago
|
Whiteboard: [fidedi-ope]
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → nshukla
Status: NEW → ASSIGNED
| Assignee | ||
Updated•3 years ago
|
Assignee: nshukla → nobody
Status: ASSIGNED → NEW
| Assignee | ||
Comment 3•3 years ago
|
||
pinning in PinCurrentAppToTaskbarWin10 r=nrishel
Updated•3 years ago
|
Assignee: nobody → nshukla
Status: NEW → ASSIGNED
Updated•3 years ago
|
Attachment #9338159 -
Attachment description: WIP: Bug 1787552 - Added check to see if taskbar pin already exists before → WIP: Bug 1787552 - Added check to see if taskbar pin already exists before pinning in PinCurrentAppToTaskbarWin10 r=nrishel
Updated•3 years ago
|
Attachment #9338159 -
Attachment description: WIP: Bug 1787552 - Added check to see if taskbar pin already exists before pinning in PinCurrentAppToTaskbarWin10 r=nrishel → Bug 1787552 - Added check to see if taskbar pin already exists before pinning in PinCurrentAppToTaskbarWin10 r=nrishel
Pushed by nrishel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7f88f4a17483
Added check to see if taskbar pin already exists before pinning in PinCurrentAppToTaskbarWin10 r=nrishel
Comment 5•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox116:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•