Commit graph

683 commits

Author SHA1 Message Date
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
Jeremy Soller
90e393ef5e
Merge pull request #868 from jasonrhansen/edit-location
Edit location when clicking on current directory
2025-03-09 16:59:48 -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
0604df39ca Edit location when clicking on current directory
This makes it so clicking on the name of the current directory (the last
item) in the breadcrumbs puts it into edit mode. Before, it wouldn't do
anything, because you're already in the dir. Now it does something useful. This
change matches the behavior of Gnome Files.
2025-03-09 14:07:05 -06: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
40a02bb2fc
Ensure skip applies to cleanup operations, fixes #854 2025-03-07 09:29:48 -07:00
Jeremy Soller
63ab36af8c
Remove accidental println 2025-03-07 09:10:53 -07:00
Jeremy Soller
2228ea35ea
Compact consecutive search locations in history, fixes #759 2025-03-07 08:44:43 -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
Jeremy Soller
1880d0a270
Format 2025-03-03 13:04:50 -07:00
Shehriyar Qureshi
2e31d99a0d fix(tab): prevent showing future date in trash items
trash items were showing future dates due to `now + time_deleted`.

Fixed by subtracting `time_deleted` instead
2025-03-01 13:46:23 +05:00
Josh Megnauth
e34dcf1372
Respect military time config from time applet
Closes: #775
2025-02-24 01:02:30 -05:00
Jeremy Soller
cd43d722d6
Merge pull request #816 from ellieplayswow/bugfix/drag-scroll-virtual-cursor-desync
Bugfix to how virtual cursor is calculated before DragEnd when drag-scrolling
2025-02-21 06:49:03 -07:00
johnoye742
42d4213207 Fixes issue #817 with thumbnails
Fixes the issue with thumbnails by explicitly setting the icon widget width to always be the minimum preventing overflow.
2025-02-21 10:47:10 +01:00
ellieplayswow
9a474d8eca Removing unused import 2025-02-20 21:38:25 +00:00
ellieplayswow
87b87f9a83 Change calculation of virtual drag area to work with subscription by not relying on mouse movements 2025-02-20 21:31:42 +00: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
169d8ef365 Fixing issue with x-axis desyncing 2025-02-18 13:58:00 +00:00
ellieplayswow
e774ea1774 Fixing issue where swapping between list & grid view 'desync' the virtual cursor 2025-02-18 13:32:54 +00:00
ellieplayswow
4a3b95e615 Fixing some jankiness by decoupling scroll offset vs 'virtual' cursor position & resetting after drag end 2025-02-18 13:14:40 +00:00
ellieplayswow
23596a1646 Implementing 'virtual cursor offset' to help track & dynamically update drag rect 2025-02-18 11:54:39 +00:00
ellieplayswow
df74f085ce Adding in resize listener for gridview 2025-02-18 00:07:22 +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
Jeremy Soller
a092aa2383
Merge pull request #803 from pop-os/libcosmic
chore: update libcosmic with mmap threshold fix
2025-02-12 13:35:56 -07:00
Jeremy Soller
f63b0f097b
Merge pull request #804 from pop-os/fix-desktop-active-tab
fix: set the active tab in desktop mode when the window is focused
2025-02-12 13:35:17 -07: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
Michael Aaron Murphy
64c591ed19
chore: update libcosmic with mmap threshold fix 2025-02-12 19:19:19 +01:00
Jeremy Soller
17b0c665e7
Improve permissions descriptions 2025-02-12 10:45:20 -07:00
Jeremy Soller
e96258917a
Merge pull request #794 from git-f0x/master
Set max height for previews
2025-02-11 09:38:02 -07:00
l-const
ba98547acb
Fix unit test - fedora build. 2025-02-11 18:33:59 +02:00
Jeremy Soller
440308fdea
Adjust style of completions again 2025-02-07 11:01:20 -07:00
Jeremy Soller
bc4f267c60
Do not show completion if already on an existing path 2025-02-07 10:26:19 -07:00
Jeremy Soller
868aa79127
Limit completions to 8 2025-02-07 10:21:49 -07:00
Jeremy Soller
121e9f5cf4
Improve style of completions 2025-02-07 09:53:53 -07:00