Jump to content

1.4.1.8 Sorting issues


cfg

Recommended Posts

2 cases:

 

1.

filter by tuning
sort by artist
go to last entry
using keyboard use up arrow
sorting changes

 

it should not change, just move to the previous song.

 

(just got an "Unhandled exception error" while trying this.) Exception Text is at bottom.

 

 

2.

sort by any column
go to last entry
using keyboard use up arrow
triggers 2 events:
[2017/11/16 12:11:49]: Saved File: appSettings.xml
[2017/11/16 12:11:49]: Saved File: dgvSongsMaster.xml
why?

 

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at CustomsForgeSongManager.UControls.SongManager.dgvSongsMaster_Sorted(Object sender, EventArgs e)
   at System.Windows.Forms.DataGridView.OnSorted(EventArgs e)
   at System.Windows.Forms.DataGridView.SortInternal(IComparer comparer, DataGridViewColumn dataGridViewColumn, ListSortDirection direction)
   at System.Windows.Forms.DataGridView.Sort(DataGridViewColumn dataGridViewColumn, ListSortDirection direction)
   at DataGridViewTools.DataGridViewAutoFilterColumnHeaderCell.SortByColumn()
   at DataGridViewTools.DataGridViewAutoFilterColumnHeaderCell.OnMouseDown(DataGridViewCellMouseEventArgs e)
   at System.Windows.Forms.DataGridViewCell.OnMouseDownInternal(DataGridViewCellMouseEventArgs e)
   at System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
   at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.DataGridView.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)

)

Link to comment
Share on other sites

  • Developer

1.  I am unable to reproduce the issue you are having following your work flow.  The data grid behaves as expected on my machine.

 

2.  Will remove unnecessary SaveSettingsToFile in next beta revision.

Are you tired of AV False Positives???  Now accepting donations on my website (Click Here)  Your donation will be used towards buying a code signing certificate.   CGT is now compatible and safe to use with Rocksmith® 2014 Remastered ... 

 

Latest Build of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Build of Rocksmith Toolkit       Latest Build of Customs Forge Song Manager (CFSM)

 

All bug reports and help requests please include your: OS, CPU, AV, .NET Framework versions along with a description of the issue (include screenshots of error if possible).  It should go without having to say ... make sure you are using the latest build before submitting bug reports or asking for help.

 

*  Remember to use your magic words (please and thank you) if you would like a response.  Don't use phrases like 'thanks anyhow' as it is demeaning.

Link to comment
Share on other sites

2.

I played with it some more and this might be a more general case.

 

Open CFSM.
Sort songs by artist, Title, Album, etc.
highlight last song in the list
click on Any other song.
Sorting resets and causes a SaveSettingsToFile.

 

[2017/11/17 18:17:01]: Saved File: appSettings.xml
[2017/11/17 18:17:01]: Saved File: dgvSongsMaster.xml

 

It is issue #2 but it also resets sorting. It also shows it happens with mouse and any song.

 

Not sure if the save is what causes the sorting to be reset. If it is, it is an easy fix.

Link to comment
Share on other sites

1.

filter by Anything
sort by anything
go to last song
using mouse click on any other song or keyboard use up arrow
Song Order changes

from

Artist1 Song1
Artist1 Song2
Artist1 Song3
Artist1 Song4

to

Artist1 Song3
Artist1 Song4
Artist1 Song1
Artist1 Song2

again,

Artist1 Song1
Artist1 Song2
Artist1 Song3
Artist1 Song4

etc.

Link to comment
Share on other sites

  • Developer

Still not able to reproduce.  Clicking or moving to the last song or any other song after filtering and sorting does not change sort order on my machine.  Clear the 'My Documents/CFSM' folder and try again.

Are you tired of AV False Positives???  Now accepting donations on my website (Click Here)  Your donation will be used towards buying a code signing certificate.   CGT is now compatible and safe to use with Rocksmith® 2014 Remastered ... 

 

Latest Build of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Build of Rocksmith Toolkit       Latest Build of Customs Forge Song Manager (CFSM)

 

All bug reports and help requests please include your: OS, CPU, AV, .NET Framework versions along with a description of the issue (include screenshots of error if possible).  It should go without having to say ... make sure you are using the latest build before submitting bug reports or asking for help.

 

*  Remember to use your magic words (please and thank you) if you would like a response.  Don't use phrases like 'thanks anyhow' as it is demeaning.

Link to comment
Share on other sites

  • Developer

Ah, completely different and it is reproducible.  Will fix in next beta revision.

Are you tired of AV False Positives???  Now accepting donations on my website (Click Here)  Your donation will be used towards buying a code signing certificate.   CGT is now compatible and safe to use with Rocksmith® 2014 Remastered ... 

 

Latest Build of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Build of Rocksmith Toolkit       Latest Build of Customs Forge Song Manager (CFSM)

 

All bug reports and help requests please include your: OS, CPU, AV, .NET Framework versions along with a description of the issue (include screenshots of error if possible).  It should go without having to say ... make sure you are using the latest build before submitting bug reports or asking for help.

 

*  Remember to use your magic words (please and thank you) if you would like a response.  Don't use phrases like 'thanks anyhow' as it is demeaning.

Link to comment
Share on other sites

Some improvement but I still have issues.

 

Deleted everything and installed clean.

 

3. When I open CFSM the list is sorted by Artist and the arrow is in the Artist Column.

go to last song

click any other song

Sorting Resets, Sorting Arrow is no longer in any column.

 

4.

If I Filter items, I can move around without problems.

When I Click a Column to sort, there is no Sorting Arrow in the column.

Link to comment
Share on other sites

  • Developer

I am not able to reproduce all your observations.  Assuming you deleted the CFSM folder in 'My Document', then CFSM loads songs according to how they are ordered/stored in the 'dlc' folder (mine are ordered by file name).  The songs are not sorted initially on any column and no sort glyph (arrow) will be shown if you are starting with a 'clean install'.   If you see a sort arrow then you do not have a 'clean install'.

 

The sort arrow will appear after you have selected a column to sort on.  The sort arrow is only visible if the column is wide enough to show the sort arrow.  If the column is too narrow then the sort arrow is not (can not be) shown.  You can widen columns to see the sort arrow if need.

 

'Sorting Resets, Sorting Arrow is no longer in any column.'  Sorting does not reset.  The sorting glyph does become invisible.  This seems to be a limitation of VS which may be caused by CFSM custom filtering method.  I am unaware of a fix for this now known limitation.

 

'If I Filter items, I can move around without problems.  When I Click a Column to sort, there is no Sorting Arrow in the column.'  CFSM uses custom filtering methods which prevent the sorting glyph from being shown after a filter is applied.  When a filter is applied, sorting still functions, but the sort glyph can not be show.  If you clear the filter and then click on a column header the sort glyph will be shown again.  This is an expected behavior.

Are you tired of AV False Positives???  Now accepting donations on my website (Click Here)  Your donation will be used towards buying a code signing certificate.   CGT is now compatible and safe to use with Rocksmith® 2014 Remastered ... 

 

Latest Build of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Build of Rocksmith Toolkit       Latest Build of Customs Forge Song Manager (CFSM)

 

All bug reports and help requests please include your: OS, CPU, AV, .NET Framework versions along with a description of the issue (include screenshots of error if possible).  It should go without having to say ... make sure you are using the latest build before submitting bug reports or asking for help.

 

*  Remember to use your magic words (please and thank you) if you would like a response.  Don't use phrases like 'thanks anyhow' as it is demeaning.

Link to comment
Share on other sites

  • 5 months later...
  • Developer

@cfg  Try the latest beta version of CFSM.  Added a new 'Arrangements' tab.  You should be able to do what you want now as you have access to all song arrangements and data.

Are you tired of AV False Positives???  Now accepting donations on my website (Click Here)  Your donation will be used towards buying a code signing certificate.   CGT is now compatible and safe to use with Rocksmith® 2014 Remastered ... 

 

Latest Build of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Build of Rocksmith Toolkit       Latest Build of Customs Forge Song Manager (CFSM)

 

All bug reports and help requests please include your: OS, CPU, AV, .NET Framework versions along with a description of the issue (include screenshots of error if possible).  It should go without having to say ... make sure you are using the latest build before submitting bug reports or asking for help.

 

*  Remember to use your magic words (please and thank you) if you would like a response.  Don't use phrases like 'thanks anyhow' as it is demeaning.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. - Privacy Policy