Commit graph

367 commits

Author SHA1 Message Date
Vukašin Vojinović
4d642ee3fa improv(app): use about widget 2025-09-11 08:15:26 -06:00
Vukašin Vojinović
f95869a631 chore: migrate to Rust 2024 edition 2025-09-11 08:15:26 -06:00
Ryan Brue
a76f7f8685 Fix tests
Tested with cargo test --all-features

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-08-20 17:13:43 -04:00
Jeremy Soller
0bf1a21351
Remove unnecessary mount code, fixes #1141 2025-08-15 11:46:51 -06:00
Jeremy Soller
116774d5fa
Use Location::path_opt for checking for location path 2025-08-15 11:38:26 -06:00
Jeremy Soller
50d721479d
Allow search on gvfs drives, fixes #1104 2025-08-15 11:30:51 -06:00
Jeremy Soller
be67fd8e0d
Use Extract To dialog for supported archive types by default 2025-08-15 11:23:24 -06:00
Jeremy Soller
fb74be9a70
Restore tab scroll position, fixes #1115 2025-08-15 11:01:08 -06:00
Jeremy Soller
5e0645d1c2
Filter window events by window id, fixes #1118 2025-08-15 09:23:29 -06:00
Joshua Megnauth
007a4cf95c
Fix trash watcher regression (#1122)
Recursively watching the trash directories can be slow, but not watching
at least the "files" folder (e.g. .Trash-1000/files) leads to missed
events.

I also simplified the events parsing.
2025-08-03 06:37:20 -06:00
Mitchel Stewart
293350092c
thumbnail: Support jxl and plumbing for future formats. (#1058)
* add plumbing for additional thumbnailers

* remove bad logging and fmt

* fix bad logging message

* add decoding ram limits

* add configuration for thumbs

* cleanups

* fix rebase fails
2025-07-30 15:45:53 -06:00
Josh Megnauth
dfb2ca7443 Watch .recently-used.xbel
Closes: #1072
2025-07-28 09:30:24 -06:00
Ashley Wulber
6d9e6c1d20 fix(desktop): use the window id for context menus 2025-07-25 15:47:37 -04:00
Jeremy Soller
a6e369df0f
Enable context menu popups in dialog, close context menu when location changes 2025-07-24 11:34:41 -06:00
Jeremy Soller
605f44763b
On wayland, place context menus into popups, fixes #1090 2025-07-24 10:51:46 -06:00
Jorge Menjivar
050e043867 Remove old TODO comment 2025-07-24 10:25:42 -06:00
Jorge Menjivar
cb36a25060 Fix slow startup
Remove unnecessary watch of sub-directories in trash bins, which causes really long startup times
2025-07-24 10:25:42 -06:00
Josh Megnauth
35a9bd5347 Use trash-rs' is_empty more
Fixes two instances where enumerating trash items isn't needed.
2025-07-24 10:25:16 -06:00
Jeremy Soller
05ea61ed72
Do not attach empty URI to mounter items, fixes #1079, fixes #1085 2025-07-19 12:04:11 -06:00
Jeremy Soller
0a9bcdd5fd
Fix unused tasks 2025-07-19 11:58:06 -06:00
Ashley Wulber
8aa85ba1e3 fix: typo 2025-07-18 09:02:36 -04:00
Jeremy Soller
73e1d7ce52 Move desktop dialogs to their own windows 2025-07-17 10:15:42 -06:00
Ashley Wulber
08367c9ea6 feat: handle opening network location in new window 2025-07-15 13:15:45 -06:00
Ashley Wulber
c7e9828d7b feat: retry opening network locations after mounting 2025-07-15 13:15:45 -06:00
Jason Rodney Hansen
f98e4c1820 Open file on double-click in "Open With" 2025-07-11 11:33:44 -06:00
Jason Rodney Hansen
54b884e5f8 Add ability to remove files from Recents 2025-07-11 09:38:13 -06:00
Jeremy Soller
b44bef59c0
Fix build 2025-07-10 15:00:52 -06:00
Jeremy Soller
7524487ba7
Significantly optimize drag select performance 2025-07-10 13:57:41 -06:00
Jeremy Soller
b7c9ed8dff
Implement auto scroll in mouse area, improves performance 2025-07-10 11:52:42 -06:00
Jeremy Soller
5e4d4523f4
Only build widgets for visible items 2025-07-10 10:52:57 -06:00
Ashley Wulber
19c2cefd8a fix(dialog): header close button 2025-07-09 15:28:47 -06:00
Jeremy Soller
3566040bac
Fix warnings 2025-07-08 09:14:48 -06:00
Ashley Wulber
e4ffec63a1 refactor: apply limit on the number of persisted sort names 2025-07-03 19:34:48 +00:00
Ashley Wulber
84b73b0bdc refactor: move sort names to state 2025-07-03 15:13:11 +00:00
Ashley Wulber
499ce1a7ec refactor: avoid task for save sort names when debouncing 2025-07-03 15:13:11 +00:00
Ashley Wulber
01bf55865c feat: persist sort options for each location 2025-07-03 15:13:11 +00:00
Ashley Wulber
6a2bd1faf1 fix: add eject button for context menus on mount point 2025-07-01 00:25:58 +00:00
ellieplayswow
aba90279e6
add ability to pass appid through to file dialogs (#1042)
* dialog: add new Dialog::create() method with new DialogSettings struct to allow passing app_id from portal; deprecating Dialog::new()

* dialog: remove deprecation, move to builder pattern, add path_opt and kind options to DialogSettings

* dialog: instances of -> DialogSettings to -> Self
2025-06-27 16:26:24 -06:00
Jeremy Soller
cefa82f4e9 Drop dbus-config, update libcosmic, and use system_theme_update 2025-06-23 11:37:22 -06:00
Gwen Lg
b0e89cd5e3
fix some typos in comment or var name (#1027)
indicated by `typos` tool : https://github.com/crate-ci/typos/
2025-06-18 16:40:55 -06:00
Joshua Megnauth
ec685bd185
Save/simplify show hidden items (#1026)
Closes: #1022, #605
See: #982
Original PR: #36

This commit reimplements saving the "show hidden" files setting. I
simplified the implementation by making the toggle global. My original
PR (#36) implemented per tab show hidden, but that complicates saving
configs which is why (I think?) why the saving the toggle was scrapped.
2025-06-18 16:35:39 -06:00
Ashley Wulber
36a5ce2002 fix: proper feature gate 2025-06-18 14:32:07 -04:00
Jeremy Soller
051001b9ea
Implement setting permissions, fixes #325 2025-05-16 09:39:53 -06:00
Jeremy Soller
a34f727913
Fall back to permanently delete on remote shares, part of #909 2025-05-15 11:30:35 -06:00
Jeremy Soller
3b34ba8907
Add reload folder key binding, fixes #146 2025-05-15 10:55:11 -06:00
Jeremy Soller
53143d0abc
Remove nb_items from permanently-delete-warning 2025-05-09 10:25:33 -06:00
Jeremy Soller
037190babd
Remove unused icon sizes argument from preview 2025-04-30 08:27:55 -06:00
Jeremy Soller
dd5fa29e9a
Adjust permanently delete dialog 2025-04-29 18:49:19 -06:00
Jeremy Soller
4f7d13f391
Merge branch 'permanently-delete' of https://github.com/gwen-lg/cosmic-files 2025-04-29 18:39:11 -06:00
Jeremy Soller
5573e36400
Copy to external drives when drag and dropping, part of #828 2025-04-29 18:07:57 -06:00