View Single Post
Quote:
Originally Posted by Greg Jones View Post
With the clear button, the view bar settings revert back to what has been saved for the perspective that is active at the time.
That's a reasonable thing to expect the clear button to do—it's what I'd expect it to do—but that's not actually what it has been doing since 1.7: in 1.7, the moment you change a view bar option you drop out of your perspective, and if you press Clear when you're not in a perspective (i.e., the only time Clear is available) it takes you to a default view for that view mode.

1.6 didn't drop out of the perspective when you changed view options, so in 1.6 the Clear button did work as you describe. But not leaving the perspective caused its own set of issues, where people would change the view bar to something drastically different from the selected perspective (e.g., viewing completed items while in the Due perspective) but the window title and selected toolbar item would still indicate they were looking at "Due".

In 1.6 it also wasn't really clear how to leave a perspective to configure the default layout settings, which meant people would end up configuring columns for the wrong perspective, etc., and end up having to add the Due column over and over again (or giving up on it).

But I think I did prefer the 1.6 behavior overall, and maybe now that we have independent controls for restoring perspective layout, etc., it would be reasonable to bring that back. (By the way, if you want to show that view bar clear button again there's a hidden default: ShowViewBarClearButton. I'm just not sure it's worth it in its current state.)

Speaking of those restore layout controls in perspectives…

I think the layout controls need an important refinement: I think they should refer to whether a perspective uses a custom layout or uses your default layout, rather than whether they restore a layout at all or not. Right now, if you go to a perspective with a custom layout and then return to one which doesn't have one (e.g. Projects), you'll be viewing your non-customized perspective (Projects) with the old perspective's custom layout—rather than the default layout which you would see if you opened Projects in a new window. (And if you're not careful, you might accidentally turn that custom layout into your new default layout for all the rest of your perspectives.)