Jump to content

Welcome to CustomsForge
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account

Learn & Play Rocksmith!

Want to play the songs you love? Registration and the use of this website is 100% free.
The only thing you need is a legal copy of Rocksmith 2014 w/ a cable. Click here to buy it.
 
Having trouble logging in or registering? Please click "Support" below.



Photo

1.4.1.8 Sorting issues


8 replies to this topic

#1
Offline   cfg

cfg

    Beginner Guitarist

  • Member
  • Pip
  • 14 posts
  • 0 thanks
  • Rocksmith:Steam

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)

)



#2
Offline   cozy1

cozy1

    Master Peon

  • Rocksmith Custom Developer

  • PipPipPipPipPipPip
  • 871 posts
  • 178 thanks
  • LocationUSA
  • Rocksmith:Steam

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 Release of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Test Build of  Rocksmith Toolkit       Latest Beta of Customs Forge Song Manager

 

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 saying ... make sure you are using the latest Test/Beta build before submitting bug reports.


#3
Offline   cfg

cfg

    Beginner Guitarist

  • Member
  • Pip
  • 14 posts
  • 0 thanks
  • Rocksmith:Steam

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.



#4
Offline   cfg

cfg

    Beginner Guitarist

  • Member
  • Pip
  • 14 posts
  • 0 thanks
  • Rocksmith:Steam

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.



#5
Offline   cozy1

cozy1

    Master Peon

  • Rocksmith Custom Developer

  • PipPipPipPipPipPip
  • 871 posts
  • 178 thanks
  • LocationUSA
  • Rocksmith:Steam

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 Release of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Test Build of  Rocksmith Toolkit       Latest Beta of Customs Forge Song Manager

 

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 saying ... make sure you are using the latest Test/Beta build before submitting bug reports.


#6
Offline   cfg

cfg

    Beginner Guitarist

  • Member
  • Pip
  • 14 posts
  • 0 thanks
  • Rocksmith:Steam

Try this one:

 

Search for a band

sort by album

click last song in the list

click any other song

search resets

 

I noticed it doesnt trigger a SaveSettingsToFile anymore but still Resets Search.



#7
Offline   cozy1

cozy1

    Master Peon

  • Rocksmith Custom Developer

  • PipPipPipPipPipPip
  • 871 posts
  • 178 thanks
  • LocationUSA
  • Rocksmith:Steam

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 Release of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Test Build of  Rocksmith Toolkit       Latest Beta of Customs Forge Song Manager

 

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 saying ... make sure you are using the latest Test/Beta build before submitting bug reports.


#8
Offline   cfg

cfg

    Beginner Guitarist

  • Member
  • Pip
  • 14 posts
  • 0 thanks
  • Rocksmith:Steam

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.



#9
Offline   cozy1

cozy1

    Master Peon

  • Rocksmith Custom Developer

  • PipPipPipPipPipPip
  • 871 posts
  • 178 thanks
  • LocationUSA
  • Rocksmith:Steam

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 Release of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Test Build of  Rocksmith Toolkit       Latest Beta of Customs Forge Song Manager

 

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 saying ... make sure you are using the latest Test/Beta build before submitting bug reports.




Reply to this topic