Jump to content

Crash: Opening multiple files from camera

Recommended Posts

I have come across what may be a crash bug in Paint.NET.

I am running Paint.NET 3.05 on Windows Vista.

Plugging in a Canon camera to the computer via USB, the camera shows up in Computer but is not given a drive letter.

In Paint.NET, trying to open an image while accessing the camera works, but trying to open several at once (ctrl+click or drag a box) results in a crash. This is using the internal "File -> Open" command (not opening from Explorer or anything).

(Side note: If I try this in Paint Shop Pro, after I click open it gives me a message like "cannot open multiple files simultaneously from this source, try opening one at a time.")

Does anyone else have a camera they could try to reproduce this with?

[edit] Reproduced on another machine with another camera.

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.05 (Final Release build 3.05.2643.30703)
Time of crash: 4/15/2007 8:47:40 PM
Application uptime: 00:00:26.1494416
OS Version: 6.0.6000.0 Workstation x64
.NET Framework version: 2.0.50727.312 x64
Processor: 2x "AMD Athlon(tm) 64 X2 Dual Core Processor 4400+" @ ~2211MHz
Physical memory: 4094 MB
Tablet PC: no
Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-US, cuic: en-US

Exception details:
System.ArgumentException: Value does not fall within the expected range.
  at PaintDotNet.SystemLayer.NativeInterfaces.IShellItem.GetDisplayName(SIGDN sigdnName, String& ppszName)
  at PaintDotNet.SystemLayer.VistaFileDialog.GetPathName(IShellItem shellItem)
  at PaintDotNet.SystemLayer.VistaFileOpenDialog.get_FileNames()
  at PaintDotNet.DocumentWorkspace.ShowFileDialog(Control owner, IFileDialog fd)
  at PaintDotNet.DocumentWorkspace.ChooseFiles(Control owner, String[]& fileNames, Boolean multiselect, String startingDir)
  at PaintDotNet.Actions.OpenFileAction.PerformAction(AppWorkspace appWorkspace)
  at PaintDotNet.AppWorkspace.PerformAction(AppWorkspaceAction performMe)
  at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  at PaintDotNet.PdnMenuItem.OnClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ToolStrip.WndProc(Message& m)
  at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Link to comment
Share on other sites

Wow, fixing this involves a lot more code than I originally thought. But that's fine.

I should have a fix for the v3.07 release, which should be later this month, or early May.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...