After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752759 - Missing "Open With Gimp" in Right-Click Menu
Missing "Open With Gimp" in Right-Click Menu
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Windows Installer
2.8.14
Other Windows
: Normal normal
: 2.10
Assigned To: GIMP Bugs
Jernej Simončič
: 772395 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-07-23 06:46 UTC by Dom
Modified: 2018-05-24 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
small fix for "Edit With Gimp" right click menu (5.65 KB, patch)
2018-03-26 23:35 UTC, Lionel N.
none Details | Review
updated patch for "Edit with Gimp" option in Windows (7.01 KB, patch)
2018-03-31 11:38 UTC, Lionel N.
none Details | Review

Description Dom 2015-07-23 06:46:50 UTC
When I downloaded Gimp and installed it originally I always had the option to use Open With Gimp after a right click. Now it seems to be missing. This tool was very important to me so I would like to know if this can be fixed, if it was in the update or what.
Comment 1 Jehan 2016-06-11 14:08:47 UTC
Hello,

Have you tried if GIMP 2.8.16 fixes your problem? I just tested in a VM and I do have the "Edit with GIMP" item in the right click menu.
Comment 2 jimbo1qaz 2016-09-29 06:46:05 UTC
Windows 10 x64. Installed GIMP 2.8.18. Bug has existed since I installed, and has existed since 2.6 and Windows 7.

This is the bugfix: https://brianreiter.org/2010/07/21/fix-edit-with-gimp-context-menu-in-windows-7-x64/

Can you incorporate into GIMP?
Comment 3 jimbo1qaz 2016-09-29 06:47:10 UTC
That link is missing the .reg file header. This comment has the header: https://brianreiter.org/2010/07/21/fix-edit-with-gimp-context-menu-in-windows-7-x64/#comment-680
Comment 4 Jehan 2016-09-29 11:37:15 UTC
My tests were with Windows 7 x64. Anyway maybe depends on other configuration things or the problem was brought with some update.

Anyway thanks for the link. Set milestone to 2.10.
Comment 5 Michael Schumacher 2016-10-11 12:04:26 UTC
*** Bug 772395 has been marked as a duplicate of this bug. ***
Comment 6 Jehan 2016-10-16 15:08:06 UTC
Adding newcomers keyword.
Comment 7 EF 2017-02-01 14:51:00 UTC
Hello,
just a comment, I had the same problem years ago, and the first time I solved it by manually editing the windows registry.
After some time I reinstalled windows & GIMP and found that the problem had been solved.
Recently I reinstalled windows and today I reinstalled GIMP, however there might have been a regression since the bug came back. Again today I had to manually edit the windows register.
Comment 8 Jehan 2017-03-22 00:33:45 UTC
EF > when you edited the registry, was it the same as in the link in comment 2? If different, could you tell us the details please?
Thanks!
Comment 9 EF 2017-03-22 08:53:56 UTC
Jehan > yes, I did exactly the same registry edit, nothing changed between windows 7 and 10.
Comment 10 Jehan 2017-03-27 17:04:42 UTC
Jernej > what would be the status of that? Any idea why it works and at some point stops working for some people unless they edit the registry?
Can you make so this problem don't appear?
Comment 11 techtonik 2017-03-29 13:40:47 UTC
There could be several reasons:

1. GIMP installer doesn't set registry keys in some version
2. GIMP installer sets registry keys in some version
Comment 12 techtonik 2017-03-29 13:41:09 UTC
2. GIMP installer sets **wring** registry keys in some version
Comment 13 Jehan 2017-03-29 18:32:18 UTC
So in other words, the fix would be simply to make sure we never forget to set the registry key to the right value.
Comment 14 Michael Schumacher 2017-03-31 08:44:21 UTC
The point there this is handled is in https://git.gnome.org/browse/gimp/tree/build/windows/installer/associations.isi

But please confirm with Jernej whether the current code even tries to set this, and whether applications should do this on the Windows platform.
Comment 15 jimbo1qaz 2017-03-31 21:55:32 UTC
The desktop entry seems to "often" not work properly...

This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.

[OK]
Comment 16 Lionel N. 2017-06-27 10:49:12 UTC
I have looked into https://git.gnome.org/browse/gimp/tree/build/windows/installer/associations.isi code and from what I understand, "open with GIMP" is only set for compatible filetypes whose default application is not Gimp (which is chosen during installation process).

The problem we may have : we install GIMP and associate it with every compatible filetypes (so "open with GIMP" is not available for these filetypes). Then, we install another software that overwrites file associations. In that case, we can't open directly a file without opening Gimp first.

I'd suggest to add a checkbox option during installation "Add 'Open with GIMP' contextual menu for every compatible filetypes" to avoid this problem.
Comment 17 Lionel N. 2018-03-26 23:35:58 UTC
Created attachment 370167 [details] [review]
small fix for "Edit With Gimp" right click menu

I added a new checkbox during installation process for windows users. When checked, a new entry called "Edit With Gimp" is created in the contextual menu for every filetypes compatible with Gimp.
It is completely independant from the filetypes associations selection. We can have no association chosen with Gimp but still have the right click option to edit in Gimp.

Tested on a VM with Windows 10 64 bit without any problem.
Comment 18 Lionel N. 2018-03-31 11:38:29 UTC
Created attachment 370370 [details] [review]
updated patch for "Edit with Gimp" option in Windows

I updated my previous patch (my previous patch is obsolete) :

- I moved my code inside an existing loop and cleaned it up
- there was a small misalignment for the checkbox in the installer; I reduced the filetype selection box to give more space to the checkbox

I compiled a windows installer for Gimp 2.10 to test this new option but beware, it is an experimental installer with some limitations :

- no 32bit version
- some missing translations
- unsigned installer
- no ghostscript
- couple of plugins may be missing

If you are well aware of these limitations, you can try the following installer :

https://www.dropbox.com/s/q6foil5o4nx6x87/gimp-2.10.0-setup.exe?dl=0
Comment 19 Jehan 2018-04-01 13:47:36 UTC
Ell > could you check this patch?
By the way, this is someone I know personally, so you can trust the installer if you wish to test it.
It would be nice if our Win32 installer had this issue fixed.
Comment 20 GNOME Infrastructure Team 2018-05-24 15:29:55 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/718.