Harmony: update TreeView |
||||||||||||
Issue descriptionA representative treeview is in Site Settings -> Cookies. Notable differences: * Views version is missing expand/collapse animations for tree branches. * Selecting a row selects just the row's text instead of the entire row. We need some mocks to figure out what this should look like.
,
Jun 8 2016
I have a CL up to add a background: https://codereview.chromium.org/2050813002/ Still to do: * Expand/collapse animations * Different icons?
,
Jun 8 2016
,
Jun 8 2016
As of patchset 1 of that CL.
,
Jun 9 2016
Per shrike@, we should switch to IDR_BOOKMARK_BAR_FOLDER for the folder icons from what we have now.
,
Aug 23 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/df230152824bb04c6a7d520ecc77e24b9c02eaa1 commit df230152824bb04c6a7d520ecc77e24b9c02eaa1 Author: ellyjones <ellyjones@chromium.org> Date: Tue Aug 23 16:25:21 2016 MacViews: support backgrounds for selected rows This change adds support to TreeView for drawing a background on the entire selected row instead of just behind the label of the selected row, controlled by PlatformStyle::kTreeViewSelectsEntireRow. Incidentally, this CL fixes the views_unittests build with gn so that this CL can be tested. This CL is heavily inspired by https://codereview.chromium.org/1364423002/. BUG=605589 Review-Url: https://codereview.chromium.org/2050813002 Cr-Commit-Position: refs/heads/master@{#413755} [modify] https://crrev.com/df230152824bb04c6a7d520ecc77e24b9c02eaa1/ui/views/controls/tree/tree_view.cc [modify] https://crrev.com/df230152824bb04c6a7d520ecc77e24b9c02eaa1/ui/views/controls/tree/tree_view.h [modify] https://crrev.com/df230152824bb04c6a7d520ecc77e24b9c02eaa1/ui/views/style/platform_style.cc [modify] https://crrev.com/df230152824bb04c6a7d520ecc77e24b9c02eaa1/ui/views/style/platform_style.h [modify] https://crrev.com/df230152824bb04c6a7d520ecc77e24b9c02eaa1/ui/views/style/platform_style_mac.mm
,
Oct 17 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433 commit 8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433 Author: ellyjones <ellyjones@chromium.org> Date: Mon Oct 17 12:21:42 2016 views: add focus ring to TreeView When TreeView is focused, there should be a focus ring around the control, at least on Mac. This is mildly complicated because TreeViews are often hosted in a ScrollView, and in that case the focus ring should go around the ScrollView instead of the TreeView so the focus ring does not scroll. BUG=605589, 647515 Review-Url: https://codereview.chromium.org/2411693002 Cr-Commit-Position: refs/heads/master@{#425662} [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/controls/focus_ring.cc [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/controls/focus_ring.h [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/controls/scroll_view.cc [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/controls/scroll_view.h [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/controls/tree/tree_view.cc [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/controls/tree/tree_view.h [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/style/platform_style.cc [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/style/platform_style.h [modify] https://crrev.com/8cbab2b4e38a3eeb48d76f7cf839d18d6a0fc433/ui/views/style/platform_style_mac.mm
,
Oct 19 2016
Tacking a few things on and cc'ing shrike@ as requested, let me know if I should make separate bugs instead. - option+arrow should recursively expand/collapse rows - A row's icon shouldn't change depending on whether it's selected. I think it's valid but uncommon to have different icons for closed/open. - Multiple selection with shift/command should be possible.
,
Oct 19 2016
> - A row's icon shouldn't change depending on whether it's selected. I think it's valid but uncommon to have different icons for closed/open. This is Issue 649003 (for the record).
,
Dec 8 2016
,
Mar 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7742bafdff7eb65a0528f68a37545da0a89be113 commit 7742bafdff7eb65a0528f68a37545da0a89be113 Author: ellyjones <ellyjones@chromium.org> Date: Thu Mar 23 21:18:38 2017 views: don't use open-folder icons in TreeView on Mac Native Cocoa TreeViews do not have this behavior, so disable it in Views TreeViews on Mac also. BUG=605589 Review-Url: https://codereview.chromium.org/2772613003 Cr-Commit-Position: refs/heads/master@{#459222} [modify] https://crrev.com/7742bafdff7eb65a0528f68a37545da0a89be113/ui/views/controls/tree/tree_view.cc [modify] https://crrev.com/7742bafdff7eb65a0528f68a37545da0a89be113/ui/views/style/platform_style.cc [modify] https://crrev.com/7742bafdff7eb65a0528f68a37545da0a89be113/ui/views/style/platform_style.h [modify] https://crrev.com/7742bafdff7eb65a0528f68a37545da0a89be113/ui/views/style/platform_style_mac.mm
,
Aug 2 2017
I don't know how to triage MacViews in depth, so not changing owner/priority. This hasn't been touched in a while; please retriage.
,
Aug 2 2017
This is not a MacViews-specific bug, but it was wrongly tagged as one. This bug is actually for deciding what Harmony treeviews ought to look like. I'm happy to do the needed control work but I think we need UX input.
,
Aug 2 2017
Can you write up any specific questions there are about TreeView appearance? I didn't realize we had decisions to make here.
,
Sep 20 2017
Raising priority of this because it's not clear to me what action needs taking here, so I don't know how to triage. Is all work here being done under bug 610428 (so this should just be closed)? Is there further work beyond that, but it can be punted to phase 2, so this should be P3? Elly, I think you have the most engineering context on this, so leaving this assigned to you.
,
Sep 22 2017
The needful bits of TreeView for phase 1 are done already. This bug should stay open, because I think UX wants to rethink how TreeViews work a bit, but there's no further phase 1 work, so I'll Pri-3 it.
,
Mar 29 2018
MacViews triage: this is a MacViews-Controls bug, but M-X.
,
Apr 13 2018
,
Jul 21
,
Nov 27
***UI Mass Triage *** Adding labels for expert review. |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by ellyjo...@chromium.org
, Apr 21 2016