Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-18 Thread Tor Lillqvist
  On Sun, Aug 17, 2003 at 07:23:39PM +, Tor Lillqvist [EMAIL PROTECTED] wrote:
   Sorry if this is a silly question, but does the maximize button on
   modern X11 window managers behave differently than in Windows? Doesn't
   it always make the window fill the whole screen? 

Sorry, I was a bit confused, I now realize that not even on Windows
does the maximize button always maximize to fill the whole
screen. Most common counterexample: Console windows, they maximize
only in the vertical direction.

--tml


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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-18 Thread Sven Neumann
Hi,

On Mon, 2003-08-18 at 20:30, Tom Mraz wrote:

  Please file it against metacity.
 But don't hope for fix because Havoc won't allow to change
 this *#$! behaviour.

Well, I really don't see what The GIMP could do about this but of course
I might be missing something important. We don't disable the buttons and
the WM has all the hints it needs to detect that our dialogs are
resizeable. Did Havoc ever explain why metacity is behaving like this?


Sven

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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread Alan Horkan

On Sat, 16 Aug 2003, Sven Neumann wrote:

  I was playing around in Paint Shop Pro trying to see what it does well and
  what caught my interest today was that in seemingly every dialog window
  you are able to maximise the window unlike standard dialogs where this
  functionality is usually disabled/greyed out.
 
  This is more useful than it sounds, take for example the File Open Dialog.
  If you maximise the window the widgets reflow and the space with the
  document list exands to fit the avialable space (and I think the preview
  box expands too, but I dont have it in front of me right now).
 
  If the GIMP was to consider this feature would it require a whole lot of
  work to make sure the dialogs reflowed properly when maximised?
  (Keep in mind that users might be using text sizes larger than the
  defaults so static widget layouts are a really bad idea).

 In general all GIMP dialogs can be maximized and widgets reflow as you
 described. What are you talking about?

Sorry I took so long to reply, thank you for replying to my original
question.

I took a much closer more careful look at the GIMP 1.3.x on RedHat and the
short answer is yes most widgets do reflow as stated.  I'm quite impressed
actually, with the glaring excepting of Gfig most dialogs do resize as
they should.

The problem is that to resize the windows you need to grab the window edge
and drag, so this useful and worthwhile feature is wasted.
If a window can be resized then it really should have the Maximise Window
decoration (with the rare exception of a few message dialogs).  (Similarly
you there should probably be a minimise icon for any of the non modal
dialogs).

By the relatively simple step of making sure the maximize window
decoration is shown we can make this useful feature much more convenient
to use and easier to discover for new and old GIMP users.

I am using Gimp 1.3.x on RedHat 9 with is Gnome 2, the default Gnome 2
window mangager Metacity, and I have not ruled out the unlikely
possibility that this is the fault of metacity.

Sincerely

Alan Horkan
http://advogato.org/person/AlanHorkan/




PS You can ignore this next bit if you already understand what I mean.
I went to the trouble of writing these notes earlier and I feel I may as
well paste them here.


RedHat 9
(Gnome 2, using the default Gnome window manager, Metacity).

Dialogs that dont resize

New Dialog
  but not much point in making it resizable
Open Dialog
  does resize, so why doesn't it have the maximize window decoration?
Save
  does resize, so why doesn't it have the maximize window decoration?
Save As
  does resize, so why doesn't it have the maximize window decoration?

Send to Mail
  reflows, should have maximize window decoration but doesn't

Layers Dialog
  reflows and resizes, but still no window decoration.

Gfig does not resize.  The only way to resize gfig is to start gfig with a
differnt size of image.

The ImageMap plugin is one of the Few plugins that does actually have a
the Minimize and Maximise window decorations.

To make it explicitly clear:
Any window that can be resized, should have a maximise window decoration.
(Caveat: Almost any).

Since people have gone to the trouble of programming these Graphical User
Inteface for these items so well it should be made both explicitly clear
and obvious to users as well as easy to use this feature.

Why hide away useful features that actually make things easier and more
powerful?

- Alan H.

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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread Sven Neumann
Hi,

On Sun, 2003-08-17 at 19:05, Alan Horkan wrote:

 The problem is that to resize the windows you need to grab the window edge
 and drag, so this useful and worthwhile feature is wasted.
 If a window can be resized then it really should have the Maximise Window
 decoration (with the rare exception of a few message dialogs).  (Similarly
 you there should probably be a minimise icon for any of the non modal
 dialogs).

We certainly don't fiddle with the window decorations. It's entirely the
fault of your WM.


Sven


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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread Alan Horkan

On Sun, 17 Aug 2003, Sven Neumann wrote:

 Date: Sun, 17 Aug 2003 19:25:54 +0200
 From: Sven Neumann [EMAIL PROTECTED]
 To: Alan Horkan [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Gimp-developer] Allow Maximise in Dialogs,
  like in Paint Shop Pro 8

 Hi,

 On Sun, 2003-08-17 at 19:05, Alan Horkan wrote:

  The problem is that to resize the windows you need to grab the window edge
  and drag, so this useful and worthwhile feature is wasted.
  If a window can be resized then it really should have the Maximise Window
  decoration (with the rare exception of a few message dialogs).  (Similarly
  you there should probably be a minimise icon for any of the non modal
  dialogs).

 We certainly don't fiddle with the window decorations. It's entirely the
 fault of your WM.

Bet you Five Euro Havoc Pennington will disagree and that the GIMP should
be setting additional hints or suchlike.

The ImageMap plugin has the a maximise window decoration but very few
other windows do, so even if it is the Window managers fault the GIMP will
have some blame to shoulder too.  I think there is a distinction between a
dialog and a normal window that is not clearly defined somewhere.

I'll try and find a solution to this as you clearly dont have a problem
with the principle and it would shame to have a useful feature going to
waste because users fail to realise it is there.

I'll probalby file a bug report to keep track and help me remember.  I'll
assign it to myself, please dont close it invalid until I can properly
verify that the problem is not with the GIMP.

- Alan

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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread Tor Lillqvist
Sorry if this is a silly question, but does the maximize button on
modern X11 window managers behave differently than in Windows? Doesn't
it always make the window fill the whole screen? 

(Hmm, or is it so that even on Windows it is possible to make the
maximize button not always maximizing to the screen size, but to some
pre-set max size? If so, few applications seem to use this. Will have
to investigate.)

--tml


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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread Sven Neumann
Hi,

On Sun, 2003-08-17 at 21:04, Alan Horkan wrote:

 The ImageMap plugin has the a maximise window decoration but very few
 other windows do, so even if it is the Window managers fault the GIMP will
 have some blame to shoulder too.

The imagemap plug-in creates a TOPLEVEL window while most other GIMP
dialogs are of type DIALOG and I think this is correct. Any WM that
thinks that dialog windows shouldn't have minimise and maximize buttons
is probably on crack.

 I think there is a distinction between a dialog and a normal window
 that is not clearly defined somewhere.

Doesn't the WM spec define this? It should.

 I'll probalby file a bug report to keep track and help me remember.  I'll
 assign it to myself, please dont close it invalid until I can properly
 verify that the problem is not with the GIMP.

Please file it against metacity.


Sven

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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread pcg
On Sun, Aug 17, 2003 at 08:04:41PM +0100, Alan Horkan [EMAIL PROTECTED] wrote:
 Bet you Five Euro Havoc Pennington will disagree and that the GIMP should
 be setting additional hints or suchlike.

It already does, that is probably your problem.

 The ImageMap plugin has the a maximise window decoration but very few
 other windows do, so even if it is the Window managers fault the GIMP will
 have some blame to shoulder too.

No. The application simply states what it is, and your window manager
implements a policy around it. The app must not (and can not) override
the window managers idea of how he should decorate windows.

If you want additional decoration around some windows you have to find a
way to tell your window manager to do so, or find another window manager
that allows you to do that.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED]  |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread pcg
On Sun, Aug 17, 2003 at 07:23:39PM +, Tor Lillqvist [EMAIL PROTECTED] wrote:
 Sorry if this is a silly question, but does the maximize button on
 modern X11 window managers behave differently than in Windows? Doesn't
 it always make the window fill the whole screen? 

The maximize button does exactly what it was told to do (if you have a
maximize button :)

I have two, one that maximizes vertically and one that maximizes to the
whole screen, in both cases sans borders. Other window managers might act
differently and support more or less operations. Apart from some hints,
maximizing is not in any way special, it's just another resizing operation
to the application.

 (Hmm, or is it so that even on Windows it is possible to make the
 maximize button not always maximizing to the screen size, but to some
 pre-set max size? If so, few applications seem to use this. Will have

Applications on X11 can request a specific size (not a special maximised
size). Window managers can override that, but usually don't (if an app
says don't resize me it's usually better to comply, unless the user forces
the issue).

There is no standard protocol for requesting a maximize size (probably
there isn't one at all, but I do not know this). Implementing one is easy,
getting all the window managers to implement it is not so easy :)

I don't know exactly what you were fishing for, so I don't think I
provided a good answer. The main difference to windows is that window
managers have total control and provide their own policy on what
maximise/minimise etc. means.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED]  |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread Simon . Budig
Marc Lehmann ([EMAIL PROTECTED]) wrote:
 There is no standard protocol for requesting a maximize size (probably
 there isn't one at all, but I do not know this). Implementing one is easy,
 getting all the window managers to implement it is not so easy :)

The Window Size Hints (XA_WM_NORMAL_HINTS) that an application provides
for the window manager not only have base_(width|height) and
min_(width|height), they also have max_width and max_height fields.
(also interesting is the (min|max)_aspect...)

However, given scalable fonts this rarely is useful and I am unsure
about the support in the various toolkits and windowmanagers. I am also
unaware of any programs using it.

So, there *is* a standard protocol already...  :-)

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] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-17 Thread Christopher W. Curtis
On 08/17/03 15:04, Alan Horkan wrote:
 On Sun, 17 Aug 2003, Sven Neumann wrote:
 On Sun, 2003-08-17 at 19:05, Alan Horkan wrote:

  The problem is that to resize the windows you need to grab the window edge
  and drag, so this useful and worthwhile feature is wasted.
  If a window can be resized then it really should have the Maximise Window
  decoration (with the rare exception of a few message dialogs).  (Similarly
  you there should probably be a minimise icon for any of the non modal
  dialogs).

 We certainly don't fiddle with the window decorations. It's entirely the
 fault of your WM.
 
 Bet you Five Euro Havoc Pennington will disagree and that the GIMP should
 be setting additional hints or suchlike.

For what it's worth, kwm (the KDE window manager) puts the maximize
button on every dialog that I tried, except for the new image dialog -
even dialogs that are menu tear-offs.  Maximizing the menu tearoff does
not actually maximize it though, which makes sense to me, given how most
of the other dialogs resize themselves when maximized.

Though I don't see this as being much of an issue personally, the KDE
window manager handles it as you seem to expect.

Chris

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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-16 Thread Sven Neumann
Hi,

On Tue, 2003-08-05 at 21:00, Alan Horkan wrote:

 I was playing around in Paint Shop Pro trying to see what it does well and
 what caught my interest today was that in seemingly every dialog window
 you are able to maximise the window unlike standard dialogs where this
 functionality is usually disabled/greyed out.
 
 This is more useful than it sounds, take for example the File Open Dialog.
 If you maximise the window the widgets reflow and the space with the
 document list exands to fit the avialable space (and I think the preview
 box expands too, but I dont have it in front of me right now).
 
 If the GIMP was to consider this feature would it require a whole lot of
 work to make sure the dialogs reflowed properly when maximised?
 (Keep in mind that users might be using text sizes larger than the
 defaults so static widget layouts are a really bad idea).

In general all GIMP dialogs can be maximized and widgets reflow as you
described. What are you talking about?


Sven

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


Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

2003-08-16 Thread pcg
On Sat, Aug 16, 2003 at 01:21:05PM +0200, Sven Neumann [EMAIL PROTECTED] wrote:
  (Keep in mind that users might be using text sizes larger than the
  defaults so static widget layouts are a really bad idea).
 
 In general all GIMP dialogs can be maximized and widgets reflow as you
 described. What are you talking about?

File-New is the exception (it's fixed-size), but that's the only dialog
I could come up with that has this problem.

Because that's the dialog most often perceived as dialog, maybe he was
assuming all others are the same?

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED]  |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer