Bug #68

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

Added by Hiroyuki Yamamoto 12 months ago. Updated 11 months ago.

Status:Closed Start date:06/08/2012
Priority:Normal Due date:
Assignee:Hiroyuki Yamamoto % Done:

0%

Category:Windows Spent 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

Updated by Hiroyuki Yamamoto 12 months 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()

Updated by Hiroyuki Yamamoto 12 months ago

  • Status changed from New to Resolved

Fixed in svn r3088.

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

Updated by Hiroyuki Yamamoto 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF