Closed Bug 1529366 Opened 7 years ago Closed 7 years ago

Implement batch-updating of Touch Bar inputs

Categories

(Core :: Widget: Cocoa, enhancement, P3)

Desktop
macOS
enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(1 file)

The method that updates the Touch Bar can be called many times per location change. This problem is exacerbated by the work in bug 1522039, which adds additional updates for the Touch Bar's back/forward buttons.

I will implement nsTouchBarUpdater::UpdateTouchBarInputs, which will allow batch-updating of inputs, so there is only one call per location change. This work was suggested by :mikedeboer in the work on bug 1522039.

Depends on: 1522039

Changes updateTouchBarInput to a batch-updating updateTouchBarInputs.
Also adds a check for a cached localized title to getTouchBarInput().

Priority: -- → P3
Pushed by mdeboer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e49c905f4cf6 Implement batch-updating of Touch Bar inputs. r=mikedeboer,spohl
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: