Giter VIP home page Giter VIP logo

Comments (8)

robbyxp1 avatar robbyxp1 commented on June 12, 2024

Not reproducible at the moment.
There is no specialised sort comparer for this grid
All columns are text boxes.

Any information in what was in the grid when this happened?

from eddiscovery.

Hurricane235 avatar Hurricane235 commented on June 12, 2024

Not reproducible at the moment. There is no specialised sort comparer for this grid All columns are text boxes.

Any information in what was in the grid when this happened?

I've done a bit more testing, and I'm not sure if this is normal behaviour or not, but one on the bodies in the grid has no data, Class and Distance (sorting by Distance also causes crash it seems) are populated with ?. But if I select to pull the data from EDSM so the fields contain actual data, I can sort the columns without crashing.

I'm still relatively new to the game so does this just mean I've not scanned it yet? Or has my local data bugged somewhere?

from eddiscovery.

robbyxp1 avatar robbyxp1 commented on June 12, 2024

The ? means it knows about the body somehow (ApproachBody etc), but you have not scanned it. Scanning it would reveal details.

from eddiscovery.

Hurricane235 avatar Hurricane235 commented on June 12, 2024

Ok, that makes sense. Have you been able to replicate this at all, or do need further information?

When I'm able, I'll try scanning all bodies in the system and see if it lets me sort the grid.

from eddiscovery.

Eahlstan avatar Eahlstan commented on June 12, 2024

I can replicate this, so nothing needed from your side.
Thanks for the report.

from eddiscovery.

Eahlstan avatar Eahlstan commented on June 12, 2024
System.ArgumentException
  HResult=0x80070057
  Message=Das Objekt muss den Typ "String" haben.
  Source=mscorlib
  StackTrace:
   at System.String.CompareTo(Object value)
   at System.Windows.Forms.DataGridViewRowCollection.RowComparer.CompareObjects(Object value1, Object value2, Int32 rowIndex1, Int32 rowIndex2)
   at System.Windows.Forms.DataGridViewRowCollection.RowArrayList.Pivot(Int32 left, Int32 center, Int32 right)
   at System.Windows.Forms.DataGridViewRowCollection.RowArrayList.CustomQuickSort(Int32 left, Int32 right)
   at System.Windows.Forms.DataGridViewRowCollection.Sort(IComparer customComparer, Boolean ascending)
   at System.Windows.Forms.DataGridView.SortInternal(IComparer comparer, DataGridViewColumn dataGridViewColumn, ListSortDirection direction)
   at System.Windows.Forms.DataGridView.OnColumnHeaderMouseClick(DataGridViewCellMouseEventArgs e)
   at System.Windows.Forms.DataGridView.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at EDDiscovery.Program.Main() in F:\Git\EDDiscovery\Original\EDDiscovery\EDDiscovery\Program.cs:line 36

Happens if you try to sort a column that has the mentioned ? instead of real data.

from eddiscovery.

robbyxp1 avatar robbyxp1 commented on June 12, 2024

I can too

from eddiscovery.

robbyxp1 avatar robbyxp1 commented on June 12, 2024

Thank you, will be fixed in 17.1 out shortly

from eddiscovery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.