[Gimp-user] Inital zoom ratio bug?

2012-05-13 Thread berniek
I'm working on 1152x864 resolution. Gimp is positioned at the lower-right 
corner of the screen so I can drag&drop images easily into it. That's why it's 
very bad news if Gimp resizes itself.
Anyway I had to go deeper. And my finding is that some nasty things are going 
on in gimp_display_shell_set_initial_scale() function.  :D
  screen_width  = gdk_screen_get_width (screen)  * 0.75;
  screen_height = gdk_screen_get_height (screen) * 0.75;
  shell_width  = SCALEX (shell, image_width);
  shell_height = SCALEY (shell, image_height);
  if (shell_width > screen_width || shell_height > screen_height)
These are just not right, Gimp shouldn't care about my screen resolution at 
this point. Anyway I'm off to Partha's site for the Gimp compiling tutorial. 
And thank you guys for the help. Gimp is a very good program, although it has 
its flaws, I still really appreciate what the devs do.

-- 
berniek (via gimpusers.com)
___
gimp-user-list mailing list
gimp-user-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Inital zoom ratio bug?

2012-05-13 Thread Richard Gitschlag

> But it sure sounds like a bug. I have further inspected my problem 
and it seems Gimp has a minimal window size that will resize to no 
matter what preferences I set for it.
> To reproduce the bug:
> 1. make singlemode window,
> 2. Resize Gimp's window the smallest you can (for me it's 454x591)
> 2. switch off zoom & resize behavior,
> 3. drag and drop (or file/open) an oversized image on Gimp,
> 4. Boom! Resized window!
> I just wish I know where to look for this in the source files. :/

Let's compare: My GIMP's minimum window size is (458x607), window border and 
title bar included.  When I open an image, GIMP resizes its window to a minimum 
of (875x563) (border and titlebar still included) - however, this is not a 
problem since my saved window settings are normally about (1024x768).

Wait -- what desktop resolution do you run?  A minimum width of 875 would 
definitely be an issue if you're running 800x600 or less.

-- Stratadrake
strata_ran...@hotmail.com

Numbers may not lie, but neither do they tell the whole truth.
  ___
gimp-user-list mailing list
gimp-user-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Inital zoom ratio bug?

2012-05-13 Thread Partha Bagchi
I would file a bug and inform Martin.

On Sun, May 13, 2012 at 3:13 PM, berniek  wrote:
> Yes, I would switch it off if it hadn't been switched off already (see my 
> linked image in earlier post). Anyway currently doing what Richard said. At 
> least Gimp won't save the position.
> But it sure sounds like a bug. I have further inspected my problem and it 
> seems Gimp has a minimal window size that will resize to no matter what 
> preferences I set for it.
> To reproduce the bug:
> 1. make singlemode window,
> 2. Resize Gimp's window the smallest you can (for me it's 454x591)
> 2. switch off zoom & resize behavior,
> 3. drag and drop (or file/open) an oversized image on Gimp,
> 4. Boom! Resized window!
> I just wish I know where to look for this in the source files. :/
>
> --
> berniek (via gimpusers.com)
> ___
> gimp-user-list mailing list
> gimp-user-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gimp-user-list
___
gimp-user-list mailing list
gimp-user-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Inital zoom ratio bug?

2012-05-13 Thread berniek
Yes, I would switch it off if it hadn't been switched off already (see my 
linked image in earlier post). Anyway currently doing what Richard said. At 
least Gimp won't save the position.
But it sure sounds like a bug. I have further inspected my problem and it seems 
Gimp has a minimal window size that will resize to no matter what preferences I 
set for it.
To reproduce the bug:
1. make singlemode window,
2. Resize Gimp's window the smallest you can (for me it's 454x591)
2. switch off zoom & resize behavior,
3. drag and drop (or file/open) an oversized image on Gimp,
4. Boom! Resized window!
I just wish I know where to look for this in the source files. :/

-- 
berniek (via gimpusers.com)
___
gimp-user-list mailing list
gimp-user-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Inital zoom ratio bug?

2012-05-13 Thread Partha Bagchi
On Sun, May 13, 2012 at 12:12 PM, Richard Gitschlag
 wrote:
>> Date: Sun, 13 May 2012 00:48:46 +0200
>> From: for...@gimpusers.com
>> To: gimp-user-list@gnome.org
>> CC: t...@gimpusers.com
>> Subject: [Gimp-user] Inital zoom ratio bug?
>>
>> So I'm using Gimp 2.8 in single window mode and not fullscreen window on
>> winXp. Initial zoom ratio is set to "Fit to window". And yet when I open a
>> big image which wouldn't fit to Gimp's window, Gimp still resize its own
>> window even to out of my screen's resolution boundary. I don't want that. My
>> pref window: http://i.imgur.com/fVHaR.jpg
>> So is this bug or how can I prevent Gimp doing this?
>> Thanks for any answers!
>>
>> --
>> berniek (via gimpusers.com)
>
> That is odd.  I have the same settings (including single-window mode, with
> my window carefully sized/placed to fill the whole screen because there's a
> bug with maximized window status) and have yet to encounter the problem.
>
> Hmm ... I have an idea what could be responsible (though exactly why fails
> me), so try these steps:
>
> 1 - Size your GIMP window as desired.
> 2 - Go to the "Window Management" section of Preferences and hit the button
> for "Save Window Positions Now".
> 3 - Restart GIMP and see if the behavior persists.
>
> -- Stratadrake
> strata_ran...@hotmail.com
> 
> Numbers may not lie, but neither do they tell the whole truth.
>
>
> ___
> gimp-user-list mailing list
> gimp-user-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gimp-user-list
>

When using single-window mode, try tuning off fit-to-window etc. by
unchecking resize and zoom behavior.
___
gimp-user-list mailing list
gimp-user-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Inital zoom ratio bug?

2012-05-13 Thread Richard Gitschlag

> Date: Sun, 13 May 2012 00:48:46 +0200
> From: for...@gimpusers.com
> To: gimp-user-list@gnome.org
> CC: t...@gimpusers.com
> Subject: [Gimp-user] Inital zoom ratio bug?
> 
> So I'm using Gimp 2.8 in single window mode and not fullscreen window on 
> winXp. Initial zoom ratio is set to "Fit to window". And yet when I open a 
> big image which wouldn't fit to Gimp's window, Gimp still resize its own 
> window even to out of my screen's resolution boundary. I don't want that. My 
> pref window: http://i.imgur.com/fVHaR.jpg
> So is this bug or how can I prevent Gimp doing this?
> Thanks for any answers!
> 
> -- 
> berniek (via gimpusers.com)

That is odd.  I have the same settings (including single-window mode, with my 
window carefully sized/placed to fill the whole screen because there's a bug 
with maximized window status) and have yet to encounter the problem.

Hmm ... I have an idea what could be responsible (though exactly why fails me), 
so try these steps:

1 - Size your GIMP window as desired.
2 - Go to the "Window Management" section of Preferences and hit the button for 
"Save Window Positions Now".
3 - Restart GIMP and see if the behavior persists.

-- Stratadrake
strata_ran...@hotmail.com

Numbers may not lie, but neither do they tell the whole truth.

  ___
gimp-user-list mailing list
gimp-user-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Inital zoom ratio bug?

2012-05-12 Thread berniek
So I'm using Gimp 2.8 in single window mode and not fullscreen window on winXp. 
Initial zoom ratio is set to "Fit to window". And yet when I open a big image 
which wouldn't fit to Gimp's window, Gimp still resize its own window even to 
out of my screen's resolution boundary. I don't want that. My pref window: 
http://i.imgur.com/fVHaR.jpg
So is this bug or how can I prevent Gimp doing this?
Thanks for any answers!

-- 
berniek (via gimpusers.com)
___
gimp-user-list mailing list
gimp-user-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-user-list