Pinned drive files are not selectable from open dialogs while offline |
||
Issue descriptionChrome Version: At least 67-70 OS: ChromeOS What steps will reproduce the problem? (1) In Drive, set a file as available offline (2) Disconnect the network (3) Use <c-o> from a tab to get an open dialog (4) Try to select the file from (1) What is the expected result? Open button is active, double clicking the file opens it. What happens instead? Open button is inactive, double clicking does nothing. The dialog decides whether the open button is active before checking whether the file is available offline, causing it to never be active for files in Drive while offline.
,
Aug 24
,
Aug 27
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5082949478bb77009d6f48f83bb498a1b7764133 commit 5082949478bb77009d6f48f83bb498a1b7764133 Author: Sam McNally <sammc@chromium.org> Date: Mon Aug 27 07:50:29 2018 Add tests for selecting Drive files while offline. The file manager integration tests currently have no coverage for offline Drive. Add tests to ensure the file chooser dialog allows the selection of Drive files that are available offline while offline. These tests only run with DriveFS enabled due to the lack of controls available to set up the test scenarios with the existing Drive sync client. Bug: 876973 Change-Id: I81e39fba868a073fd82a457004700bb0ebb566ec Reviewed-on: https://chromium-review.googlesource.com/1189515 Commit-Queue: Sam McNally <sammc@chromium.org> Reviewed-by: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#586208} [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/chrome/browser/chromeos/file_manager/file_manager_browsertest.cc [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/chrome/browser/chromeos/file_manager/file_manager_browsertest_base.cc [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/chromeos/components/drivefs/fake_drivefs.cc [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/chromeos/components/drivefs/fake_drivefs.h [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/ui/file_manager/file_manager/foreground/js/dialog_action_controller.js [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/ui/file_manager/integration_tests/file_manager/file_dialog.js [modify] https://crrev.com/5082949478bb77009d6f48f83bb498a1b7764133/ui/file_manager/integration_tests/test_util.js |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Aug 23