[haiku-commits] Re: haiku: hrev50518 - src/kits/tracker

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 31 Aug 2016 18:59:41 +0200

On Wed, Aug 31, 2016 at 09:37:04AM -0700, John Scipione wrote:

The window should get optimal size on "zoom" to cover its contents, not some
artistic size.

This is subjective, which is why it is hard for me to argue with it.

From the HIG:

Zooming is similar to resizing, but there are differences in which
should permit zooming and how it should be done. Utility windows, for
e xample, are not intended to be the main focus of the program, so they
should not allow zooming even though they should allow resizing except
where inappropriate. Document windows should expand to fill the largest
sensible space to allow editing. Often times this is the entire screen,
but some for some programs, this doesn't make sense. Word processors,
for example, will probably move the document window to the top of the
screen, resize the width to the maximum width of the current document's
view, and resize the height to the bottom of the screen.

I personally find this too much biased towards the "fill the entire
screen" solution, I prefer the zoom button to adjust to fit the
contents. In the case of Tracker, that would be fitting the list view
width and as much height as required to show everything.

However, when not in single window browsing mode, one tends to have dozens
if not hundreds of Tracker windows open. Space is very precious in this
case.

If you have dozens of Tracker windows open you're doing something
wrong, even in spatial mode.

I don't see why, it's a great way to keep several folders open and
quickly accessible. I use this a lot and drag folders to Terminal to
quickly navigate to them, for example.

Managing multiple windows this way is the main use of spatial mode,
actually, and what makes it better - for my uses - than the single
window mode and continuously moving up and down in the directory
hierarchy (I can do that more efficiently from Terminal using the cd
command).

Also, open Tracker windows are one of the few things kept accross
reboots, so leaving them open is a kind of cheap session management. You
can use them to remember what you were doing when shuting down the
computer.


I already got shut down myself when I tried to make the BAlert more
generously layouted, although there isn't really any good reasoning to not
do that there - actually some Augustin just reverted my change without even
having a discussion about it. Now that I remember that I still feel the
grudge ;-)

I looked for the reverted commit in the log but couldn't find it. This
could be worth reconsidering.

e9c7257afb1c888992580c9b8b386d7adcd368e8

Some discussion here: https://dev.haiku-os.org/ticket/12273

-- 
Adrien.

Other related posts: