Kuroba-Experimental icon indicating copy to clipboard operation
Kuroba-Experimental copied to clipboard

Deleting threads from the local thread archive?

Open sazabinightingale opened this issue 1 year ago • 5 comments

This might be an idiot question, but how do I deleted downloaded threads from the local thread archive? I can select the thread with a long press, is there supposed to be some sort of a dialogue box here that's not working for me? kuroba

sazabinightingale avatar Aug 07 '22 02:08 sazabinightingale

There should be a different bottom menu with actions. But for some reason it didn't appear for you and I wonder why.

K1rakishou avatar Aug 07 '22 07:08 K1rakishou

Well, here's a log after a fresh install of the newest version and selecting things in the local thread archive.

D/(15:18:47.019) KurobaEx | ChanTicker: StopTicker
D/(15:18:48.993) KurobaEx | ControllerNavigationManager: onCloseAllNonMainControllers()
D/(15:18:49.047) KurobaEx | ControllerNavigationManager: onControllerPushed(MainSettingsControllerV2)
D/(15:18:49.065) KurobaEx | AppModuleAndroidUtils: waitForLayout requested a re-layout by returning false
D/(15:18:49.086) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:18:49.086) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:18:49.086) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() done
D/(15:18:49.086) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:18:49.097) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:18:49.097) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() already completed, exiting
D/(15:18:54.952) KurobaEx | Chan: vvv App went background vvv
D/(15:18:54.953) KurobaEx | BookmarksManager: persistBookmarks eager called
D/(15:18:54.954) KurobaEx | ReplyManager: persistDrafts() persisting 2 out of 2
D/(15:18:54.955) KurobaEx | ReplyManager: persistDrafts() deleting old drafts
D/(15:18:54.955) KurobaEx | ReplyManager: persistDrafts() done persistedCount=0, deletedCount=0
D/(15:18:54.955) KurobaEx | ReplyManager: persistDrafts() took 1.847154ms
D/(15:18:54.956) KurobaEx | ThreadPresenter: onForegroundChanged(descriptor=CD{4chan/a}) calling stopTicker()
D/(15:18:54.956) KurobaEx | ChanTicker: stopTicker(resetCurrentChanDescriptor=false)
D/(15:18:54.956) KurobaEx | ApplicationVisibilityManager: onEnteredBackground() callback execution took 4.362462ms, callbacks count: 4
D/(15:18:54.957) KurobaEx | ThreadBookmarkLocalSource: persist(0)
D/(15:18:54.957) KurobaEx | StartActivity: stop
D/(15:18:54.959) KurobaEx | ThreadBookmarkLocalSource: persist() inserted/updated 0 bookmarks, deleted 0 bookmarks
D/(15:18:54.959) KurobaEx | BookmarksRepository: persist(0) took 2.890346ms
D/(15:18:54.969) KurobaEx | BookmarksManager: persistBookmarks eager finished
D/(15:18:54.987) KurobaEx | HistoryNavigationManager: persistNavigationStack async called
D/(15:18:54.987) KurobaEx | HistoryNavigationManager: persistNavigationStackInternal navStackCopy.size=2
D/(15:18:54.990) KurobaEx | NavHistoryLocalSource: persist(navHistoryStack.size=2)
D/(15:18:54.994) KurobaEx | HistoryNavigationRepository: persist(2) took 4.272ms
D/(15:18:54.995) KurobaEx | ChanTicker: StopTicker
D/(15:18:55.009) KurobaEx | HistoryNavigationManager: persistNavigationStack async finished
D/(15:25:31.034) KurobaEx | Chan: ^^^ App went foreground ^^^
D/(15:25:31.034) KurobaEx | ThreadPresenter: onForegroundChanged(descriptor=CD{4chan/a}) calling stopTicker()
D/(15:25:31.034) KurobaEx | ChanTicker: stopTicker(resetCurrentChanDescriptor=false)
D/(15:25:31.034) KurobaEx | ApplicationVisibilityManager: onEnteredForeground() callback execution took 342.731us, callbacks count: 4
D/(15:25:31.035) KurobaEx | StartActivity: start
D/(15:25:31.122) KurobaEx | ChanTicker: StopTicker
D/(15:25:33.032) KurobaEx | ControllerNavigationManager: onCloseAllNonMainControllers()
D/(15:25:33.112) KurobaEx | ControllerNavigationManager: onControllerPushed(LocalArchiveController)
D/(15:25:33.171) KurobaEx | AppModuleAndroidUtils: waitForLayout requested a re-layout by returning false
D/(15:25:33.216) KurobaEx | ImageLoaderV2: loadFromDisk() inputFilePath=/data/user/0/com.github.k1rakishou.chan/files/thread_downloader_storage/4chan_a_241114578/1659864600439032s.jpg, imageSize=FixedImageSize{180x300}
D/(15:25:33.256) KurobaEx | ImageLoaderV2: loadFromDisk() inputFilePath=/data/user/0/com.github.k1rakishou.chan/files/thread_downloader_storage/4chan_a_241114578/1659864600439032s.jpg, imageSize=FixedImageSize{180x300} success
D/(15:25:50.148) KurobaEx | ControllerNavigationManager: onCloseAllNonMainControllers()
D/(15:25:50.206) KurobaEx | ControllerNavigationManager: onControllerPushed(MainSettingsControllerV2)
D/(15:25:50.225) KurobaEx | AppModuleAndroidUtils: waitForLayout requested a re-layout by returning false
D/(15:25:50.239) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:25:50.239) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:25:50.239) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() done
D/(15:25:50.239) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:25:50.254) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:25:50.255) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() already completed, exiting
D/(15:25:54.709) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:25:54.710) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() already completed, exiting
D/(15:25:56.455) KurobaEx | ControllerNavigationManager: onControllerUnpresented(LoadingViewController)
D/(15:25:56.504) KurobaEx | ControllerNavigationManager: onControllerPresented(LoadingViewController)
D/(15:25:56.631) KurobaEx | ControllerNavigationManager: onControllerPushed(LogsController)
D/(15:27:32.328) KurobaEx | Chan: vvv App went background vvv
D/(15:27:32.329) KurobaEx | BookmarksManager: persistBookmarks eager called
D/(15:27:32.334) KurobaEx | ReplyManager: persistDrafts() persisting 2 out of 2
D/(15:27:32.335) KurobaEx | ReplyManager: persistDrafts() deleting old drafts
D/(15:27:32.335) KurobaEx | ReplyManager: persistDrafts() done persistedCount=0, deletedCount=0
D/(15:27:32.335) KurobaEx | ReplyManager: persistDrafts() took 1.888270ms
D/(15:27:32.336) KurobaEx | ThreadPresenter: onForegroundChanged(descriptor=CD{4chan/a}) calling stopTicker()
D/(15:27:32.336) KurobaEx | ChanTicker: stopTicker(resetCurrentChanDescriptor=false)
D/(15:27:32.338) KurobaEx | ApplicationVisibilityManager: onEnteredBackground() callback execution took 9.162923ms, callbacks count: 4
D/(15:27:32.338) KurobaEx | StartActivity: stop
D/(15:27:32.339) KurobaEx | ThreadBookmarkLocalSource: persist(0)
D/(15:27:32.341) KurobaEx | ThreadBookmarkLocalSource: persist() inserted/updated 0 bookmarks, deleted 0 bookmarks
D/(15:27:32.341) KurobaEx | BookmarksRepository: persist(0) took 2.848885ms
D/(15:27:32.360) KurobaEx | BookmarksManager: persistBookmarks eager finished
D/(15:27:32.387) KurobaEx | HistoryNavigationManager: persistNavigationStack async called
D/(15:27:32.388) KurobaEx | HistoryNavigationManager: persistNavigationStackInternal navStackCopy.size=2
D/(15:27:32.389) KurobaEx | ChanTicker: StopTicker
D/(15:27:32.391) KurobaEx | NavHistoryLocalSource: persist(navHistoryStack.size=2)
D/(15:27:32.395) KurobaEx | HistoryNavigationRepository: persist(2) took 4.570269ms
D/(15:27:32.427) KurobaEx | HistoryNavigationManager: persistNavigationStack async finished
D/(15:29:51.134) KurobaEx | Chan: ^^^ App went foreground ^^^
D/(15:29:51.134) KurobaEx | ThreadPresenter: onForegroundChanged(descriptor=CD{4chan/a}) calling stopTicker()
D/(15:29:51.134) KurobaEx | ChanTicker: stopTicker(resetCurrentChanDescriptor=false)
D/(15:29:51.134) KurobaEx | ApplicationVisibilityManager: onEnteredForeground() callback execution took 368.807us, callbacks count: 4
D/(15:29:51.135) KurobaEx | StartActivity: start
D/(15:29:51.227) KurobaEx | ChanTicker: StopTicker
D/(15:29:52.781) KurobaEx | ControllerNavigationManager: onCloseAllNonMainControllers()
D/(15:29:52.851) KurobaEx | ControllerNavigationManager: onControllerPushed(LocalArchiveController)
D/(15:29:52.907) KurobaEx | AppModuleAndroidUtils: waitForLayout requested a re-layout by returning false
D/(15:29:52.943) KurobaEx | ImageLoaderV2: loadFromDisk() inputFilePath=/data/user/0/com.github.k1rakishou.chan/files/thread_downloader_storage/4chan_a_241114578/1659864600439032s.jpg, imageSize=FixedImageSize{180x300}
D/(15:29:52.982) KurobaEx | ImageLoaderV2: loadFromDisk() inputFilePath=/data/user/0/com.github.k1rakishou.chan/files/thread_downloader_storage/4chan_a_241114578/1659864600439032s.jpg, imageSize=FixedImageSize{180x300} success
D/(15:29:57.873) KurobaEx | ControllerNavigationManager: onCloseAllNonMainControllers()
D/(15:29:57.936) KurobaEx | ControllerNavigationManager: onControllerPushed(MainSettingsControllerV2)
D/(15:29:57.956) KurobaEx | AppModuleAndroidUtils: waitForLayout requested a re-layout by returning false
D/(15:29:57.978) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:29:57.979) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:29:57.979) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() done
D/(15:29:57.980) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:29:57.998) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:29:57.998) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() already completed, exiting
D/(15:30:04.569) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:30:04.570) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() already completed, exiting
D/(15:30:05.440) KurobaEx | ControllerNavigationManager: onControllerUnpresented(LoadingViewController)
D/(15:30:05.495) KurobaEx | ControllerNavigationManager: onControllerPresented(LoadingViewController)
D/(15:30:05.662) KurobaEx | ControllerNavigationManager: onControllerPushed(LogsController)
D/(15:31:09.048) KurobaEx | Chan: vvv App went background vvv
D/(15:31:09.049) KurobaEx | BookmarksManager: persistBookmarks eager called
D/(15:31:09.050) KurobaEx | ReplyManager: persistDrafts() persisting 2 out of 2
D/(15:31:09.051) KurobaEx | ReplyManager: persistDrafts() deleting old drafts
D/(15:31:09.051) KurobaEx | ReplyManager: persistDrafts() done persistedCount=0, deletedCount=0
D/(15:31:09.053) KurobaEx | ReplyManager: persistDrafts() took 3.362077ms
D/(15:31:09.054) KurobaEx | ThreadPresenter: onForegroundChanged(descriptor=CD{4chan/a}) calling stopTicker()
D/(15:31:09.054) KurobaEx | ChanTicker: stopTicker(resetCurrentChanDescriptor=false)
D/(15:31:09.055) KurobaEx | ApplicationVisibilityManager: onEnteredBackground() callback execution took 6.143154ms, callbacks count: 4
D/(15:31:09.055) KurobaEx | StartActivity: stop
D/(15:31:09.063) KurobaEx | ThreadBookmarkLocalSource: persist(0)
D/(15:31:09.078) KurobaEx | ThreadBookmarkLocalSource: persist() inserted/updated 0 bookmarks, deleted 0 bookmarks
D/(15:31:09.078) KurobaEx | BookmarksRepository: persist(0) took 15.030230ms
D/(15:31:09.103) KurobaEx | BookmarksManager: persistBookmarks eager finished
D/(15:31:09.105) KurobaEx | HistoryNavigationManager: persistNavigationStack async called
D/(15:31:09.105) KurobaEx | HistoryNavigationManager: persistNavigationStackInternal navStackCopy.size=2
D/(15:31:09.106) KurobaEx | ChanTicker: StopTicker
D/(15:31:09.108) KurobaEx | NavHistoryLocalSource: persist(navHistoryStack.size=2)
D/(15:31:09.112) KurobaEx | HistoryNavigationRepository: persist(2) took 3.368538ms
D/(15:31:09.121) KurobaEx | HistoryNavigationManager: persistNavigationStack async finished
D/(15:31:57.346) KurobaEx | Chan: ^^^ App went foreground ^^^
D/(15:31:57.346) KurobaEx | ThreadPresenter: onForegroundChanged(descriptor=CD{4chan/a}) calling stopTicker()
D/(15:31:57.347) KurobaEx | ChanTicker: stopTicker(resetCurrentChanDescriptor=false)
D/(15:31:57.347) KurobaEx | ApplicationVisibilityManager: onEnteredForeground() callback execution took 811.885us, callbacks count: 4
D/(15:31:57.347) KurobaEx | StartActivity: start
D/(15:31:57.449) KurobaEx | ChanTicker: StopTicker
D/(15:31:58.629) KurobaEx | ControllerNavigationManager: onCloseAllNonMainControllers()
D/(15:31:58.702) KurobaEx | ControllerNavigationManager: onControllerPushed(LocalArchiveController)
D/(15:31:58.756) KurobaEx | AppModuleAndroidUtils: waitForLayout requested a re-layout by returning false
D/(15:31:58.796) KurobaEx | ImageLoaderV2: loadFromDisk() inputFilePath=/data/user/0/com.github.k1rakishou.chan/files/thread_downloader_storage/4chan_a_241114578/1659864600439032s.jpg, imageSize=FixedImageSize{180x300}
D/(15:31:58.811) KurobaEx | ImageLoaderV2: loadFromDisk() inputFilePath=/data/user/0/com.github.k1rakishou.chan/files/thread_downloader_storage/4chan_a_241114578/1659864600439032s.jpg, imageSize=FixedImageSize{180x300} success
D/(15:32:37.747) KurobaEx | ControllerNavigationManager: onCloseAllNonMainControllers()
D/(15:32:37.796) KurobaEx | ControllerNavigationManager: onControllerPushed(MainSettingsControllerV2)
D/(15:32:37.816) KurobaEx | AppModuleAndroidUtils: waitForLayout requested a re-layout by returning false
D/(15:32:37.839) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:32:37.839) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:32:37.839) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() done
D/(15:32:37.839) KurobaEx | screensBuiltOnce: notifyAllWaiters throwable==null: true, waiters=0
D/(15:32:37.880) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:32:37.881) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() already completed, exiting
D/(15:32:41.785) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() called
D/(15:32:41.786) KurobaEx | screensBuiltOnce: SuspendableInitializer initWithValue() already completed, exiting

------------------------------
Android API Level: 28
App Version: v1.3.13
Phone Model: samsung SM-G950F
Build type: Release
Flavor type: Stable
isLowRamDevice: false, isLowRamDeviceForced: false
MemoryClass: 256
App running time: 00:24:54.370
------------------------------
Current layout mode: SLIDE
Board view mode: LIST
Bottom navigation enabled: true
Prefetching enabled: false
Hi-res thumbnails enabled: false
mediaViewerMaxOffscreenPages: 1
CloudFlare force preload enabled: false
useMpvVideoPlayer: false
userAgent: Mozilla/5.0 (Linux; Android 9; SM-G950F Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/72.0.3626.121 Mobile Safari/537.36
kurobaExCustomUserAgent: KurobaEx v1.3.13
maxPostsCountInPostsCache: 13107
maxAmountOfPostsInDatabase: 75000
maxAmountOfThreadsInDatabase: 12500
diskCacheSizeMegabytes: 256
prefetchDiskCacheSizeMegabytes: 512
diskCacheCleanupRemovePercent: 25
ImageSaver root directory: null
OkHttp IPv6 support enabled: false
OkHttp HTTP/2 support enabled: true
Foreground watcher enabled: false
Background watcher enabled: false
Filter watch enabled: false
Thread downloader interval: 3600000
Thread downloader download media on metered network: false
------------------------------

sazabinightingale avatar Aug 07 '22 12:08 sazabinightingale

Do you have animations enabled in the OS settings?

K1rakishou avatar Aug 08 '22 13:08 K1rakishou

Do you have animations enabled in the OS settings?

Yes, should be the default settings and changing them doesn't fix this.

sazabinightingale avatar Aug 08 '22 22:08 sazabinightingale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 16 '22 02:09 stale[bot]

So I added more logs to the bottom panel at one point. If you still have this issue then I need you to post the logs again.

K1rakishou avatar Nov 08 '22 08:11 K1rakishou

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 22 '22 20:11 stale[bot]