Make GIMP 2.8 open in a maximised window (plus "Edit with GIMP" problems")

21
2014-03
  • puggsoy

    I'd like to know how I can make GIMP 2.8 (the latest stable release) open in a maximised window. Every time I open it I have to click on the maximise button so that I can see the complete window and frankly it's getting annoying.

    I'm using the new Single-Window Mode, which probably helps. I've tried the method of choosing "Maximized" in the Properties of a shortcut, but that just maximises the splash screen, and the actual window is still un-maximised.

    I'm using Windows 7 Ultimate 64-bit. If anybody could help this would be awesome, I use GIMP very often.

    By the way, I'd also like to know if anybody knows how I can open most common image files with the "Edit with GIMP" option in the right-click menu. I made some .reg files that would do this with GIMP 2.6, but even after editing the .reg files and using them, if I click the option it will ask me to choose a program to open with. Except for with .gif files, those open properly.

  • Answers
  • David L

    According to the person who actually compiles GIMP on Windows, the problem is related to the GTK+ toolkit. And this makes sense, because GIMP isn't the only linux port to suffer from this annoying problem.

    Updating to GIMP 2.8.4 (or higher) will resolve the issue in Single-Window Mode.

    Otherwise, you will have to find a third-party program that can automatically maximize windows for you. I am not aware of any free ones but Actual Window Manager will do the job. If it's a bit too pricey, you may be able to get the same functionality from some of their cheaper programs such as Actual Window Guard or Actual Window Minimizer.

    In regards to your second question, you can use the following registry script to add the 'Edit with GIMP' option to system image types assuming you have GIMP 2.8 installed to the default directory:

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Edit with GIMP]
    
    [HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Edit with GIMP\command]
    @="\"C:\\Program Files\\GIMP 2\\bin\\gimp-2.8.exe\" \"%1\""
    
  • iglvzx

    To maximize GIMP once it has loaded, you can use AutoHotkey as demonstrated in my answer here: http://superuser.com/a/430863/100787. From there, you can download my icon Maximize executable or compile the script yourself which can then be called from the command line, shortcut, or batch script.

    Example:

    Maximize "GNU Image Manipulation Program" "%ProgramFiles%\GIMP 2\bin\gimp-2.8.exe"
    
  • Morpheus

    Updating does not resolve this issue. I have Gimp 2.8.8 and the same thing happens. I have to maximize it every time I open it. And after saving and closing a pic, but still leaving the program open. You have to re-maximize the window again.


  • Related Question

    64 bit - GIMP 2.6.11 on Windows 7 64-bit can't open PNG files
  • rAndy

    I am a long time user of GIMP. It works beautifully on Windows XP and Windows 2000.

    The time has come to move on... to Windows 7. So I installed GIMP 2.6.11 on Windows 7 64-bit (straightforwardly taking all defaults), then tried to open a .png file.

    But unlike in GIMP on Windows XP, instead of the image, I was greeted by the following message:

    Opening C:\Users\rAndy\Pictures\sampleimage.png failed: Unknown file type
    

    Now... I know that GIMP is perfectly capable of handling PNG files, so either GIMP for Windows is not compatible (yet) with Windows 7 64-bit or I failed to do something additional that is required with this version.

    Have you been able to successfully use GIMP 2.6.11 on Windows 7 64-bit?

    If so, what is the trick to make it work?

    Update 1: I followed the 1st advice from @Ganesh R. below (running installer in XP SP2 compatibility mode) but it didn't help. This time, however, I noticed that a component named GIMP Python extension cannot be selected (see snapshot below). Could that be related?

    enter image description here

    Update 2: I just tried installing the older GIMP 2.4.7 using the same XP SP2 compatibility mode suggested by @Ganesh R. and it works!

    Which suggests that the GIMP Python extension component has nothing to do with this.

    Version 2.4.7 is good enough as an interim solution. It would be nice if version 2.6.x becomes available for Widows 7.


  • Related Answers
  • Ganesh R.

    A quick google shows that may people have faced the same issue.

    The official site just says Windows XP SP2 and above. This indrectly means that it is not supported on Windows 7.

    Try reinstalling with Compatibility settings enabled and set to Windows XP SP2. (Right click on installer -> Properties -> Compatibility -> Check "Run this in compatibility mode" and set it to Windows XP SP2/SP3)

    If this too fails to solve the issue, just download Windows XP Mode, install XP Mode, and use GIMP in the Windows XP VM.

  • Tog

    Beta version 2.6.7 works well on Windows7 64-bit with no need for compatibility mode. I haven't found any showstopping bugs but then I don't use it heavily. It can be found here