Coppermine Stats
Photo Albums
• Albums: 308
• Pictures: 2451 · Views: 820725 · Votes: 1316
· Comments: 86
|
Bug Report- pick your targetPost your bug reports or feature requests here!
View previous topic :: View next topic |
Author |
Message |
SyberShooter Member
Joined: Jul 23, 2010 Posts: 93 Location: Arizona
|
Posted: Mon Sep 26, 2011 6:56 am Post subject: Bug Report- pick your target |
|
Got a new one unexpectedly... pick your target
I find I am increasingly going from target to target to find one that works for the one I am entering. Sometimes I make mods to targets- changes to the pattern, color or even grid size to get more relative space to show my impressive large groups. Over time my name sequence has grown and gotten messy and I want to neaten things up and at the same time give my target collection descriptive names since I can't remember which pattern target 8c happens to be (I made grid & color mods to 8a & 8b).
This morning I decided I was going to try renaming some targets I had recently modified. I figured that upon start-up PB wouldn't be able to find the stored target name and would probably revert to the default and that I would have to go thru and reselect the target used by its new name... in due time.
What actually happened is that sneaky PB had copies of the targets by their old names stored somewhere and just recreated a new copy in the PB folder (except for one...Target13b.bmp).
As soon as I navigated to a load that used target13b, it threw this exception.
Unhandled Exception-Parameter is not valid,
************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(String filename)
at PointBlank.ControlTarget.SetData(TargetTreeNode node)
at PointBlank.ControlDatabase.TreeView_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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)
Another interesting behavior.... Once I selected the new target name for a target page that was giving me the error, several other pages using that same target changed their picture to show the correct target image but continued to throw the error until I specifically selected to use that target...
-> One program mod that would be cool but probably require a lot of coding would be to show a page of thumbnails on the change-target selection page,instead of the current single selection.
-> Another idea would be to allow a way to rename existing targets and have the new name replicate to all data that use that particular target.
another not-a-big-deal issue that only people like me would probably find.
|
|
Back to top |
|
|
DallanC Site Admin
Joined: Jan 18, 2005 Posts: 3571 Location: Utah
|
Posted: Sun Oct 30, 2011 5:09 pm Post subject: Re: Bug Report- pick your target |
|
Missing targets get copied back down when the patcher is run. I added a new check to make sure the associated target exists on start up, if it doesnt it will default back to the original target.
-DallanC
|
|
Back to top |
|
|
|
All times are GMT - 7 Hours
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|