Closed
Bug 1411339
Opened 7 years ago
Closed 7 years ago
Configuration for different UI densities.
Categories
(Testing :: mozscreenshots, defect)
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: rndmustafa, Assigned: rndmustafa, Mentored)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Assignee | ||
Updated•7 years ago
|
Mentor: jaws, mconley
Comment 1•7 years ago
|
||
Thanks for filing this, Rand. This configuration should test the default, compact and touch densities.
Assignee: nobody → rndmustafa
Updated•7 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment hidden (typo) |
Comment hidden (typo) |
Updated•7 years ago
|
Status: REOPENED → NEW
Updated•7 years ago
|
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8922916 [details] Bug 1411339 - Configuration for different UI densities. https://reviewboard.mozilla.org/r/194088/#review199164 ::: browser/tools/mozscreenshots/mozscreenshots/extension/configurations/UIDensities.jsm:26 (Diff revision 1) > + browserWindow.gCustomizeMode.setUIDensity(browserWindow.gUIDensity.MODE_COMPACT); > + }, > + > + }, > + > + normal: { Hello, One requirement for configuration names (that probably isn't documented anywhere) is that they should be unique across all of the configuration JSMs. This is so that one can look at the image filename and know exactly what the image was capturing. Unfortunately "normal" is already used by WindowSize.jsm so it should be changed. I would suggest appending the suffix "Density" to all three configurations to keep them consistent while also not conflicting. Thanks for improving mozscreenshots!
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8922916 [details] Bug 1411339 - Configuration for different UI densities. https://reviewboard.mozilla.org/r/194088/#review200184 ::: browser/tools/mozscreenshots/mozscreenshots/extension/configurations/UIDensities.jsm:18 (Diff revision 2) > + compactDensity: { > + async applyConfig() { You should supply a selector for these. Probably `#navigator-toolbox, #appMenu-popup, #widget-overflow` ::: browser/tools/mozscreenshots/mozscreenshots/extension/configurations/UIDensities.jsm:23 (Diff revision 2) > + compactDensity: { > + async applyConfig() { > + let browserWindow = Services.wm.getMostRecentWindow("navigator:browser"); > + browserWindow.gCustomizeMode.setUIDensity(browserWindow.gUIDensity.MODE_COMPACT); > + }, > + nit, remove this blank line ::: browser/tools/mozscreenshots/mozscreenshots/extension/configurations/UIDensities.jsm:31 (Diff revision 2) > + normalDensity: { > + async applyConfig() { > + let browserWindow = Services.wm.getMostRecentWindow("navigator:browser"); > + browserWindow.gCustomizeMode.setUIDensity(browserWindow.gUIDensity.MODE_NORMAL); > + }, > + nit, remove this blank line ::: browser/tools/mozscreenshots/mozscreenshots/extension/configurations/UIDensities.jsm:39 (Diff revision 2) > + > + }, > + > + }, > + nit, remove these blank lines.
Attachment #8922916 -
Flags: review+
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8922916 [details] Bug 1411339 - Configuration for different UI densities. https://reviewboard.mozilla.org/r/194088/#review200630 With jaws' issues fixed, I'm into this. Thanks, Rand!
Attachment #8922916 -
Flags: review?(mconley) → review+
Comment hidden (mozreview-request) |
Comment 13•7 years ago
|
||
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43aea4af4a20 Configuration for different UI densities. r=jaws,mconley
Comment 14•7 years ago
|
||
Shouldn't we actually schedule this to run on m-c? Either as part of primaryUI or some other browser_* in a directory?
Flags: needinfo?(mconley)
Comment 15•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/43aea4af4a20
Status: ASSIGNED → RESOLVED
Closed: 7 years ago → 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment 16•7 years ago
|
||
(In reply to Matthew N. [:MattN] (PM if requests are blocking you) from comment #14) > Shouldn't we actually schedule this to run on m-c? Either as part of > primaryUI or some other browser_* in a directory? Yep, filed bug 1416796 for this. Thanks!
Flags: needinfo?(mconley)
You need to log in
before you can comment on or make changes to this bug.
Description
•