Commit graph

295 commits

Author SHA1 Message Date
Jeremy Soller
4e826c6ef0
Merge pull request #872 from johnoye742/master
Removed unused imports
2025-03-10 08:05:00 -06:00
Jeremy Soller
509a0afb98
Merge pull request #869 from ellieplayswow/feature/open-with-subclasses
Bugfix to open-with dialog to use a scrollable with a managed height
2025-03-10 08:04:22 -06:00
ellieplayswow
eac6acc74f Only show one (default) line 2025-03-10 12:51:50 +00:00
johnoye742
8810d0d7ef Removed unused imports 2025-03-10 12:07:32 +01:00
ellieplayswow
1ab7615335 Fixing incorrect height calculation on scrollable 2025-03-10 09:08:37 +00:00
ellieplayswow
7d3b59f72a Use scrollable for open-with dialog and calculate height to ensure open button is visible 2025-03-10 02:15:23 +00:00
Jeremy Soller
c5c1b325f0
Merge pull request #867 from jasonrhansen/broken-favorites
Handle broken favorites in sidebar
2025-03-09 17:00:30 -06:00
ellieplayswow
6ec37975de cargo fmt 2025-03-09 21:14:47 +00:00
ellieplayswow
b288cd0581 simplifying list generation for mime types, applying xdg-mime patch & cargo fmt 2025-03-09 21:13:27 +00:00
ellieplayswow
e3226d8dc2 Adding in new functionality to open / open-with based off of MIME subclasses where needed 2025-03-09 21:12:51 +00:00
Jason Rodney Hansen
6a8f487a35 Handle broken favorites in sidebar 2025-03-09 12:58:47 -06:00
Jason Rodney Hansen
0d76f7819e Improve updating favorites when moving multiple dirs
Now update_favorites only needs to be called a single time after moving
a bunch of files.
2025-03-08 17:11:34 -07:00
Jason Rodney Hansen
08a3ac8620 Update favorites when dir is renamed or moved 2025-03-08 15:17:23 -07:00
Jason Rodney Hansen
cfedaef0cb Implement "Open in new window" for Trash, Recents, Network 2025-03-07 15:33:31 -07:00
Jason Rodney Hansen
7d111169e0 Only show Show Details for Path locations 2025-03-07 14:43:41 -07:00
Jason Rodney Hansen
51c5c6f8e6 Only show Empty Trash when there is trash 2025-03-07 14:35:00 -07:00
Jason Rodney Hansen
97abc76c8d Add open in new tab for Network and Recents 2025-03-07 14:29:00 -07:00
Jeremy Soller
f95762bd44
Type to search or seek (#859)
* WIP: type to search/seek

* Implement type to seek
2025-03-06 20:44:05 -07:00
Shehriyar Qureshi
b71e21d346 fix(app): header actions glitch in preview page
extend actions vec once on first selection only.
2025-03-05 22:26:37 +05:00
Shehriyar Qureshi
eaef410939 fix(app): close preview on single click
match on Preview (the type) to close preview context in single click.

matching on Preview type prevents the equality check failing b/w
ContextPage::Preview(Some,_) and ContextPage::Preview(None,_)
2025-03-04 16:54:38 +05:00
Shehriyar Qureshi
1c6c93c130 Revert "fix(app): close selected preview on single click"
This reverts commit b25d0b5ff7.
2025-03-04 16:54:13 +05:00
Shehriyar Qureshi
b25d0b5ff7 fix(app): close selected preview on single click
set context_page to preview with Some(entity) instead of None when "Show
details" is selected.

Preview of None entity would fail first equality check in
Message::ToggleContextPage as `Preview(None, ..) != Preview(Some, ..)`
.

This fixes the two clicks needed to close Preview of Selected as first
click would update self.context_page from Preview(None,..) to
Preview(Some,..) and next click would pass equality and close Preview.
2025-03-04 14:50:54 +05:00
Jeremy Soller
c8aa80fb2f
Add operation to permanently delete trash items, fixes #841 2025-03-03 13:44:06 -07:00
Jeremy Soller
3cce822ffc
Fix multiple operation progress, fixes #842 2025-03-03 13:05:11 -07:00
Josh Megnauth
e34dcf1372
Respect military time config from time applet
Closes: #775
2025-02-24 01:02:30 -05:00
ellieplayswow
1e5123af17 Fixing issue with scroll speed subscription not working in dev profile, removing speed code as redundant 2025-02-19 19:30:40 +00:00
ellieplayswow
9d60ca1564 Moving autoscroll to a subscription on fixed timer + calculating speed based off of distance to edge 2025-02-19 11:29:19 +00:00
ellieplayswow
7c6df15f08 Adding in new functionality to scroll the file window when dragging outside the viewport of the scrollable 2025-02-17 23:53:12 +00:00
Ashley Wulber
62deeb549b
fix: set the active tab in desktop mode when the window is focused 2025-02-12 13:56:59 -05:00
Vukašin Vojinović
51f41ac9ee improv(preview_view): set max height for previews
This sets the max height of the previews to THUMBNAIL_SIZE, to match text previews.
Prevents the previews from becoming too large when the desktop details window is resized horizontally.
2025-02-07 01:44:01 +01:00
Jeremy Soller
abf95c0189
Add icon size and grid spacing for desktop, fixes #751 2025-02-06 09:26:20 -07:00
Jeremy Soller
22bca8632b
Format 2025-02-04 15:41:16 -07:00
Jeremy Soller
2f668b0bd6
Merge pull request #779 from ellieplayswow/feature/compress-extract-password-zips
adding in support to extract/compress zip files with passwords
2025-02-03 13:25:12 -07:00
ellieplayswow
8ef9f8ec4b adding in cancel action for password required dialog 2025-02-03 15:55:04 +00:00
ellieplayswow
a4d7a377d3 quick cleanup to some untranslated strings, moving zip extract dir creation order 2025-02-03 15:46:10 +00:00
ellieplayswow
22552c658f adding in support to extract/compress zip files with passwords 2025-01-29 21:19:03 +00:00
mkljczk
16d6316118 Merge remote-tracking branch 'upstream/master' into auth-dialog-submit
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-01-27 20:31:16 +01:00
Jeremy Soller
fbaf94fc94
Merge pull request #719 from mkljczk/anonymous-fix
Only display 'Connect anonymously' when available
2025-01-27 11:56:33 -07:00
mkljczk
c89d877b52 Focus text input when in NetworkAuth modal
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-01-27 11:54:08 -07:00
mkljczk
f43f500302 Do not display already-exists message when name isn't changed
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-01-27 11:53:02 -07:00
Josh Megnauth
cfe045827d chore(clippy): app.rs, mime_app.rs 2025-01-27 11:51:32 -07:00
Jeremy Soller
ceab7835ad
Clean up mime app handling and make it possible to set default application, part of #325 2025-01-24 11:55:56 -07:00
mkljczk
32c54d4375 Merge remote-tracking branch 'upstream/master' into anonymous-fix
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-01-22 17:47:34 +01:00
Jeremy Soller
1467351211
Merge branch 'master' of https://github.com/pop-os/cosmic-files 2025-01-22 09:07:18 -07:00
Jeremy Soller
2095d3c7f2
If file is passed on command line, show parent folder and select it 2025-01-22 09:06:41 -07:00
Josh Megnauth
6a6a494012 chore(clippy): mouse_area, controller & more
Fixes lints for:
* src/operation/controller.rs
* src/mouse_area.rs
* src/mounter/mod.rs
2025-01-19 10:55:56 -07:00
Jason Rodney Hansen
85929c44ce Add move to first/last item with home/end keys 2025-01-14 17:26:18 -07:00
ToBinio
59ea01fc0c
always check if a search is active when rescanning (#712) 2025-01-14 09:09:41 -07:00
Jason Rodney Hansen
4c522b0eee Close context menu when window loses focus 2025-01-14 08:48:54 -07:00
Josh Megnauth
0f5163acc6 fix: Strip more file names in extractor
Closes: #698

I ended up fixing a few Clippy lints while tracking down this problem.
It turns out that the issue was way simpler than I assumed: ".tar.xz"
needed to be added to a slice of extensions to strip.
2025-01-14 08:48:02 -07:00