summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-08-30properties: Use last-window-closed signalPeter Eisenmann
Makes the application close when only properties windows are open. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/work_items/4227
2026-08-30progress-persistence-handler: Use last-window-closed signalPeter Eisenmann
2026-08-30previewer: Use last-window-closed signalPeter Eisenmann
2026-08-30application: Add last-window-closed signalPeter Eisenmann
2026-08-30filename-validator: Announce feedback text to screen readersFelipe Borges
When validation feedback changes (e.g. invalid characters in a filename), announce the text to screen readers via the active window. This is handled entirely within NautilusFilenameValidator, so all consumers (rename popover, compress dialog, new folder dialog) get screen reader support automatically. Unfortunately, for this to work, we end up with a weird indirection on NautilusFilenameValidator, where we access the GApplication to get its active window so that we can make the proper gtk_accessible_announce call with a widget references. This is useful for the renaming files/folder popover, naming compressed files in the CompressDialog, and the file chooser. Related to #3960
2026-08-30files-view: Restore focus and selection if a file gets removedLukáš Tyrychtr
During removal of a file from the model (which can be even an external rename), the focus jumps to the toolbar, which is unexpected. Save the selected file and the focused state of the files list so we can restore it after handling the filesystem events. Fixes #4204. Co-Authored-By: Peter Eisenmann <p3732@getgoogleoff.me>
2026-08-30files-view: Drop explicit Keypad actionsPeter Eisenmann
Since [1] gtk_widget_class_add_binding_action handles key aliases, so there is no longer a need to add them explicitly. GTK commit was pointed out by Sebastian Keller in [2]. Technically GTK version 4.23.2 is required, but version 51 will be packaged together with GTK version 4.24 anyway. [1] https://gitlab.gnome.org/GNOME/gtk/-/commit/0253063640b0bb1af5e5cf3db563c273ff018fd7 [2] https://gitlab.gnome.org/GNOME/nautilus/-/work_items/4278#note_2849761
2026-08-30windows: Trim memory on window closePeter Eisenmann
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/work_items/4297
2026-08-28file-util: Fix GQueue leaksPeter Eisenmann
When early returning the queue objects leaked GFiles. Pointed out by Khalid in [1] [1] https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/2075#note_2854308
2026-08-28files-view: Fix a leakKhalid Abu Shawarib
2026-08-28query: Use defintion instead of stringKhalid Abu Shawarib
2026-08-28test/files-view: Rework slot and view initializationKhalid Abu Shawarib
Turns out the slot and view were disjointed since the slot has its own inner view which is empty by default and going to ignore the view we created if the function nautilus_window_slot_open_location_full() gets called. Added a new function that makes sure that they are connected correctly. This fixes the open-item-location action test.
2026-08-28properties: Fix NautilusImage template error when running testsKhalid Abu Shawarib
2026-08-28files-view: Don't update menu on trash change when not viewing trashKhalid Abu Shawarib
2026-08-27context-menu: Drop view-related menu entriesPeter Eisenmann
These don't belong in the folder context menu.
2026-08-26file-operations: Use recursive-dir-iteratorPeter Eisenmann
2026-08-26search-engine: Drop redundant debug logPeter Eisenmann
2026-08-26search-engine-simple: Use recursive-dir-iteratorPeter Eisenmann
2026-08-26file-util: Add async directory recursion helperPeter Eisenmann
Asynchronously iterates a directory recursively, calling a given callback for each encountered file, as well as another callback when iterating is finished.
2026-08-26file-chooser: Add shortcut to focus filename entryPeter Eisenmann
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/work_items/3597
2026-08-21files-view: Simplify constructorPeter Eisenmann
These checks are from before the inner views were made independent widgets in [1]. [1] c653f8809092223dc3ae0366bfd6f63ca85e9c3c
2026-08-21files-view: Simplify directory assignmentsPeter Eisenmann
2026-08-21files-view: Inline single-use functionPeter Eisenmann
Only called in one place since the previous commit.
2026-08-21files-view: Always delay clearing of the viewPeter Eisenmann
Previously this was only done when showing search results, but it also makes any kind of navigating more pleasant, since there is no brief flashing of a blank folder. This is somewhat inspired by a change in sushi ([1]) that also delays UI loading by 200ms for the effect of smoother transitions. [1] https://gitlab.gnome.org/GNOME/sushi/-/commit/800b31508474490ef4906c6bb524affcb8719256
2026-08-21previewer: Add rename and trash DBus subscriptionsPeter Eisenmann
Allows sushi to initiate trashing and renaming of files. Related-to: https://gitlab.gnome.org/GNOME/sushi/-/work_items/117 Related-to: https://gitlab.gnome.org/GNOME/sushi/-/work_items/118
2026-08-21previewer: Add NavigateTo DBus subscriptionPeter Eisenmann
Allows sushi to open directories in the view they are previewed from. The signal provides the uri to be navigated to, along with an activation token. The uri is sanity-checked to be a directory, otherwise the request is ignored. Related-to: https://gitlab.gnome.org/GNOME/sushi/-/work_items/132
2026-08-21previewer: Prepare for multiple DBus subscriptionsPeter Eisenmann
Allow for more than one type of subscription by tracking subscriptions in an array Also add helper functions to shorten the event handler callbacks.
2026-08-19window: Fix tab actions interaction with overviewKhalid Abu Shawarib
Old assumption that tab menu doesn't appear except with +2 tab is not valid anymore, so we need to disable more actions.
2026-08-19app-chooser: Fix empty list statePeter Eisenmann
Use a GtkStack instead of an overlay. Also drop redundant GtkWidget function reimplementations.
2026-08-19app-chooser: Use type-to-search patternPeter Eisenmann
Capture inputs from the whole dialog and focus search entry on changes.
2026-08-19app-chooser-widget: Use seen apps table for added checkPeter Eisenmann
2026-08-19app-chooser-widget: Only show apps in one sectionPeter Eisenmann
Repurpose the seen_apps hash table across all add_section calls. The default section stays unchanged.
2026-08-19app-chooser-widget: Reduce content_type checksPeter Eisenmann
2026-08-19app-chooser-widget: Drop WIN32 checkPeter Eisenmann
Not a platform we support anyway.
2026-08-11network-address-entry: Mark it invalid on the a11y layer when appropriateLukáš Tyrychtr
Mark the entry invalid on the a11y layer as well when we add the error CSS class.
2026-08-07previewer: Attempt using any sushi versionPeter Eisenmann
By default nautilus uses the sushi version that matches the build profile. Devel profile will try to use Devel version of sushi, but also has a fallback to non-Devel version. This adds a fallback from non-Devel nautilus to Devel version of sushi.
2026-08-06properties: Show parent folder row when dialog is detachedHanzala Sohrab
When opening the properties dialog from a view, the "Open Parent Folder" row is intentionally hidden because the user is already viewing the parent directory. However, if the user detaches the properties dialog into an independent window, the window is no longer anchored to that specific view. This commit clears the current view location reference when popping out the window and recalculates the location info visibility, optimally updating and revealing the parent folder row if needed. properties: Show parent folder row when dialog is detached When opening the properties dialog from a view, the "Open Parent Folder" row is intentionally hidden because the user is already viewing the parent directory. However, if the user detaches the properties dialog into an independent window, the window is no longer anchored to that specific view. This commit clears the current view location reference when popping out the window and recalculates the location info visibility, optimally updating and revealing the parent folder row if needed.
2026-08-05Remove trailing periodMartin Wagner
2026-08-05window: Set px unit to sidebar in smallest breakpointProgramejt
2026-08-05general: Use folder-projects-symbolic icon for Projects bookmarkLorenzo Ubaldi
2026-08-05application: Track last active window and use it for new locationsCorey Berla
This allows Nautilus to open new locations in existing windows as tabs instead of creating a new window every time, especially when triggered via DBus interfaces. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/work_items/1687
2026-08-05window: Remove width limit of sidebarProgramejt
window: Remove width limit of sidebar
2026-08-04app-chooser-widget: Fix position of related appsPeter Eisenmann
Otherwise they get sorted after "other" apps.
2026-08-01files-view: Add an empty document menu entry in case of empty templates ↵Khalid Abu Shawarib
directory
2026-08-01window: Update restore-tab action statePeter Eisenmann
2026-08-01nautilus-window: Hide AdwTabBar when the window is smallAutomeris naranja
Now that there is AdwTabOverview and AdwTabButton, hide AdwTabBar when the window. The tab management will be done through AdwTabOverview, which is better suitable for small screens.
2026-08-01nautilus-window: Add AdwTabButtonAutomeris naranja
Add an AdwTabButton at the bottom toolbar to open AdwTabOverview. This makes reaching AdwTabOverview much easier in a phone, for example, which improves UX and adaptiveness.
2026-08-01style: Fix AdwTabOverview tab thumbnails having glitchy border cornersAutomeris naranja
Since the .view style class is set directly in NautilusWindow, the .view .thumbnail style class also affects AdwTabOverview, which is a child of NautilusWindow. This causes the AdwTabOverview tab thumbnails to have glitchy border corners because the checkerboard pattern is also being applied to them. Co-authored-by: Alice Mikhaylenko <alicem@gnome.org>
2026-08-01nautilus-window: Add AdwTabOverviewAutomeris naranja
AdwTabOverview helps managing tabs, specially when there are lots of them open. Co-authored-by: Khalid Abu Shawarib <kas@gnome.org>
2026-07-31properties: Hide redundant 'Open Parent Folder' optionHanzala Sohrab
Currently, when a user opens the properties dialog for a file from within its parent folder, the 'Open Parent Folder' button is displayed. This is redundant, as the user is already actively viewing the parent folder. The option is primarily useful when opening properties from a search result, recent files, or starred files. This commit updates the NautilusPropertiesWidget to be context-aware. It tracks the location from which the properties dialog was spawned and dynamically hides the 'Open Parent Folder' row if the file's parent location matches the active view location. Closes #4077