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 735144 - Gimp installer is replacing other program's icons
Gimp installer is replacing other program's icons
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: Windows Installer
2.8.10
Other Windows
: Normal normal
: ---
Assigned To: Jernej Simončič
Jernej Simončič
Depends on:
Blocks:
 
 
Reported: 2014-08-21 08:57 UTC by Markus Korbel
Modified: 2014-09-24 22:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (141.72 KB, image/png)
2014-08-21 08:57 UTC, Markus Korbel
  Details
build: fix library linker order (1.03 KB, patch)
2014-08-21 18:21 UTC, Dominique Leuenberger
rejected Details | Review
Registry changes during uninstall (67.53 KB, text/plain)
2014-08-26 11:27 UTC, Markus Korbel
  Details

Description Markus Korbel 2014-08-21 08:57:02 UTC
Created attachment 284063 [details]
Screenshot

When GIMP is installed on my machine some programs (Adobe Reader, one of my own developments, ...) don't show their own icons anymore. This includes shortcuts on the desktop as well as the icon in the taskbar while the programs are running.

I uninstalled GIMP to verify this, the icon changed while the programs were running and the changed back when re-installing, again while the programs were running. I did a custom install and removed all file associations but that didn't affect it.

It attached a screenshot of two programs showing this for the desktop shortcut and  the two running programs.
Comment 1 Dominique Leuenberger 2014-08-21 18:21:10 UTC
Created attachment 284123 [details] [review]
build: fix library linker order

libcommon.a references functions from libarchive, so it must be listed
before the same in the linker call. This fixes build with -Wl,--as-needed.

https://bugzilla.gnome.org/show_bug.cgi?id=735114
Comment 2 Dominique Leuenberger 2014-08-21 18:46:37 UTC
Attachment 284123 [details] pushed as fcbfa2a - build: fix library linker order
Comment 3 Michael Schumacher 2014-08-22 07:01:59 UTC
Comment on attachment 284123 [details] [review]
build: fix library linker order

Wrong bug
Comment 4 Michael Schumacher 2014-08-22 07:02:39 UTC
Dominique, you want to attach this to bug 735114.
Comment 5 Dominique Leuenberger 2014-08-22 08:14:37 UTC
DOH! Thanks - and sorry for the noise;
Comment 6 Michael Schumacher 2014-08-24 11:43:09 UTC
Markus, this has not been reported before (and it doesn't happen for me with Adobe Reader, either).

Could this be due to some interference of your own application?
Comment 7 Markus Korbel 2014-08-25 09:13:59 UTC
I don't see how, but to make sure I uninstalled it. Adobe Reader XI is still using the Gimp icon. And as I described in the original post, the icons of both programs return to normal as soon as I uninstall Gimp (I don't even have to reboot or anything the desktop just refreshes and the original icons are back, same happens the other way around. Just before finishing the installation of the Gimp the icons suddenly change).

Regards,
Markus
Comment 8 Michael Schumacher 2014-08-25 12:02:15 UTC
At this moment, are there any changes to the registry that would explain this?
Comment 9 Markus Korbel 2014-08-25 13:21:06 UTC
Not that I'm aware of, I was thinking of taking a "snapshot" of the registry before and after installing Gimp to see what it could be...will google for a tool later today and see what I can come up with.
Comment 10 Markus Korbel 2014-08-26 11:27:55 UTC
Created attachment 284495 [details]
Registry changes during uninstall
Comment 11 Markus Korbel 2014-08-26 11:42:51 UTC
Hi Michael,

I took two registry snapshots and attached the changed values as a TXT file. I looked it over and couldn't find what could be causing this ... so I figured it must be some setting not directly affected by the Gimp installer. So I tried installing the Gimp to a different folder and the problem is no more. So I searched the registry for settings still pointing to the old location:

Old install location: C:\Program Files\GIMP 2\
New install location: C:\Program Files\GIMP\

I don't have a clue what these are for and Google isn't telling me much:
--------------------------------------------------------------------
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UFH\SHC

Keys 304,310,312,87
Value "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\GIMP 2.lnk
C:\Program Files\GIMP 2\bin\gimp-2.8.exe"

Same here
--------------------------------------------------------------------
HKEY_USERS\S-1-5-21-3061247417-2764527490-1231863184-1140\Software\Microsoft\Windows\CurrentVersion\UFH\SHC

Key 311
Value "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\GIMP 2.lnk
C:\Program Files\GIMP 2\bin\gimp-2.8.exe"

These were the only keys/values pointing to the old install location. So I deleted them and installed gimp into the default location again, problem SOLVED!

So it seems that either the install system or Window are keeping leftover links in these registry locations. Might be something that an installer/uninstaller needs to clean up on newer versions of Windows. I'm running 2012 R2 by the way. Hope this helps.

Regards,
Markus
Comment 12 Michael Schumacher 2014-09-24 22:20:00 UTC
This has never been reported by anyone else, so I still assume that this is specific to your system. Let's close it as NOTGNOME.