ディレクトリアイテムで環境変数が展開されない

Issue #70 closed
sk ☃#QQ repo owner created an issue

ディレクトリアイテムが環境変数として登録されている場合にアイテムの実行に失敗する。

2014/11/10 22:05:55 ディレクトリが見つかりません
%LocalAppData%\Programs   場所 PeMain.UI.ToolbarForm.LoadFileList(ToolStripDropDownItem parentItem, String parentDirPath, Boolean showHiddenFile, Boolean showExtension) 場所 c:\Users\sk\Documents\Programming\SharpDevelop Project\Pe\Pe\PeMain\UI\ToolbarForm.function.cs:行 396
   場所 PeMain.UI.ToolbarForm.<>c__DisplayClass2d.<CreateDirectoryItemLauncherButton>b__2b(Object sender, EventArgs e) 場所 c:\Users\sk\Documents\Programming\SharpDevelop Project\Pe\Pe\PeMain\UI\ToolbarForm.function.cs:行 733
   場所 System.EventHandler.Invoke(Object sender, EventArgs e)
   場所 System.Windows.Forms.ToolStripDropDownItem.OnDropDownShow(EventArgs e)
   場所 System.Windows.Forms.ToolStripDropDownItem.ShowDropDownInternal()
   場所 System.Windows.Forms.ToolStripDropDownItem.ShowDropDown(Boolean mousePush)
   場所 System.Windows.Forms.ToolStripDropDownButton.OnMouseDown(MouseEventArgs e)
   場所 System.Windows.Forms.ToolStripItem.HandleMouseDown(MouseEventArgs e)
   場所 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   場所 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   場所 System.Windows.Forms.ToolStrip.OnMouseDown(MouseEventArgs mea)
   場所 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   場所 System.Windows.Forms.Control.WndProc(Message& m)
   場所 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   場所 System.Windows.Forms.ToolStrip.WndProc(Message& m)
   場所 PeMain.UI.ActiveToolStrip.WndProc(Message& m) 場所 c:\Users\sk\Documents\Programming\SharpDevelop Project\Pe\Pe\PeMain\UI\Ex\ExToolStrip.cs:行 29
   場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   場所 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   場所 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   場所 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   場所 System.Windows.Forms.Application.Run()
   場所 PeMain.Startup.Main(String[] args) 場所 c:\Users\sk\Documents\Programming\SharpDevelop Project\Pe\Pe\PeMain\Main.cs:行 72

ファイルコマンドやアイコン等は環境変数の展開を行っているため一貫性を保つ必要がある。

他のアドレス関係も見直す必要あり。

Comments (5)

  1. Log in to comment