Bug #68

File selection dialog doesn't follow Windows shortcut (.lnk)

Added by Hiroyuki Yamamoto over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:06/08/2012
Priority:NormalDue date:
Assignee:Hiroyuki Yamamoto% Done:

0%

Category:WindowsSpent time:-
Target version:3.2

Description

The file selection dialog doesn't follow Windows shortcut (.lnk),
but the .lnk file itself is selected.
It should follow the link location when selected.

History

#1 Updated by Hiroyuki Yamamoto over 2 years ago

The GTK+ file selector (GtkFileChooser) doesn't implement Windows shortcut handling.
Probably the following Windows APIs can be used.

  • IShellLink::QueryInterface()
  • IShellLink::GetPath()
  • IShellLink::Release()
  • IPersistFile::Load()
  • IPersistFile::Release()
  • CoInitialize()
  • CoCreateInstance()
  • CoUninitialize()

#2 Updated by Hiroyuki Yamamoto over 2 years ago

  • Status changed from New to Resolved

Fixed in svn r3088.

  • src/filesel.c: win32: follow Windows shortcut (.lnk).

#3 Updated by Hiroyuki Yamamoto over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF