Issue 2290: window placement strategy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 2290: window placement strategy

jannik laval
Hi all,

I made a setting for placement strategy.
By default, it is reversed stragger (which is the one by default since Pharo exists).
And I create one I have named "Cascade", which place the new window above the current active window, or if there is no active window, the window is placed at the cursor position.

The change is available in SLICE-Issue-2290-windowsStrategy.
The setting is available in the SettingBrowser in Appearance>Morphic>Windows>Window position strategy.

Now, it is possible to create new strategy positions by creating a new strategy in RealEstateAgent (category strategy - there is also three strategies), and by modifying the method RealEstateAgent >>usedStrategySettingsOn: to add an entry in the menu.

I hope that this change will be integrated in 1.2.

Cheers,
---
Jannik Laval


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Issue 2290: window placement strategy

Stéphane Ducasse
Thanks jannik I will have a look

On Jun 12, 2010, at 9:27 PM, Laval Jannik wrote:

> Hi all,
>
> I made a setting for placement strategy.
> By default, it is reversed stragger (which is the one by default since Pharo exists).
> And I create one I have named "Cascade", which place the new window above the current active window, or if there is no active window, the window is placed at the cursor position.
>
> The change is available in SLICE-Issue-2290-windowsStrategy.
> The setting is available in the SettingBrowser in Appearance>Morphic>Windows>Window position strategy.
>
> Now, it is possible to create new strategy positions by creating a new strategy in RealEstateAgent (category strategy - there is also three strategies), and by modifying the method RealEstateAgent >>usedStrategySettingsOn: to add an entry in the menu.
>
> I hope that this change will be integrated in 1.2.
>
> Cheers,
> ---
> Jannik Laval
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Issue 2290: window placement strategy

Mariano Martinez Peck
Hi Jannik. I have just test them and I really like them. Regardless the particular strategy, using a strategy, and thus being able to easily swich and extend, is just great.

Now, a couple of observations:

- It is not completely clear for me what it is each option. What is standard? if tomorrow the standard change?   I would try to avoid such names and put something better. Random ?  I don't know.
What is reverse stragger ??

- I think it should be also documented if possible in the settings browser, what does each option mean.

- I think that for 1.2 we are quite free to change and do what we want. So, we can change the default. I think cascade is the better. What I really think is that we need something deterministic. Fixed. Not random. Not surprise. Maybe not all of you agree. I would like to hear other opinions.

Cheers

Mariano

On Sat, Jun 12, 2010 at 9:51 PM, Stéphane Ducasse <[hidden email]> wrote:
Thanks jannik I will have a look

On Jun 12, 2010, at 9:27 PM, Laval Jannik wrote:

> Hi all,
>
> I made a setting for placement strategy.
> By default, it is reversed stragger (which is the one by default since Pharo exists).
> And I create one I have named "Cascade", which place the new window above the current active window, or if there is no active window, the window is placed at the cursor position.
>
> The change is available in SLICE-Issue-2290-windowsStrategy.
> The setting is available in the SettingBrowser in Appearance>Morphic>Windows>Window position strategy.
>
> Now, it is possible to create new strategy positions by creating a new strategy in RealEstateAgent (category strategy - there is also three strategies), and by modifying the method RealEstateAgent >>usedStrategySettingsOn: to add an entry in the menu.
>
> I hope that this change will be integrated in 1.2.
>
> Cheers,
> ---
> Jannik Laval
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Issue 2290: window placement strategy

jannik laval
Hi Mariano,
Thank you for your remarks

On Jun 21, 2010, at 15:23 , Mariano Martinez Peck wrote:

Hi Jannik. I have just test them and I really like them. Regardless the particular strategy, using a strategy, and thus being able to easily swich and extend, is just great.

Now, a couple of observations:

- It is not completely clear for me what it is each option. What is standard? if tomorrow the standard change?   I would try to avoid such names and put something better. Random ?  I don't know.
What is reverse stragger ??

You're right, I use the name already existing in Squeak/Pharo.
We should change them.

Reverse Stragger is the one used in Squeak/Pharo: random, which is not a random but a placement where it is the better (hummmm, not sure it works fine).
Standard is a placement where the screen is divided in four space (top left, top right, bottom left, bottom right) and window are placed in each of these spaces.



- I think it should be also documented if possible in the settings browser, what does each option mean.

Yes, I will do this, or someone with a better english :)))


- I think that for 1.2 we are quite free to change and do what we want. So, we can change the default. I think cascade is the better. What I really think is that we need something deterministic. Fixed. Not random. Not surprise. Maybe not all of you agree. I would like to hear other opinions.

Again, you're right.
I make the cascade setting because the other are not easy to use when I use my big screen.
Reverse Stragger is cool on a 15 inches, but on a larger screen it is really difficult.

I leave it to Reverse Stragger to not change the habit.
Now, I think Cascade is better.

Other opinions ?

Cheers,
Jannik


Cheers

Mariano

On Sat, Jun 12, 2010 at 9:51 PM, Stéphane Ducasse <[hidden email]> wrote:
Thanks jannik I will have a look

On Jun 12, 2010, at 9:27 PM, Laval Jannik wrote:

> Hi all,
>
> I made a setting for placement strategy.
> By default, it is reversed stragger (which is the one by default since Pharo exists).
> And I create one I have named "Cascade", which place the new window above the current active window, or if there is no active window, the window is placed at the cursor position.
>
> The change is available in SLICE-Issue-2290-windowsStrategy.
> The setting is available in the SettingBrowser in Appearance>Morphic>Windows>Window position strategy.
>
> Now, it is possible to create new strategy positions by creating a new strategy in RealEstateAgent (category strategy - there is also three strategies), and by modifying the method RealEstateAgent >>usedStrategySettingsOn: to add an entry in the menu.
>
> I hope that this change will be integrated in 1.2.
>
> Cheers,
> ---
> Jannik Laval
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

---
Jannik Laval


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project