1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:38:12 +00:00
serenity/Userland/Libraries
Caoimhe d05cb50b24 LibGUI: Only clear TreeView::m_view_metadata when required
Prior to this commit, we were always clearing the TreeView's metadata,
even if it wasn't needed. Now, we only clear it if the callee says that
we should invalidate indices.

This fixes an issue in FileManager (#6903), where updating the file
system by creating/deleting any file/folder would cause the tree to
collapse completely.

This may be more of a 'patch' than an actual fix, since I don't have a
lot of experience with `GUI::TreeView` or `GUI::Model`, but it doesn't
appear to break any other `TreeView` use-cases and using FileManager is
now much better than it was before :^)
2023-05-02 07:24:55 +02:00
..
LibArchive LibArchive: Read Tar archive headers through read_value 2023-03-13 15:16:20 +00:00
LibAudio LibAudio: Wait for enqueuer thread to start before poking its event loop 2023-04-26 19:17:04 +01:00
LibC LibC: Add Ipv6 address checking macros to netinet/in.h 2023-04-29 08:55:16 -06:00
LibCards LibGfx+Userland: Add width_rounded_up() helper 2023-04-15 15:24:50 +02:00
LibChess LibChess: Add the ucinewgame command 2023-04-28 05:55:51 +02:00
LibCMake LibSyntax+Libraries: Replace TextStyle with Gfx::TextAttributes 2023-03-15 14:55:49 +01:00
LibCodeComprehension LibCpp: Support for parsing c-style fixed arrays (arr[2]) 2023-04-26 09:40:25 +01:00
LibCompress LibCompress: Error on truncated uncompressed DEFLATE blocks 2023-04-12 14:02:13 -04:00
LibConfig LibCore: Big first step towards pluggable Core::EventLoop 2023-04-25 14:48:40 +02:00
LibCore LibCore: Implement integral ArgsParser positionals through a template 2023-04-30 21:12:46 +03:30
LibCoredump LibCoredump+CrashReporter: Make CrashReporter work on AArch64 2023-04-23 14:30:59 +02:00
LibCpp LibCpp: Support for parsing c-style fixed arrays (arr[2]) 2023-04-26 09:40:25 +01:00
LibCrypt LibCrypt: Start installing headers again 2023-03-20 09:33:30 +01:00
LibCrypto LibTLS: Change CertificateKeyAlgorithm from enum to struct 2023-04-15 09:03:47 +03:30
LibDebug LibDebug: Support DW_FORM_ref_udata 2023-04-23 14:30:59 +02:00
LibDesktop Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
LibDeviceTree Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
LibDiff LibDiff: Make Diff::generate_only_additions take text as StringView 2022-12-20 10:58:54 +01:00
LibDNS AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted 2023-03-13 15:16:20 +00:00
LibDSP Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
LibEDID LibEDID: Fix compiler error when ENABLE_PNP_IDS_DOWNLOAD=OFF 2023-04-06 10:26:21 -04:00
LibELF LibELF: Report file path for unimplemented DYNAMIC tags 2023-04-30 14:10:01 +02:00
LibFileSystem LibFileSystem: Fix leak in read_path 2023-03-22 14:04:24 +00:00
LibFileSystemAccessClient Libraries: Convert DeprecatedFile usages to LibFileSystem 2023-03-24 10:58:43 +00:00
LibGemini AK+Everywhere: Change URL::path() to serialize_path() 2023-04-15 06:37:04 +02:00
LibGfx ICC: Mark Profile::to_pcs() and to_lab() const 2023-04-30 05:57:20 +02:00
LibGL AK: Remove infallible version of StringBuilder::to_byte_buffer 2023-03-09 15:51:00 +00:00
LibGLSL Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
LibGPU LibGPU: Remove DeprecatedString usage 2023-01-30 13:49:52 -05:00
LibGUI LibGUI: Only clear TreeView::m_view_metadata when required 2023-05-02 07:24:55 +02:00
LibHTTP AK+Everywhere: Change URL::path() to serialize_path() 2023-04-15 06:37:04 +02:00
LibIDL Libraries: Convert DeprecatedFile usages to LibFileSystem 2023-03-24 10:58:43 +00:00
LibImageDecoderClient LibImageDecoderClient: Fix minor const-correctness issue 2023-02-21 00:54:04 +01:00
LibIMAP Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
LibIPC LibCore: Big first step towards pluggable Core::EventLoop 2023-04-25 14:48:40 +02:00
LibJS LibJS+LibWeb: Explicitly mark ignored members in visit_edges methods 2023-04-30 06:04:33 +02:00
LibKeyboard LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
LibLine Userland: Remove serialize-to-JSON functions only used for Inspector 2023-04-25 14:48:40 +02:00
LibLocale Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
LibMain Everywhere: Explicitly link all binaries against the LibC target 2022-11-01 14:49:09 +00:00
LibManual LibManual: Allow paths that include subsections when creating PageNodes 2023-04-25 02:16:48 -06:00
LibMarkdown LibMarkdown: Avoid catastrophic backtracking in thematic break regex 2023-04-14 16:02:59 +01:00
LibPartition LibPartition: Make Kernel parts const-correct re: StorageDevice& 2023-02-21 00:54:04 +01:00
LibPCIDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibPDF Everywhere: Fix a few typos 2023-04-12 19:37:35 +02:00
LibProtocol LibCore: Simplify Core::Notifier by only allowing one event type 2023-04-25 14:48:40 +02:00
LibRegex LibRegex: Avoid calling GenericLexer::consume() past EOF 2023-04-14 12:33:54 +02:00
LibSanitizer LibC: Properly implement stack protectors 2022-11-01 14:49:09 +00:00
LibSoftGPU LibSoftGPU: Use multiplication instead of division for linear fog 2023-02-18 01:45:00 +01:00
LibSQL LibSQL: Handle statements with malformed exists expressions correctly 2023-04-25 08:32:21 -04:00
LibSymbolication LibSymbolication: Use Core::File instead of Core::DeprecatedFile 2023-04-27 07:27:14 +02:00
LibSyntax Spreadsheet+LibSyntax: Never insert spans directly 2023-04-14 10:00:52 +02:00
LibSystem Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00
LibTest LibTest: Add a EXPECT_APPROXIMATE_WITH_ERROR macro with custom error 2023-04-30 00:46:11 +02:00
LibTextCodec Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibThreading LibThreading: Create WorkerThread class run a single task concurrently 2023-04-23 23:14:30 +02:00
LibTimeZone AK+LibTimeZone: Add debug only formatter for Optional 2023-04-28 09:42:28 +02:00
LibTLS AK+Everywhere: Disallow Error::from_string_view(FooString) 2023-04-28 05:55:20 +02:00
LibUnicode AK+LibUnicode: Implement String::equals_ignoring_case without allocating 2023-03-08 18:57:53 +00:00
LibUSBDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibVideo LibVideo/VP9: Make inter-prediction fast path accumulators 32-bit 2023-04-30 05:58:27 +02:00
LibVirtGPU LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LibVT LibCore: Simplify Core::Notifier by only allowing one event type 2023-04-25 14:48:40 +02:00
LibWasm AK+Everywhere: Disallow Error::from_string_view(FooString) 2023-04-28 05:55:20 +02:00
LibWeb LibWeb: Make XMLDocumentBuilder create elements with the HTML namespace 2023-05-01 15:22:55 +02:00
LibWebSocket AK+Everywhere: Change URL::path() to serialize_path() 2023-04-15 06:37:04 +02:00
LibWebView Browser+Ladybird+LibWeb: Port content filters to String 2023-04-22 12:32:40 +02:00
LibX86 LibX86: Remove i686 support 2022-12-28 11:53:41 +01:00
LibXML Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
CMakeLists.txt LibFileSystem: Create LibFileSystem 2023-03-21 19:03:21 +00:00