RSS/Atom feed Twitter
Site is read-only, email is disabled

Allow Maximise in Dialogs, like in Paint Shop Pro 8

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

20 of 20 messages available
Toggle history

Please log in to manage your subscriptions.

Allow Maximise in Dialogs, like in Paint Shop Pro 8 Alan Horkan 05 Aug 21:00
  Allow Maximise in Dialogs, like in Paint Shop Pro 8 Sven Neumann 16 Aug 13:21
   Allow Maximise in Dialogs, like in Paint Shop Pro 8 Marc) (A.) (Lehmann 16 Aug 14:23
   Allow Maximise in Dialogs, like in Paint Shop Pro 8 Alan Horkan 17 Aug 19:05
    Allow Maximise in Dialogs, like in Paint Shop Pro 8 Sven Neumann 17 Aug 19:25
     Allow Maximise in Dialogs, like in Paint Shop Pro 8 Alan Horkan 17 Aug 21:04
      Allow Maximise in Dialogs, like in Paint Shop Pro 8 Tor Lillqvist 17 Aug 21:23
       Allow Maximise in Dialogs, like in Paint Shop Pro 8 Guillermo S. Romero / Familia Romero 17 Aug 22:00
       Allow Maximise in Dialogs, like in Paint Shop Pro 8 Marc) (A.) (Lehmann 18 Aug 03:55
        Allow Maximise in Dialogs, like in Paint Shop Pro 8 Simon.Budig@unix-ag.org 18 Aug 04:38
        Allow Maximise in Dialogs, like in Paint Shop Pro 8 Tor Lillqvist 18 Aug 08:09
      Allow Maximise in Dialogs, like in Paint Shop Pro 8 Sven Neumann 17 Aug 21:48
       Allow Maximise in Dialogs, like in Paint Shop Pro 8 Tom Mraz 18 Aug 20:30
        Allow Maximise in Dialogs, like in Paint Shop Pro 8 Sven Neumann 18 Aug 23:59
      Allow Maximise in Dialogs, like in Paint Shop Pro 8 Marc) (A.) (Lehmann 18 Aug 03:59
      Allow Maximise in Dialogs, like in Paint Shop Pro 8 Christopher W. Curtis 18 Aug 05:36
Allow Maximise in Dialogs, like in Paint ShopPro 8 Phil Harper 16 Aug 16:15
  Allow Maximise in Dialogs, like in Paint ShopPro 8 Alan Horkan 16 Aug 21:29
   Allow Maximise in Dialogs, like in Paint ShopPro 8 Sven Neumann 16 Aug 22:22
Allow Maximise in Dialogs, like in Paint ShopPro 8 Phil Harper 16 Aug 21:41
Alan Horkan
2003-08-05 21:00:34 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

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).

Would this require much work at the toolkit level or it is a simple as replacing Dialog API calls with Window API calls in various places?

(This would definately be a post 2.0 feature of course if it was considered a good idea)

Sincerely

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

PS Wish I could make it to GIMP Con but please do keep notes and let us know how it goes. Have fun.

Sven Neumann
2003-08-16 13:21:05 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

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

Marc) (A.) (Lehmann
2003-08-16 14:23:57 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

On Sat, Aug 16, 2003 at 01:21:05PM +0200, Sven Neumann 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?

Phil Harper
2003-08-16 16:15:08 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint ShopPro 8

From:
To: gimp-developer@lists.xcf.berkeley.edu Subject: Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8
Date: Sat, 16 Aug 2003 14:23:57 +0200

On Sat, Aug 16, 2003 at 01:21:05PM +0200, Sven Neumann 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?

hmmm, yes, it does make you wander if he's ever used the GIMP if he's making such suggestions...

--
-----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |

Alan Horkan
2003-08-16 21:29:53 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint ShopPro 8

On Sat, 16 Aug 2003, Phil Harper wrote:

Date: Sat, 16 Aug 2003 14:15:08 +0000 From: Phil Harper
To: pcg@goof.com
Cc: gimp-developer@lists.xcf.berkeley.edu Subject: Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

From:
To: gimp-developer@lists.xcf.berkeley.edu Subject: Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8
Date: Sat, 16 Aug 2003 14:23:57 +0200

On Sat, Aug 16, 2003 at 01:21:05PM +0200, Sven Neumann 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?

hmmm, yes, it does make you wander if he's ever used the GIMP if he's making such suggestions...

That was incredibly rude and entirely uncalled for.

- Alan

/me resisting the urge to say more

Phil Harper
2003-08-16 21:41:45 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint ShopPro 8

From: Alan Horkan
To: Phil Harper
CC: gimp-developer@lists.xcf.berkeley.edu Subject: Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8
Date: Sat, 16 Aug 2003 20:29:53 +0100 (BST) MIME-Version: 1.0
Received: from salmon.maths.tcd.ie ([134.226.81.11]) by mc1-f24.law16.hotmail.com with Microsoft >On Sat, 16 Aug 2003, Phil Harper wrote:

Date: Sat, 16 Aug 2003 14:15:08 +0000 From: Phil Harper
To: pcg@goof.com
Cc: gimp-developer@lists.xcf.berkeley.edu Subject: Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8

From:
To: gimp-developer@lists.xcf.berkeley.edu Subject: Re: [Gimp-developer] Allow Maximise in Dialogs, like in Paint ShopPro 8
Date: Sat, 16 Aug 2003 14:23:57 +0200

On Sat, Aug 16, 2003 at 01:21:05PM +0200, Sven Neumann 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?

hmmm, yes, it does make you wander if he's ever used the GIMP if he's

making

such suggestions...

That was incredibly rude and entirely uncalled for.

- Alan

/me resisting the urge to say more

i'm terribly sorry, forgot to add the ;)

not that this would make the email any less rude i'm sure.

Phil.

__________________

Sven Neumann
2003-08-16 22:22:37 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint ShopPro 8

Hi,

On Sat, 2003-08-16 at 21:29, Alan Horkan wrote:

hmmm, yes, it does make you wander if he's ever used the GIMP if he's making such suggestions...

That was incredibly rude and entirely uncalled for.

Yes, the answer may have been rude but you still did not explain what dialogs you were talking about.

Sven

Alan Horkan
2003-08-17 19:05:36 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

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.

Sven Neumann
2003-08-17 19:25:54 UTC (over 20 years ago)

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.

Sven

Alan Horkan
2003-08-17 21:04:41 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

On Sun, 17 Aug 2003, Sven Neumann wrote:

Date: Sun, 17 Aug 2003 19:25:54 +0200 From: Sven Neumann
To: Alan Horkan
Cc: gimp-developer@lists.xcf.berkeley.edu 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

Tor Lillqvist
2003-08-17 21:23:39 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

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

Sven Neumann
2003-08-17 21:48:23 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

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

Guillermo S. Romero / Familia Romero
2003-08-17 22:00:08 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

tml@iki.fi (2003-08-17 at 1923.39 +0000):

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?

It can do anything the WM wants, but the norm is like in MSWindows. Here I get vertical, horizontal or both, in full screen with or without borders and "collision" with things like pagers.

(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.)

The discussion is about which windows should be maximizable and then making sure they have the button (details about what maximize is are left to the wms). Typical fight wms vs apps.

GSR

Marc) (A.) (Lehmann
2003-08-18 03:55:33 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

On Sun, Aug 17, 2003 at 07:23:39PM +0000, Tor Lillqvist 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) (A.) (Lehmann
2003-08-18 03:59:20 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

On Sun, Aug 17, 2003 at 08:04:41PM +0100, Alan Horkan 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.

Simon.Budig@unix-ag.org
2003-08-18 04:38:23 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

Marc Lehmann (pcg@goof.com) 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

Christopher W. Curtis
2003-08-18 05:36:46 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

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

Tor Lillqvist
2003-08-18 08:09:11 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

> On Sun, Aug 17, 2003 at 07:23:39PM +0000, Tor Lillqvist 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

Tom Mraz
2003-08-18 20:30:09 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

Sven Neumann wrote:

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've always thought the same about metacity which is one of these.

Please file it against metacity.

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

Tom Mraz

Sven Neumann
2003-08-18 23:59:29 UTC (over 20 years ago)

Allow Maximise in Dialogs, like in Paint Shop Pro 8

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