Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Issue 1608093002: Ensure no-hosts view doesn't appear while loading (Closed)

Created:
4 years, 11 months ago by rkjnsn
Modified:
4 years, 11 months ago
Reviewers:
Lambros, joedow
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure no-hosts view doesn't appear while loading Update the code handling switching out the various host-list-related views to handle the three views (loading, no hosts, and host chooser) directly instead of setting the no-hosts view as the chooser's empty view. The two-state empty view functionality doesn't appear to be designed to be used along side a third modal loading state. This fixes an issue where both the loading spinner and the "There's nothing to connect to" message could appear simultaneously under certain conditions. BUG=566177 Committed: https://crrev.com/cb4601ae1cecf4a7d33a65df53c5c35f180129fe Cr-Commit-Position: refs/heads/master@{#371625}

Patch Set 1 : Ensure no-hosts view doesn't appear while loading #

Total comments: 2

Patch Set 2 : Split switchHostListView into two methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -16 lines) Patch
M remoting/android/java/src/org/chromium/chromoting/Chromoting.java View 1 9 chunks +29 lines, -16 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
rkjnsn
First attempt at fixing a bug at Google! Please take a look.
4 years, 11 months ago (2016-01-20 19:06:58 UTC) #3
Lambros
Thanks! I think this is a reasonable approach. https://codereview.chromium.org/1608093002/diff/20001/remoting/android/java/src/org/chromium/chromoting/Chromoting.java File remoting/android/java/src/org/chromium/chromoting/Chromoting.java (right): https://codereview.chromium.org/1608093002/diff/20001/remoting/android/java/src/org/chromium/chromoting/Chromoting.java#newcode158 remoting/android/java/src/org/chromium/chromoting/Chromoting.java:158: private ...
4 years, 11 months ago (2016-01-20 19:23:46 UTC) #4
rkjnsn
https://codereview.chromium.org/1608093002/diff/20001/remoting/android/java/src/org/chromium/chromoting/Chromoting.java File remoting/android/java/src/org/chromium/chromoting/Chromoting.java (right): https://codereview.chromium.org/1608093002/diff/20001/remoting/android/java/src/org/chromium/chromoting/Chromoting.java#newcode158 remoting/android/java/src/org/chromium/chromoting/Chromoting.java:158: private void switchHostListView(boolean loading) { On 2016/01/20 19:23:46, Lambros ...
4 years, 11 months ago (2016-01-20 19:39:41 UTC) #5
Lambros
On 2016/01/20 at 19:39:41, rkjnsn wrote: > https://codereview.chromium.org/1608093002/diff/20001/remoting/android/java/src/org/chromium/chromoting/Chromoting.java > File remoting/android/java/src/org/chromium/chromoting/Chromoting.java (right): > > https://codereview.chromium.org/1608093002/diff/20001/remoting/android/java/src/org/chromium/chromoting/Chromoting.java#newcode158 ...
4 years, 11 months ago (2016-01-20 22:03:21 UTC) #6
rkjnsn
On 2016/01/20 22:03:21, Lambros wrote: > Try to imagine what methods you would write if ...
4 years, 11 months ago (2016-01-20 22:32:34 UTC) #7
Lambros
On 2016/01/20 at 22:32:34, rkjnsn wrote: > On 2016/01/20 22:03:21, Lambros wrote: > > Try ...
4 years, 11 months ago (2016-01-20 22:53:56 UTC) #8
rkjnsn
On 2016/01/20 22:53:56, Lambros wrote: > On 2016/01/20 at 22:32:34, rkjnsn wrote: > > On ...
4 years, 11 months ago (2016-01-26 02:29:53 UTC) #9
Lambros
lgtm
4 years, 11 months ago (2016-01-26 18:28:07 UTC) #10
joedow
lgtm
4 years, 11 months ago (2016-01-26 22:43:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1608093002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1608093002/40001
4 years, 11 months ago (2016-01-26 22:54:30 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 11 months ago (2016-01-26 23:08:12 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 23:09:24 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cb4601ae1cecf4a7d33a65df53c5c35f180129fe
Cr-Commit-Position: refs/heads/master@{#371625}

Powered by Google App Engine
This is Rietveld 408576698