code-google-com / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

MS Windows Shortcuts are opened for editing rather than used for their purpose #787

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select Open file
2. Browse to a location that has a shortcut
3. Double click on Shortcut to get to the location identified by the shortcut.

What is the expected output? A directory pointed to by the MS Windows shortcut.

What do you see instead? The contents of the shortcut itself, consisting of 
several nulls displayed by Editra.

IMPORTANT!!! Please answer these questions for any and ALL bug reports

What version of the product are you using? 0.7.20

On what operating system? MS Windows

What method of install was your version installed with (Binary/Source)? Binary

If from source: What version of python and wxPython are you using?

Please provide any additional information below.
I have several hard drives with various projects spread throughout. I depend on 
MS Windows shortcuts to allow me to get to nested project folders quickly from 
the My Documents folder.

Original issue reported on code.google.com by gcs...@gmail.com on 11 Jan 2013 at 1:13

GoogleCodeExporter commented 9 years ago

Original comment by CodyPrec...@gmail.com on 11 Jan 2013 at 2:45

GoogleCodeExporter commented 9 years ago
merged to 632 - what version of "MS Windows" are you using?

Not able to reproduce the issue on Windows 7. Investigation will continue in 
issue 632.

Original comment by CodyPrec...@gmail.com on 11 Jan 2013 at 2:48

GoogleCodeExporter commented 9 years ago
*>merged to 632 - what version of "MS Windows" are you using?*
XP Home Edition Version 2002 SP3.

Your bug reporting form asks what operating system the user is on. It
should ask specifically for the operating system AND version (I am sure it
does matter).

Shortcuts  (.lnk files) are common on all the Windows OSs for quite some
time. I would not expect they are different on XP and Windows 7.  All of my
other applications work fine with the shortcuts so I cannot imagine it is
something on this end. Programs are supposed to acknowledge the .lnk
extension, by going to the location the shortcut specifies.

Check this link for examples of how to read .lnk files with Python:
http://stackoverflow.com/questions/397125/reading-the-target-of-a-lnk-file-in-py
thon?rq=1

This is not the first time I have seen programs that were designed to be
compiled for different OS to fail with shortcuts. Very often, it is a Java
directory browsing dialog that gets tripped, but I did not expect that from
a wxWidgets project.

Please let me know when this is resolved so I can upgrade its review.
Currently, I have to report that I did not get past attempting to open a
file to edit. Without being able to get to a location within Windows, it
wouldn't matter how great the editor is.

Original comment by gcs...@gmail.com on 12 Jan 2013 at 2:30