Commit graph

551 commits

Author SHA1 Message Date
Jeremy Soller
f8830814c1
Replace use of blocking function on search results channel, fixes #601 2025-01-16 17:56:13 -07:00
Jason Rodney Hansen
5e65ca6d0b Fix resetting shift select range
Before this fix the following steps would not work correctly:

1. Select a range with shift click.
2. Select a single item that's in the currently selected range, without
   holding shift.
3. Hold shift and click another item to select a new range.

Instead of the item selected in step 2 being the start or end of the
range, the original range from step one is used to get the start or end
of the new range.

This fix makes sure the range gets reset when selecting an item in step
2.
2025-01-14 19:21:24 -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
Jeremy Soller
199632580c
Update dependencies 2025-01-14 08:54:43 -07:00
Jason Rodney Hansen
9e3e65e721 Add more plain text mime types when copying files
This allows the full path of the copied file to be pasted as text into
more applications.
2025-01-14 08:49:40 -07:00
Jason Rodney Hansen
f252db7415 Fix left clicking in empty folder to clear context menu 2025-01-14 08:48:54 -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
Jeremy Soller
e69e84567b
Update dependencies 2025-01-13 09:03:23 -07:00
Jason Rodney Hansen
76a3dd6279 Fix crash for dialog in debug mode
`Subscription::map` must be provided a non-capturing closure. A couple places
were passing capturing closures, which caused a debug assert failure. These
have been fixed.
2025-01-05 13:50:08 -07:00
Jason Rodney Hansen
7a49c40050 Fix 'New folder...' context menu item in save dialog 2025-01-05 12:08:00 -07:00
Jason Rodney Hansen
38e8aac622 Enable Open item location for Recents 2025-01-04 16:35:05 -07:00
tobinio
754abbf9ae update search on events 2024-12-31 11:49:07 +01:00
tobinio
d00fc75e8c use parent of file/folder instead of tab location for renaming 2024-12-30 20:33:15 +01:00
Jeremy Soller
ee7954e8d6
Merge pull request #685 from CaelusV/show_hidden
Fix 'Show hidden files' toggle being reset when tab config is updated
2024-12-18 09:19:59 -07:00
CaelusV
bc147f4885 Fix Show Hidden Files 2024-12-09 02:21:26 +01:00
Josh Megnauth
1646b78415
Unset show_details on close too
I didn't notice that the `close` button didn't set `show_details`. Oops.

On the bright side, this is overall cleaner since it fixes a todo.
2024-12-05 00:35:29 -05:00
Josh Megnauth
74e08fa2ce
Unset show_details on escape
Closes: #674
2024-12-04 01:02:43 -05:00
Ashley Wulber
4aa130a473
refactor: overlap handling for surfaces that occupy a corner
The panels should always be centered, but some apps might not be.
2024-12-03 17:14:56 -05:00
Ashley Wulber
42c0d58c6c feat: avoid overlap with panel 2024-12-03 12:43:15 -05:00
Vukašin Vojinović
c6f6edbd5a update libcosmic 2024-12-02 18:06:42 +01:00
Vukašin Vojinović
06150f7d44
fix(context menu): increase vertical item padding (#665)
This matches the context menu to the designs.
2024-11-24 19:24:24 -07:00
Vukašin Vojinović
1f19fe7015
Fix applet window styling (#652)
* fix(applet windows): fix styling

* update libcosmic

Updates context drawers to use the new API.
2024-11-22 08:47:16 -07:00
Jeremy Soller
b4b5e78abe
Move progress into controller to make it not block 2024-11-20 08:15:31 -07:00
Jeremy Soller
c4a08ead84
Fix tests 2024-11-19 20:18:37 -07:00
Jeremy Soller
24a7f2bc31
Select result of operation, fixes #500 2024-11-19 20:17:58 -07:00
Jeremy Soller
4ba7d7bbfc
Fix tests 2024-11-19 08:15:47 -07:00
Jeremy Soller
2f08c05afe
Refactor directory size to allow for cancellation 2024-11-15 17:30:25 -07:00
Jeremy Soller
6c0c89e1f7
Update metadata that walkdir already collects 2024-11-15 16:07:27 -07:00
Jeremy Soller
0c43b0b342
Fix more bugs in directory size calculation 2024-11-15 15:37:31 -07:00
francesco-gaglione
5f944a3059
Directories sizes in details view (#656)
* translations

* folder size in details view

* dir size subscription

* waldir instead of recursion

* opitonal size with calculating label waiting for subscription

* removed not necessary code

* Bug fixes

---------

Co-authored-by: Jeremy Soller <jackpot51@gmail.com>
2024-11-15 15:24:52 -07:00
Jeremy Soller
b76484457f
Add optional support to use jemalloc as allocator 2024-11-15 11:10:30 -07:00
Jeremy Soller
49595d87f3
Improve display of paused state 2024-11-15 11:07:26 -07:00
Jeremy Soller
2109c8c3d6
Implement pause for operations 2024-11-15 09:47:03 -07:00
Jeremy Soller
8068688f48
Add tooltip to cancel button 2024-11-15 08:34:03 -07:00
Jeremy Soller
1e8ad9ecb6
Fix display of multiple in progress transfers 2024-11-15 08:12:48 -07:00
Jeremy Soller
d0f0da2eef
Update desktop configs cached in locations, fixes #608 2024-11-15 08:03:06 -07:00
Jeremy Soller
f6ce791c4c
Set exclusive_zone to 0 for applet, fixes #560, #561 2024-11-15 07:38:33 -07:00
Jeremy Soller
bbfe5cbdf3
Improve tracking of progress operations 2024-11-14 16:07:45 -07:00
Jeremy Soller
6a79e8178f
Implement progress and cancellation for extraction 2024-11-14 16:00:35 -07:00
Jeremy Soller
00ed3115cc
Implement progress notification and cancellation 2024-11-14 14:43:45 -07:00
Jeremy Soller
8885d295bb
Support --no-daemon flag to prevent daemonizing 2024-11-14 09:28:13 -07:00
Jeremy Soller
738e6eeb7b
Disable text previews until performance issues are fixed 2024-11-14 09:18:35 -07:00
Jeremy Soller
dacd37939e Let recursive copy or move determine what to do when crossing devices 2024-11-13 14:47:58 -07:00
Jeremy Soller
a32f25fa95
Remove fs_extra (#655)
* WIP Remove fs_extra

* Finish removing fs_extra
2024-11-13 14:36:11 -07:00
Vukašin Vojinović
b7ef7f852f fix(gallery): center text previews 2024-11-11 17:22:44 -07:00
Jeremy Soller
63126810b1
Fix compilation without desktop feature 2024-11-11 11:38:07 -07:00
Jeremy Soller
e8df9bf285
Update image crate and libcosmic 2024-11-11 09:14:03 -07:00
Josh Megnauth
5be3a951c7 Improved desktop entry menu
Currently, desktop entries display a generic menu with items that aren't
relevant to apps. This patch improves the menu by removing the unneeded
items and listing desktop specific entries such as actions. For example,
right clicking a Firefox desktop entry will show the action to open a
private tab.

Should compose well with pop-os/cosmic-applibrary#179
2024-11-10 06:37:52 -07:00