Hello All,
Thanks everyone for producing a wonderful IDE. I use it in both in Linux and Windows.
However there is a problem that has really been bugging me in Windows and I cannot find an easy fix. I have tried uninstalling and reinstalling, upgrading to the latest version, but the problem still remains.
When I open a file for example "ScintillaLicense.txt" using File Open the full name "ScintillaLicense.txt" in the tab. However if open this file by right clicking in Windows Explorer and using the context menu and then select "open with Geany" I get the shortened 8.3 dos file name in the tab so that "ScintillaLicense.txt" appears as "SCINTI~1.TXT" and the path is also shortened to "C:\PROGRA~1\Geany\doc" instead of "C:\Program Files\Geany\doc". Below is copy of the Status Window messages.
12:22:32: This is Geany 0.17. 12:30:21: File C:\PROGRA~1\Geany\doc\SCINTI~1.TXT opened(1). 12:30:57: File C:\Program Files\Geany\doc\ScintillaLicense.txt opened(2).
I am guessing that this is a windows registry problem, but you would have thought that completely uninstalling and reinstalling Geany would have fixed this problem.
Any help with this would be greatly appreciated
Thank You
Louis Barman
Tags to help others when searching for a solution to this problem:
Geany 8.3 filename Geany dos filename Geany short filename Geany 12 character filename context menu right click menu short filename
On Tue, 16 Jun 2009 11:10:02 +0100, Louis wrote:
Hi,
However there is a problem that has really been bugging me in Windows and I cannot find an easy fix. I have tried uninstalling and reinstalling, upgrading to the latest version, but the problem still remains.
When I open a file for example "ScintillaLicense.txt" using File Open the full name "ScintillaLicense.txt" in the tab. However if open this file by right clicking in Windows Explorer and using the context menu and then select "open with Geany" I get the shortened 8.3 dos file name in the tab so that "ScintillaLicense.txt" appears as "SCINTI~1.TXT" and the path is also shortened to "C:\PROGRA~1\Geany\doc" instead of "C:\Program Files\Geany\doc". Below is copy of the Status Window messages.
12:22:32: This is Geany 0.17. 12:30:21: File C:\PROGRA~1\Geany\doc\SCINTI~1.TXT opened(1). 12:30:57: File C:\Program Files\Geany\doc\ScintillaLicense.txt opened (2).
Interesting. According from the log above, I assume you start Geany from the Explorer context menu? Or was Geany already running when opened the file the first time?
What version of Windows are you running and with which locale (I assume English)? For some reason, it works here and I have no idea what's wrong.
Tags to help others when searching for a solution to this problem:
Geany 8.3 filename Geany dos filename Geany short filename Geany 12 character filename context menu right click menu short filename
Nice :).
Regards, Enrico
Ok,
As is often usual in these occasions, I have fixed my own problem.
Using regedit (from the command line run C:\WINDOWS\system32\regedt32.exe ) I searched for geany and found this entry.
Key: HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command Data: C:\Program Files\Geany\bin\geany.exe "%1"
I modified the data and put quotes round "C:\Program Files\Geany\bin\geany.exe" as follows: Data: "C:\Program Files\Geany\bin\geany.exe" "%1"
Unfortunately if I uninstall Geany and reinstall then the problem comes back, but it is easily fixed by editing that key value as shown above and put in the missing quotes. I even tried uninstall Geany then deleting every single reference to Geany in the registry and reinstalling but still the problem came back.
By the way what value does every one else have for the data in the "HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command" registry key? When writing this key during installation do you put in the quotes round "C:\Program Files\Geany\bin\geany.exe"?
Thanks
Louis Barman
2009/6/16 Enrico Tröger enrico.troeger@uvena.de:
On Tue, 16 Jun 2009 11:10:02 +0100, Louis wrote:
Hi,
However there is a problem that has really been bugging me in Windows and I cannot find an easy fix. I have tried uninstalling and reinstalling, upgrading to the latest version, but the problem still remains.
When I open a file for example "ScintillaLicense.txt" using File Open the full name "ScintillaLicense.txt" in the tab. However if open this file by right clicking in Windows Explorer and using the context menu and then select "open with Geany" I get the shortened 8.3 dos file name in the tab so that "ScintillaLicense.txt" appears as "SCINTI~1.TXT" and the path is also shortened to "C:\PROGRA~1\Geany\doc" instead of "C:\Program Files\Geany\doc". Below is copy of the Status Window messages.
12:22:32: This is Geany 0.17. 12:30:21: File C:\PROGRA~1\Geany\doc\SCINTI~1.TXT opened(1). 12:30:57: File C:\Program Files\Geany\doc\ScintillaLicense.txt opened (2).
Interesting. According from the log above, I assume you start Geany from the Explorer context menu? Or was Geany already running when opened the file the first time?
What version of Windows are you running and with which locale (I assume English)? For some reason, it works here and I have no idea what's wrong.
Tags to help others when searching for a solution to this problem:
Geany 8.3 filename Geany dos filename Geany short filename Geany 12 character filename context menu right click menu short filename
Nice :).
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Wed, 17 Jun 2009 11:50:12 +0100, Louis wrote:
Ok,
As is often usual in these occasions, I have fixed my own problem.
Using regedit (from the command line run C:\WINDOWS\system32\regedt32.exe ) I searched for geany and found this entry.
Key: HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command Data: C:\Program Files\Geany\bin\geany.exe "%1"
I modified the data and put quotes round "C:\Program Files\Geany\bin\geany.exe" as follows: Data: "C:\Program Files\Geany\bin\geany.exe" "%1"
By the way what value does every one else have for the data in the "HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command" registry key? When writing this key during installation do you put in the quotes round "C:\Program Files\Geany\bin\geany.exe"?
No, we don't. But obviously we should. My test Windows box has a German locale and the Program Files folder is there called "Programme" without any spaces. This might be one reason why I didn't notice that problem. Anyway, yesterday I tested it also with a manually created folder c: \Program Files\Geany... and it still worked, no idea why. I also have no idea why the missing quotes causes DOS 8.3 filenames.
http://www.uvena.de/tmp/geany-0.17svn_3871_nogtk_setup.exe and http://www.uvena.de/tmp/geany-0.17svn_3871_setup.exe are just built installers with this change (added quotes around the command), please try it (just choose the one of the installers you used previously) and report if it helps.
Thanks!
Regards, Enrico
Thanks that fixed the problem when I reinstalled.
It used to work for me as well and when upgrading then it stopped working (I suspect due to some strange registry settings on my machine) but putting the quote round is best.
Thanks and thanks for Geany.
Louis Barman
2009/6/17 Enrico Tröger enrico.troeger@uvena.de:
On Wed, 17 Jun 2009 11:50:12 +0100, Louis wrote:
Ok,
As is often usual in these occasions, I have fixed my own problem.
Using regedit (from the command line run C:\WINDOWS\system32\regedt32.exe ) I searched for geany and found this entry.
Key: HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command Data: C:\Program Files\Geany\bin\geany.exe "%1"
I modified the data and put quotes round "C:\Program Files\Geany\bin\geany.exe" as follows: Data: "C:\Program Files\Geany\bin\geany.exe" "%1"
By the way what value does every one else have for the data in the "HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command" registry key? When writing this key during installation do you put in the quotes round "C:\Program Files\Geany\bin\geany.exe"?
No, we don't. But obviously we should. My test Windows box has a German locale and the Program Files folder is there called "Programme" without any spaces. This might be one reason why I didn't notice that problem. Anyway, yesterday I tested it also with a manually created folder c: \Program Files\Geany... and it still worked, no idea why. I also have no idea why the missing quotes causes DOS 8.3 filenames.
http://www.uvena.de/tmp/geany-0.17svn_3871_nogtk_setup.exe and http://www.uvena.de/tmp/geany-0.17svn_3871_setup.exe are just built installers with this change (added quotes around the command), please try it (just choose the one of the installers you used previously) and report if it helps.
Thanks!
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Thu, 18 Jun 2009 13:41:33 +0100, Louis wrote:
Thanks that fixed the problem when I reinstalled.
Thanks and thanks for Geany.
It's my turn to thank you for reporting and testing! I'll commit that change tomorrow so the next installers will include it.
Regards, Enrico