Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Raphaël Quinet
On Tue, 25 Nov 2003 15:31:25 +0100, Simon Budig <[EMAIL PROTECTED]> wrote:
> Sven Neumann ([EMAIL PROTECTED]) wrote:
> > Switching to activate-on-focus as the default setting seems to make
> > sense given that most desktops seem to be using "click-to-focus" by
> > default these days. We used to set this to yes for Win32 only but I'd
> > like to avoid different default settings if possible.
> 
>   * (activate-on-focus yes) breaks in the focus-follows-mouse model,
> since the active view changes randomly when you just move your mouse
> across the Screen, containing multiple image views.

This is interesting...  I use a WM with focus-follows-mouse, and I think
that (activate-on-focus yes) is more useful than (activate-on-focus no),
as long as I do not have too many image windows open.  If I only have
two or three image windows open and I want to do something in the layers
dialog for each of them, I find that I can select the right image
faster by just moving over it and then back to the layers dialog instead
of having to click or type a key in the image window or select the right
image from the drop-down list.  This does not work so well when there
are many images stacked on top of each other so I agree that this option
cannot be used all the time for the focus-follows-mouse model, but I
would not call this feature "broken" in all cases.

>   * (activate-on-focus no)  works for both models,

It doesn't work so well for the click-to-focus model.  Those who use this
kind of WMs (this is the default on most platforms and almost the only
choice on Windows) are used to cliking on the title bar of a window to
activate it because clicking in the window itself could trigger some
unwanted action.  For those users, the option (activate-on-focus no)
makes the GIMP appear to be "broken" because clicking on the title bar or
window decoration does not work as in all other applications.  As you
know, we even got a bug report about this: bug #109527.

So I think that the defaults proposed by Sven are appropriate for the
majority of our users.  I also think that it would be nicer to set these
defaults according to what focus model is used by the current WM, but
this is not easy to do.  I have some ideas about how to do that (not in
all cases, but in a way that would be "good enough") and I hope to be
able to integrate this improved installation step into GIMP 2.2.

-Raphaël
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Sven Neumann
Hi,

Henrik Brix Andersen <[EMAIL PROTECTED]> writes:

> On Tue, 2003-11-25 at 15:50, Joao S. O. Bueno wrote:
> > I was making a title in Gimp 1.3.23, and was using 140pt font.
> > Suddenly, by accident I flipped the mouse wheel over the "unit" 
> > listbox ..it changed from PT to IN  hell came over on my desktop.
> > before I could do much, the keyboard froze as the GIMP tried to 
> > allocate more memory than avaliable in the whole city - I managed to 
> > xkill the gimp, but the X server remained frozen. I had to remote 
> > login and kill the X process.
> 
> I believe this is a known issue:
> http://bugzilla.gnome.org/show_bug.cgi?id=85103

No, that is the wrong bug number. The related bug is #118356 as well
as #122707. The bug you mentioned here doesn't affect GIMP-1.3 at all
and I just changed the milestone accordingly.


Sven

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Sven Neumann
Hi,

"Joao S. O. Bueno" <[EMAIL PROTECTED]> writes:

> I had an Horrible Experience (tm) regarding this yesterday.
> 
> I was making a title in Gimp 1.3.23, and was using 140pt font.
> Suddenly, by accident I flipped the mouse wheel over the "unit" 
> listbox ..it changed from PT to IN  hell came over on my desktop.
> before I could do much, the keyboard froze as the GIMP tried to 
> allocate more memory than avaliable in the whole city - I managed to 
> xkill the gimp, but the X server remained frozen. I had to remote 
> login and kill the X process.
> 
> Since this the whole issue is not strictly related to activate on 
> focus, but on memory consumption by the Text plugin, Sven, do you 
> think it would be feasible to put a warning on the font-size 
> selectors, just as there are when one tries to create an image too 
> large?

This is completely unrelated to the discussion, so please keep it out
of it. There's a bug report about it already and it will be taken care
of before 2.0.


Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Henrik Brix Andersen
On Tue, 2003-11-25 at 15:50, Joao S. O. Bueno wrote:
> I was making a title in Gimp 1.3.23, and was using 140pt font.
> Suddenly, by accident I flipped the mouse wheel over the "unit" 
> listbox ..it changed from PT to IN  hell came over on my desktop.
> before I could do much, the keyboard froze as the GIMP tried to 
> allocate more memory than avaliable in the whole city - I managed to 
> xkill the gimp, but the X server remained frozen. I had to remote 
> login and kill the X process.

I believe this is a known issue:
http://bugzilla.gnome.org/show_bug.cgi?id=85103

./Brix
-- 
Henrik Brix Andersen <[EMAIL PROTECTED]>

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Joao S. O. Bueno
On Tuesday 25 November 2003 11:42, Tino Schwarze wrote:


>
> Although I have a strong opinion against click-to-focus, it's
> probably the most widely used default and "expert users" are used
> to changing this setting anyway, so the default makes sense.
>
> However, it would be great, if the window manager's focus policy
> could be determined and the default changed acccordingly (since
> activate-on-focus will complicate things with a point-to-focus
> policy)


I had an Horrible Experience (tm) regarding this yesterday.

I was making a title in Gimp 1.3.23, and was using 140pt font.
Suddenly, by accident I flipped the mouse wheel over the "unit" 
listbox ..it changed from PT to IN  hell came over on my desktop.
before I could do much, the keyboard froze as the GIMP tried to 
allocate more memory than avaliable in the whole city - I managed to 
xkill the gimp, but the X server remained frozen. I had to remote 
login and kill the X process.

Since this the whole issue is not strictly related to activate on 
focus, but on memory consumption by the Text plugin, Sven, do you 
think it would be feasible to put a warning on the font-size 
selectors, just as there are when one tries to create an image too 
large?




> Bye, Tino.

-- 

regards,

JS
-><-

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Simon Budig
Sven Neumann ([EMAIL PROTECTED]) wrote:
> The question I'd like to bring up is what should be the default values
> for these. After quite some discussions I now propose the following:
> 
[...]
>  (activate-on-focus yes)
> 
[...]
> Switching to activate-on-focus as the default setting seems to make
> sense given that most desktops seem to be using "click-to-focus" by
> default these days. We used to set this to yes for Win32 only but I'd
> like to avoid different default settings if possible.
> 
> So, if you have a strong opinion against this change, please speak up
> now.

I have a strong opinion on that, mainly because I put a lot of thought
and discussion effort into the active-view idea when I proposed it.

It basically boils down to:

  * (activate-on-focus yes) breaks in the focus-follows-mouse model,
since the active view changes randomly when you just move your mouse
across the Screen, containing multiple image views.

  * (activate-on-focus no)  works for both models,

While I agree that (activate-on-focus yes) works better for the
click-to-focus model, we should avoid shipping a default with a
broken behaviour on focus-follows-mouse models.

Bye,
Simon

-- 
  [EMAIL PROTECTED]   http://www.home.unix-ag.org/simon/
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Sven Neumann
Hi,

[EMAIL PROTECTED] (Tino Schwarze) writes:

> However, it would be great, if the window manager's focus policy
> could be determined and the default changed acccordingly (since
> activate-on-focus will complicate things with a point-to-focus
> policy)

Sure, but as far as I know there is no well-established and portable
way of getting this piece of information.


Sven

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread David Neary
Hi,

Sven Neumann wrote:
> The question I'd like to bring up is what should be the default values
> for these. After quite some discussions I now propose the following:
> 
>  (toolbox??window??type normal)
>  (dock??window??type normal)
>  (activate??on??focus yes)

I agree wholehearedly. 

Cheers,
Dave.

-- 
   David Neary,
   Lyon, France
  E-Mail: [EMAIL PROTECTED]
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Default values for window management settings

2003-11-25 Thread Tino Schwarze
On Tue, Nov 25, 2003 at 01:33:15PM +0100, Sven Neumann wrote:

> The question I'd like to bring up is what should be the default values
> for these. After quite some discussions I now propose the following:
> 
>  (toolbox¡¾window¡¾type normal)
>  (dock¡¾window¡¾type normal)
>  (activate¡¾on¡¾focus yes)
> 
> This means that we wouldn't set the utility window type hint any
> longer (at least not by default). It was causing a lot of confusion
> and whoever liked the special treatment that some window managers give
> these windows can easily change this in the preferences dialog.
> 
> Switching to activate-on-focus as the default setting seems to make
> sense given that most desktops seem to be using "click-to-focus" by
> default these days. We used to set this to yes for Win32 only but I'd
> like to avoid different default settings if possible.

Although I have a strong opinion against click-to-focus, it's probably
the most widely used default and "expert users" are used to changing
this setting anyway, so the default makes sense.

However, it would be great, if the window manager's focus policy could
be determined and the default changed acccordingly (since
activate-on-focus will complicate things with a point-to-focus policy)

Bye, Tino.

-- 
 * LINUX - Where do you want to be tomorrow? *
  http://www.tu-chemnitz.de/linux/tag/
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] Default values for window management settings

2003-11-25 Thread Sven Neumann
Hi,

as discussed in bug #115092, we have recently added some gimprc
settings that allow to tune how GIMP interacts with the window
manager.

Here's what the gimprc manpage says about the new settings:

 (toolbox‐window‐type normal)
   
  The window type hint that is set on the toolbox. This may affect
  how  your  window manager decorates and handles the toolbox
  window.  Possible values are normal and utility.
 
 (dock‐window‐type utility)

  The window type hint that is  set  on  dock  windows.  This  may
  affect  the  way  your window manager decorates and handles dock
  windows.  Possible values are normal and utility.

 (activate‐on‐focus no)
 
  When  enabled,  an  image  will become the active image when its
  image window receives the focus. This is useful for window
  managers using "click to focus". Possible values are yes and no.

The question I'd like to bring up is what should be the default values
for these. After quite some discussions I now propose the following:

 (toolbox‐window‐type normal)
 (dock‐window‐type normal)
 (activate‐on‐focus yes)

This means that we wouldn't set the utility window type hint any
longer (at least not by default). It was causing a lot of confusion
and whoever liked the special treatment that some window managers give
these windows can easily change this in the preferences dialog.

Switching to activate-on-focus as the default setting seems to make
sense given that most desktops seem to be using "click-to-focus" by
default these days. We used to set this to yes for Win32 only but I'd
like to avoid different default settings if possible.

So, if you have a strong opinion against this change, please speak up
now.


Sven

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer