|
|
Chromium Code Reviews|
Created:
4 years, 2 months ago by mohsen Modified:
4 years, 1 month ago Reviewers:
James Cook CC:
chromium-reviews, kalyank, sadrul Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix spacing issues on Ash shelf
Following issues with shelf spacing are fixed:
- Items move to overflow too soon: this happens because the space
allocated to separate panel and non-panel items is equal to a button
width. Changed it to a regular spacing between buttons;
- Extra spacing at the end of shelf items, before tray items;
- Discrepancy between ideal bounds calculated for items moved to the
overflow shelf and the overflow button (they should be the same such
that minimization animation for items in the overflow shelf ends at
the overflow button or bubble for panel items in the overflow shelf
points to the overflow button);
- Possibility of panel app icons overlapping with overflow button;
- Extra space before overflow button when it is the only item shown on
the shelf (which happens when the launcher button is moved to the
overflow shelf).
With these changes, showing system update icon is not necessary anymore
for some tests to pass. The hack is removed and the disabled test is
re-enabled (see https://crbug.com/619344 and https://crbug.com/625671).
BUG=634128, 619344, 625671
TEST=manual
Committed: https://crrev.com/888d1c0b366685696e5f4c73775575cc61bdab87
Cr-Commit-Position: refs/heads/master@{#433792}
Patch Set 1 #Patch Set 2 : Fixed visible bounds tests #Patch Set 3 : Rebased #Patch Set 4 : Skipped failing tests on Windows #
Total comments: 1
Patch Set 5 : Re-enabled disabled test #
Messages
Total messages: 58 (51 generated)
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:20001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Exceeded global retry quota
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
Patchset #4 (id:80001) has been deleted
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #4 (id:100001) has been deleted
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was unchecked by mohsen@chromium.org
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #4 (id:120001) has been deleted
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #4 (id:140001) has been deleted
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Fix spacing issues on shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). BUG=634128 ========== to ========== Fix spacing issues on shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). BUG=634128 TEST=manual ==========
Description was changed from ========== Fix spacing issues on shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). BUG=634128 TEST=manual ========== to ========== Fix spacing issues on shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed (see crbug.com/619344). BUG=634128,619344 TEST=manual ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
mohsen@chromium.org changed reviewers: + jamescook@chromium.org
Please take a look... (for details about state of shelf spacing and overflow, please see https://docs.google.com/document/d/1R91NlX3Fw-TrxRmX-1KjIKYtLRtDxgR6UNsNJXMys...).
LGTM! (Can you put "ash" or "chromeos" in the CL title?) https://codereview.chromium.org/2384103003/diff/160001/ash/common/test/test_s... File ash/common/test/test_system_tray_delegate.h (left): https://codereview.chromium.org/2384103003/diff/160001/ash/common/test/test_s... ash/common/test/test_system_tray_delegate.h:24: static void SetSystemUpdateRequired(bool required); Hooray for getting rid of this!
Description was changed from ========== Fix spacing issues on shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed (see crbug.com/619344). BUG=634128,619344 TEST=manual ========== to ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed (see crbug.com/619344). BUG=634128,619344 TEST=manual ==========
The CQ bit was checked by mohsen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by mohsen@chromium.org
Description was changed from ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed (see crbug.com/619344). BUG=634128,619344 TEST=manual ========== to ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed (see crbug.com/619344). BUG=634128,619344,625671 TEST=manual ==========
The CQ bit was checked by mohsen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed (see crbug.com/619344). BUG=634128,619344,625671 TEST=manual ========== to ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed and the disabled test is re-enabled (see https://crbug.com/619344). BUG=634128,619344,625671 TEST=manual ==========
Description was changed from ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed and the disabled test is re-enabled (see https://crbug.com/619344). BUG=634128,619344,625671 TEST=manual ========== to ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed and the disabled test is re-enabled (see https://crbug.com/619344 and https://crbug.com/625671). BUG=634128,619344,625671 TEST=manual ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
I had forgotten to re-enable the test that was using the now removed SetSystemUpdateRequired() hack and was disabled because of flakiness. Re-enabled now.
The CQ bit was checked by mohsen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from jamescook@chromium.org Link to the patchset: https://codereview.chromium.org/2384103003/#ps180001 (title: "Re-enabled disabled test")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1479790388979830,
"parent_rev": "f7f1220bd11f1d6249e9457eda15b80522c2b479", "commit_rev":
"0f2a81b5c94e86d8d94f0b526dd3f0fa2822e96a"}
Message was sent while issue was closed.
Committed patchset #5 (id:180001)
Message was sent while issue was closed.
Description was changed from ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed and the disabled test is re-enabled (see https://crbug.com/619344 and https://crbug.com/625671). BUG=634128,619344,625671 TEST=manual ========== to ========== Fix spacing issues on Ash shelf Following issues with shelf spacing are fixed: - Items move to overflow too soon: this happens because the space allocated to separate panel and non-panel items is equal to a button width. Changed it to a regular spacing between buttons; - Extra spacing at the end of shelf items, before tray items; - Discrepancy between ideal bounds calculated for items moved to the overflow shelf and the overflow button (they should be the same such that minimization animation for items in the overflow shelf ends at the overflow button or bubble for panel items in the overflow shelf points to the overflow button); - Possibility of panel app icons overlapping with overflow button; - Extra space before overflow button when it is the only item shown on the shelf (which happens when the launcher button is moved to the overflow shelf). With these changes, showing system update icon is not necessary anymore for some tests to pass. The hack is removed and the disabled test is re-enabled (see https://crbug.com/619344 and https://crbug.com/625671). BUG=634128,619344,625671 TEST=manual Committed: https://crrev.com/888d1c0b366685696e5f4c73775575cc61bdab87 Cr-Commit-Position: refs/heads/master@{#433792} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/888d1c0b366685696e5f4c73775575cc61bdab87 Cr-Commit-Position: refs/heads/master@{#433792} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
