Skip to content

Invalidated layout bugs #39

@NickSpag

Description

@NickSpag

Couple things:

  • In general, feels like there are some invalidation issues on the tabs. particularly when opening a link in new tab with right-click 'open in window'
  • Caught a crash when closing tabs:

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'attempting to invalidate an item at an invalid indexPath: <NSIndexPath: 0x81f36a648fc99215> {length = 2, path = 0 - 10} globalIndex: 10 numItems: 6'
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff37addb57 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff709245bf objc_exception_throw + 48
2 CoreFoundation 0x00007fff37b06d08 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff3a1f8e9d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 UIFoundation 0x00007fff68b834f7 -[NSCollectionViewData invalidateItemsAtIndexPaths:] + 757
5 UIFoundation 0x00007fff68bd3bb5 __54-[_NSCollectionViewCore _invalidateLayoutWithContext:]_block_invoke_2 + 69
6 UIFoundation 0x00007fff68af0cbb -[_NSCollectionViewCore _invalidateWithBlock:] + 58
7 UIFoundation 0x00007fff68aeff16 -[_NSCollectionViewCore _invalidateLayoutWithContext:] + 525
8 UIFoundation 0x00007fff68aefce5 -[NSCollectionViewLayout invalidateLayoutWithContext:] + 79
9 UIFoundation 0x00007fff68aefae7 -[NSCollectionViewFlowLayout invalidateLayoutWithContext:] + 1901
10 ??? 0x00000001138a2e01 0x0 + 4622790145
11 Roam.exe.dylib 0x0000000111ae5cd8 Roam_macOS_RCollectionViewDelegate_2_TStorage_REF_TOutput_REF_ItemsSelected_AppKit_NSCollectionView_Foundation_NSSet + 312
12 ??? 0x00000001157a50f8 0x0 + 4655304952
13 Roam 0x000000010cf8660e mono_jit_runtime_invoke + 1550
14 Roam 0x000000010d0bb6a8 mono_runtime_invoke_checked + 136
15 Roam 0x000000010d0bff7e mono_runtime_invoke + 142
16 Roam 0x000000010d1b6afe _ZL31native_to_managed_trampoline_50P11objc_objectP13objc_selectorPP11_MonoMethodS0_S0_j + 734
17 Roam 0x000000010d1b680d -[Roam_macOS_RCollectionViewDelegate_2 collectionView:didSelectItemsAtIndexPaths:] + 77
18 UIFoundation 0x00007fff68bc0182 -[_NSCollectionViewCore _selectItemsAtIndexPaths:animated:notifyDelegate:] + 430
19 AppKit 0x00007fff356387e3 -[NSCollectionView _selectItemsAtIndexPaths:scrollPosition:notifyDelegate:] + 160
20 AppKit 0x00007fff354762ba -[NSCollectionViewMouseSession commitSelectionAndClearHighlighting] + 391
21 AppKit 0x00007fff35477820 -[NSCollectionViewMouseSession handleEvent:] + 952
22 AppKit 0x00007fff3563cdca -[NSCollectionView mouseUp:] + 72

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions