1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 23:47:43 +00:00
serenity/Userland/Libraries
Sam Atkins f5e63f785a FileManager: Remove clicked breadcrumbs for non-existing directories
This fixes #8204.

In the case that we just navigated up from a directory because it was
deleted, we can detect that easily by checking if the child directory
exists, and then remove the relevant breadcrumbs immediately.

However, it's harder to notice if a child directory for a breadcrumb
is deleted at another time. Previously, clicking that breadcrumb would
crash, but now we check to see if the directory it points to actually
exists. If it doesn't, we pop that breadcrumb and any after it, off
of the breadcrumbbar.

This may not be the ideal solution - maybe it should detect that the
directory is gone automatically - but it works and doesn't involve
managing additional directory watchers.
2021-07-01 17:15:26 +04:30
..
LibArchive LibArchive: Move method implementations away from header 2021-05-17 18:14:05 +01:00
LibAudio LibAudio: Implement a basic FLAC loader 2021-06-25 20:48:14 +04:30
LibC LibC: Fix jmp_buf layout on x86_64 2021-07-01 12:05:59 +02:00
LibCards LibCards: Support non-alternating colour patience games 2021-06-24 10:32:53 +02:00
LibChess LibChess: Compact the Defenitions of various chess related types 2021-06-22 23:09:42 +02:00
LibCompress LibCompress: Discard GZip NAME & COMMENT optional strings 2021-05-18 08:09:21 +02:00
LibCore AK+Everywhere: Remove "null state" of LexicalPath 2021-06-30 11:13:54 +02:00
LibCoreDump LibCoreDump: Change Backtrace debug info cache to member variable 2021-06-30 15:15:15 +02:00
LibCpp LibCpp: Update Parser test data after Type=>NamedType change 2021-06-29 00:07:19 +04:30
LibCrypt Everywhere: Add a blank line after copyright header where missing 2021-05-15 00:27:09 +01:00
LibCrypto LibCrypto: Replace incorrect operator in SignedBigInteger::bitwise_and 2021-07-01 11:37:16 +02:00
LibDebug AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
LibDesktop LibDesktop: Add spawn() to AppFiles 2021-06-28 16:29:02 +02:00
LibDiff AK+Everywhere: Consolidate String::index_of() and String::find() 2021-05-24 11:59:18 +02:00
LibDl Kernel: Disable __thread and TLS on x86_64 for now 2021-06-30 15:13:30 +02:00
LibELF LibELF: Check for missing PT_LOAD alignment header value 2021-07-01 10:50:49 +02:00
LibGemini LibGemini: Replace fprintf(stderr) with warnln() 2021-05-31 17:43:54 +01:00
LibGfx LibGfx: Don't constexpr functions returning Strings 2021-06-24 17:35:49 +04:30
LibGL LibGL: Implement very basic version of glGetFloatv 2021-06-09 10:49:38 +02:00
LibGUI FileManager: Remove clicked breadcrumbs for non-existing directories 2021-07-01 17:15:26 +04:30
LibHTTP LibHTTP: Finish the request up on TLS connection finish 2021-06-30 01:23:25 +04:30
LibImageDecoderClient Userland: Remove dummy IPC methods 2021-06-24 00:38:58 +02:00
LibIMAP LibIMAP: Support for remaining IMAP commands 2021-06-11 23:58:28 +04:30
LibIPC Userland: Disambiguate dependent types 2021-06-24 17:35:49 +04:30
LibJS LibJS: Move Binding struct into the DeclarativeEnvironment class 2021-07-01 12:31:39 +02:00
LibKeyboard LibKeyboard: Remove an unnecessary #include when building with KERNEL 2021-06-30 11:30:28 +02:00
LibLine LibLine: Recalculate the origin on resize 2021-06-23 19:04:08 +02:00
LibM LibM: Implement nearbyint, nearbyintl and nearbyintf 2021-06-08 17:29:57 +02:00
LibMarkdown LibMarkdown: Wrap non-inline code blocks in <pre> 2021-06-09 18:06:54 +01:00
LibPCIDB Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibPDF LibPDF: Convert to east-const to comply with the recent style changes 2021-06-12 22:45:01 +04:30
LibProtocol LibProtocol: Use URL class in RequestClient::start_request argument 2021-06-06 16:00:11 +02:00
LibPthread Kernel: Disable __thread and TLS on x86_64 for now 2021-06-30 15:13:30 +02:00
LibRegex LibRegex: Make regex::Regex move-constructible and move-assignable 2021-06-30 08:18:28 +04:30
LibSanitizer LibSantizer: Read $UBSAN_OPTIONS to set deadliness on first print 2021-06-29 07:17:34 +04:30
LibSQL LibSQL: Make lexer and parser more standard SQL compliant 2021-06-24 00:36:53 +02:00
LibSymbolication LibSymbolication: Fix incorrect argument type for symbolicate() 2021-06-24 09:27:13 +02:00
LibSyntax LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
LibSystem Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LibTest AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
LibTextCodec LibTextCodec: Add Turkish (aka ISO-8859-9, Windows-1254) encoding 2021-06-23 16:32:47 +01:00
LibThreading Userland: Rename LibThread => LibThreading 2021-05-22 18:54:22 +02:00
LibTLS LibCrypto: Replace from_base{2,8,10,16}() & to_base10 with from_base(N) 2021-06-29 16:55:54 +01:00
LibTTF Everywhere: codepoint => code point 2021-06-01 10:01:11 +02:00
LibUSBDB LibUSBDB: Fix vendor id decoding 2021-06-18 19:41:25 +04:30
LibVideo LibVideo: Migrate to east-const style & apply other minor fixes 2021-06-30 11:03:51 +02:00
LibVT AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
LibWasm AK: Undo bogus Variant::downcast() rename 2021-06-26 21:27:58 +02:00
LibWeb LibWeb: Show "x86_64" in the user agent string on x86_64 :^) 2021-07-01 12:15:52 +02:00
LibWebSocket AK+Everywhere: Disallow constructing Functions from incompatible types 2021-06-06 00:27:30 +04:30
LibX86 Debugger: Compile on x86_64 2021-06-30 19:05:51 +02:00
CMakeLists.txt Userland/Libraries: Add LibUSBDB library 2021-06-18 17:04:57 +04:30