Commit graph

238 commits

Author SHA1 Message Date
Jason Rodney Hansen
419a4dcdc7 Add properties to bread crumbs context menu 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
26423beaac Add middle-click in breadcrumbs to open in new tab 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
808de5b355 Add key binds for open in new tab/window 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
7d3ae07067 Add context menu for breadcrumbs
* Open in new tab
* Open in new window
2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
0971f6f20f Open files with middle click
* Directories open in new tab
* All others open the file
2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
36bcf81bc6 Add ability to open folders in new tab/window 2024-07-02 08:14:51 -06:00
Josh Megnauth
cd135fc248 Bump trash-rs to fix panic for non-Unicode paths
See: https://github.com/Byron/trash-rs/issues/105

Some operating systems or file systems support non-Unicode paths (e.g.
Linux and the BSDs). `trash-rs` panicked when trashing or listing the
trash with non-UTF8 names.

For COSMIC Files specifically, the program panics on start if the trash
contains files with invalid Unicode names. It also panics when
attempting to trash files with said names.

To replicate:
```sh
touch ''$'\250'
gio trash ''$'\250'

cosmic-files
```
2024-06-19 08:28:13 -06:00
Bjorn Ove Hay Andersen
553c11deb3 Disable code using trash::os_limited as it isn't available on macos 2024-06-14 06:59:55 -06:00
Jeremy Soller
c270109d30
Fix mime icon fallback 2024-06-12 10:51:28 -06:00
Jeremy Soller
0ec5f72169
Search in current tab 2024-06-10 13:02:06 -06:00
pknepps
a193b186fb Added the "Empty Trash" button on the Trashes nav-menu. 2024-06-10 08:51:05 -06:00
Jason Rodney Hansen
9af2919b1a Fix spacer height
This fixes the scrollbar showing up when there's space below the files.
2024-06-03 14:01:50 -06:00
Jason Rodney Hansen
077c30b7e4 Fix drag selecting from empty area in grid view
This seems to have been broken by the latest libcosmic update.
2024-06-03 08:06:38 -06:00
Michael Aaron Murphy
5aaff9ea3b fix: activate nav bar item with matching location 2024-06-02 07:19:54 -06:00
Ashley Wulber
4a7c59b987 fix: DnD fixes 2024-05-31 18:07:12 -06:00
Jeremy Soller
6d8dbb398e Show search results in tab 2024-05-31 15:20:06 -06:00
Jeremy Soller
c5bff149c0 Implement search backend 2024-05-31 15:20:06 -06:00
Jeremy Soller
e6f8fdd1e6
Go back to home if location is unmounted, fixes #148 2024-05-31 10:39:27 -06:00
Jeremy Soller
aab8d310df
Use widget::responsive for tab responsiveness, fixes #204 2024-05-31 09:51:34 -06:00
Jeremy Soller
7a3f9d5666
Ensure list directories first works with all sorting options, fixes #206 2024-05-30 13:19:09 -06:00
Ashley Wulber
ac2e129e4d feat: load preferred theme instead of using default 2024-05-30 12:31:16 -06:00
Eduardo Flores
19bd8f39f4 fix: nav model active entity 2024-05-29 17:59:35 -06:00
maciekk64
a085499c0e default view config 2024-05-29 17:56:42 -06:00
Jeremy Soller
322dad2b8a
Implement view menu, fixes #184 2024-05-28 10:40:36 -06:00
Jeremy Soller
e947bee833
Update tab location when drag and dropping, fixes #178 2024-05-28 09:28:46 -06:00
Josh Megnauth
e3f0f5b776 fix: Regression with copying & pasting files
Closes: #168
2024-05-28 09:07:38 -06:00
Jason Rodney Hansen
7ee45e76d0 Fix for inadvertent DND in list view 2024-05-27 19:24:07 -06:00
Jason Rodney Hansen
748f7738e6 Fix for arrow key navigation/selection after click
This fixes a bug where using the arrow keys to move around after
clicking on an item with the mouse would require the arrow key to be
pressed twice before moving.
2024-05-27 19:24:07 -06:00
Jason Rodney Hansen
d8e258dfb1 Implement shift+click selection 2024-05-27 19:24:07 -06:00
Jason Rodney Hansen
80aa2c31e9 Handle drag-select with shift or ctrl pressed 2024-05-27 19:24:07 -06:00
Jason Rodney Hansen
d756bdf2e9 Ctrl+click should toggle selection 2024-05-27 19:24:07 -06:00
Jason Rodney Hansen
8351678822 Fix for extra click event 2024-05-27 19:24:07 -06:00
Jeremy Soller
cf47297866
Update libcosmic 2024-05-20 14:09:45 -06:00
Jeremy Soller
8c90fa853b
Make clipboard pub 2024-05-20 13:48:09 -06:00
Jeremy Soller
e451bd3454
Use mousearea outside of scrollable to get tab size, fixes #164 2024-05-17 15:09:06 -06:00
Ashley Wulber
e2444ab697 fix: guess image format before decoding 2024-05-15 12:16:35 -06:00
Jeremy Soller
4fcdc77603
Update libcosmic 2024-05-14 11:16:13 -06:00
Josh Megnauth
ef32539aae Unit tests and clean up for dupe file feature 2024-05-14 10:54:52 -06:00
Josh Megnauth
14d485a7cb feat: Copy items to the same directory
closes: #135, #145
2024-05-14 10:54:52 -06:00
Jeremy Soller
afa0903120
On escape, close context menus before clearing selection 2024-05-09 14:04:16 -06:00
Jeremy Soller
e9b25a65c2
Open properties on space 2024-05-09 14:00:58 -06:00
Jeremy Soller
8ba70f2f93
Workaround to support favorited files 2024-05-09 13:55:57 -06:00
Jeremy Soller
76a95820a4
Fix scroll on empty folders 2024-05-09 13:28:44 -06:00
Jeremy Soller
1116eaa05a
Add empty trash, fixes #118 2024-05-09 13:24:06 -06:00
Jeremy Soller
99c378873a
Implement add to sidebar, fixes #112 2024-05-09 12:48:33 -06:00
Jeremy Soller
a61e587b1c
Format 2024-05-09 12:31:28 -06:00
Jeremy Soller
c19e256665
Implement remove from sidebar 2024-05-09 12:26:55 -06:00
Jeremy Soller
d15558870d
Allow icon themes to change mime icons 2024-05-03 09:08:36 -06:00
Jeremy Soller
a7383ae174
Do not prefer svg in mime icon cache 2024-05-02 15:54:00 -06:00
Jeremy Soller
a13e3fd095
Add config for favorites 2024-04-30 13:29:58 -06:00