Closed Bug 1687246 Opened 4 years ago Closed 4 years ago

[wayland] Sort displays by ID

Categories

(Core :: Graphics: Layers, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: rmader, Assigned: rmader)

References

Details

Attachments

(1 file)

The implementation of screen info in bug 1640053 did not consider any order of displays. While this is technically correct (AFAIK), usually ordering the screens by ID will give a more similar output to it's corresponding X11 equivalent - most importantly an internal display would usually get listed first, with external ones following.

Implement a simple sorting step.

Assignee: nobody → robert.mader
Status: NEW → ASSIGNED

On Wayland we don't have a specified order of screens. However,
in order to match intuitive expectations and X11 behavior more, order
the reported screen by their Wayland ID, showing them in order as
reported by the Wayland compositor.

Pushed by ncsoregi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/13800697c49a [wayland] Sort displays by ID. r=stransky
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch

== Change summary for alert #28530 (as of Mon, 25 Jan 2021 13:09:30 GMT) ==

Improvements:

Ratio Suite Test Platform Options Absolute values (old vs new)
3% Heap Unclassified linux1804-64-shippable-qr tp6 233,810,732.47 -> 227,829,590.32
0.32% Heap Unclassified linux1804-64-shippable-qr tp6 232,868,723.24 -> 232,134,710.78

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=28530

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: