[haiku-development] Re: App idea: Multilaunch / workspace manager

  • From: Johan Aires Rastén <johan@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 2 Nov 2009 21:40:20 +0100

On Mon, Nov 2, 2009 at 9:22 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

>
> Most of this would already be solved by supporting session management.
> Which is planned, but needs a bit more than an external application.
>
> Is there anywhere I could read more about this planned feature?

>
>
> I would really like to hear some good arguments for this. It may work
> with MDI interfaces, but that's not really what you have in Haiku.
> Also, the way it is implemented in, say, Ubuntu, is just annoying: you
> never know where a new window will pop up. The only thing the system
> almost always manages to do is to put the window in front of some other
> window you don't want it to cover. Thanks, but no thanks.
>
>
Here's what I was thinking:

There are several possible ways of deciding where to put a new window. The
ones I can think of now are
- Fixed position decided by the developers.
- Centred.
- Under mouse pointer.
- Last position where it was closed.
- Several algorithms for "smart" placement.

I think they all have pros and cons so it comes down to a matter of taste.
Then why not let the OS handle positioning so that the user is free to
select what he likes best, and get that behaviour consistently from all
applications? If it's all up to the app developer it will probably lead to
everybody doing it their own way, or in best case just a lot of duplicated
code.

Personally I'd like to try an algorithm that goes through the window list,
starting with the topmost, and tries to avoid covering at least the ones
that recently had focus but I'm not saying that I want to force it on
everybody else.

IMO fixed coordinates hardcoded by the developer is the worst solution.
What's a good position on 1680*1050 is probably not on 800*600 etc and if I
open several copies of the same app they'll end up on top of eachother.

I really don't like Windows' way of remembering last position and size of
windows. Sometimes I need several notepads and/browsers open at once, often
resulting in at least one window resized to some strange proportions. If
that happens to be the last instance I close I'll get lots of windows that
size the next time I have to work.

Other related posts: