1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:38:13 +00:00
serenity/Userland/Applications
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
..
3DFileViewer Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
About Meta: Tidy up include path and alphabetic ordering 2021-06-28 16:29:02 +02:00
AnalogClock Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Assistant Assistant: Use static_cast instead of dynamic_cast 2021-06-30 11:44:52 +02:00
Browser LibWeb+Browser: Support DOM Inspector for OutOfProcessWebView 2021-06-29 23:06:48 +02:00
Calculator Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Calendar Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
CrashReporter CrashReporter: Fix bogus register alignment on x86_64 2021-07-01 11:35:52 +02:00
Debugger Utilities: Fix Build on x86_64 2021-06-30 19:05:51 +02:00
DisplaySettings DisplaySettings: Adjust FontSettings.gml to work with dark themes 2021-07-01 00:10:25 +02:00
FileManager FileManager: Remove clicked breadcrumbs for non-existing directories 2021-07-01 17:15:26 +04:30
FontEditor Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Help Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
HexEditor AK+Everywhere: Remove "null state" of LexicalPath 2021-06-30 11:13:54 +02:00
ImageViewer Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
IRCClient Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
KeyboardMapper Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
KeyboardSettings Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Magnifier Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
MouseSettings Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
PDFViewer PDFViewer: Update the page number when scrolling between pages 2021-06-22 06:26:44 +04:30
Piano Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
PixelPaint AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
Run Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
SoundPlayer AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
SpaceAnalyzer Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Spreadsheet AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
SystemMonitor AK: Rename downcast<T> => verify_cast<T> 2021-06-24 19:57:01 +02:00
Terminal Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
TextEditor AK+Everywhere: Remove "null state" of LexicalPath 2021-06-30 11:13:54 +02:00
ThemeEditor Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
VideoPlayer LibVideo: Migrate to east-const style & apply other minor fixes 2021-06-30 11:03:51 +02:00
Welcome Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
CMakeLists.txt Meta: Tidy up include path and alphabetic ordering 2021-06-28 16:29:02 +02:00