Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NBug] Cannot access a disposed object.Object name: 'NativeListV... #11668

Open
ExterminatorX99 opened this issue Apr 4, 2024 · 1 comment
Open

Comments

@ExterminatorX99
Copy link

Environment

  • Git Extensions 4.2.1.17611
  • Build b0c0b28
  • Git 2.44.0.windows.1
  • Microsoft Windows NT 10.0.19045.0
  • .NET 6.0.26
  • DPI 96dpi (no scaling)
  • Portable: False

Issue description

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'NativeListView'.
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.ListView.CreateHandle()
   at GitUI.UserControls.NativeListView.CreateHandle() in C:\projects\gitextensions\GitUI\UserControls\NativeListView.cs:line 21
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.CreateGraphics()
   at GitUI.FileStatusList.<UpdateColumnWidth>g__GetWidth|130_0() in C:\projects\gitextensions\GitUI\UserControls\FileStatusList.cs:line 1276
   at GitUI.FileStatusList.UpdateColumnWidth() in C:\projects\gitextensions\GitUI\UserControls\FileStatusList.cs:line 1278
   at GitUI.FileStatusList.UpdateFileStatusListView(Boolean updateCausedByFilter) in C:\projects\gitextensions\GitUI\UserControls\FileStatusList.cs:line 1110
   at GitUI.FileStatusList.FilterFiles(String value) in C:\projects\gitextensions\GitUI\UserControls\FileStatusList.cs:line 1753
   at GitUI.FileStatusList.<InitialiseFiltering>b__154_0(String filterText) in C:\projects\gitextensions\GitUI\UserControls\FileStatusList.cs:line 1795
   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 54
   at System.Reactive.Concurrency.ObserveOn`1.Context._.OnNextPosted(Object value) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.ObserveOn.cs:line 117

Compare previous commit with current branch. Close the compare window.

Steps to reproduce

  • Compare previous commit to current branch
  • Close compare window

Did this work in previous version of GitExtensions?

No response

Diagnostics

No response

Copy link

Potential duplicates:

  • #6901
  • #8272
  • #11063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant