Commit graph

183 commits

Author SHA1 Message Date
Jeremy Soller
7d7f614734
Merge pull request #402 from jasonrhansen/breadcrumbs-mouse-cursor
Use pointer mouse cursor for breadcrumbs
2024-08-19 07:47:45 -06:00
Jason Rodney Hansen
ca9f77a09f Fix breadcrumbs to use pointer mouse cursor 2024-08-16 10:33:32 -06:00
Jason Rodney Hansen
6def8b7f8b Fix scrolling item into view when using arrow keys 2024-08-16 08:13:25 -06:00
Jeremy Soller
96d6ee9e6d
Merge pull request #382 from jasonrhansen/modified-sort
Sort modified descending on initial click
2024-08-15 07:53:19 -06:00
Jason Rodney Hansen
9af0abeef1 Sort modified descending on initial click 2024-08-14 20:00:10 -06:00
Tim Dengel
ede7b4ae94
Display no-results message instead of empty-folder when there are no search results 2024-08-11 03:57:28 +02:00
Jeremy Soller
da329004aa
Continue operations in the background if the window is closed 2024-08-09 09:59:25 -06:00
Vukašin Vojinović
4129ab9122
fix: match divider padding to design 2024-07-31 15:58:17 +02:00
git-f0x
5d8cb2d6bf fix: don't scroll sorting headings 2024-07-31 14:11:37 +02:00
git-f0x
d4a642b0ff fix(list_view): lower min ZoomIn value 2024-07-26 19:36:24 +02:00
git-f0x
ba165a15ef fix(list_view): lower min ZoomOut value 2024-07-26 15:29:48 +02:00
git-f0x
e66e0e4de8 fix(list_view): use caption text for details when condensed 2024-07-26 12:29:29 +02:00
Jeremy Soller
ec4d7341d7
Merge pull request #283 from joshuamegnauth54/fix-274-wrong-range-selected-on-sort
fix: Correct range on shift clicking sorted tabs
2024-07-17 07:50:48 -06:00
Josh Megnauth
d168edb4fa
fix: Correct range on shift clicking sorted tabs
Closes: #274

My code comments explain the problem and the fix.
2024-07-17 02:39:45 -04:00
Vukašin Vojinović
05481d55b5
fix: rectangle selection
This uncomments the lines preceded by HACK, since rectangle selection and some other things break.
Tweaked the `spacer-height` to the lowest value where the scrollbars don't always appear.
2024-07-15 11:11:52 +02:00
Vukašin Vojinović
142be2ea66
comment workaround
When these lines are uncommented, a scroll bar always shows up in Files. Commenting them makes the scollbar behave as expected.
2024-07-13 18:02:51 +02:00
Vukašin Vojinović
7dc3bf839c
improv: don't change padding on location edit
This fixes the other items (files, sorting headings...) moving when clicking the pencil.
2024-07-13 17:45:39 +02:00
Vukašin Vojinović
505cea111d
fix: list view padding 2024-07-13 12:10:39 +02:00
git-f0x
32a2ccbaf6 fix: tab padding 2024-07-13 11:34:03 +02:00
Vukašin Vojinović
5b1ba068d1
design matching 2024-07-13 01:53:30 +02:00
Vukašin Vojinović
d8cc38d11c
remove unused space_m 2024-07-12 21:08:22 +02:00
Vukašin Vojinović
3a47e3f9a5
match padding to design 2024-07-12 20:59:54 +02:00
Vukašin Vojinović
8efc6084ec
Merge branch 'master' into master 2024-07-12 19:46:53 +02:00
Vukašin Vojinović
ff4d40cdd4
fix conflict 2024-07-12 19:43:50 +02:00
Vukašin Vojinović
3529717476 fix: text padding at min list size 2024-07-12 19:40:46 +02:00
Vukašin Vojinović
23f0a4f942
Adjust sorting heading padding 2024-07-12 11:24:27 +02:00
Josh Megnauth
748d53fdbe
Localized date strings
Fixes some of #256

This patch also cleans up the `icu` dependencies from my last PR. I
added all of `icu` as a dependency last time because I assumed it would
be needed for this fix. However, `chrono` supports localization and
`icu` seemed harder to use anyway.
2024-07-12 02:20:41 -04:00
Vukašin Vojinović
ff28ff2dd5
fix 2024-07-12 01:01:11 +02:00
Vukašin Vojinović
2d2aed39e2
fix: breadcrumb bar padding 2024-07-11 21:07:55 +02:00
Vukašin Vojinović
d87b40dfb3
fix: fixed size sorting headings 2024-07-11 20:20:37 +02:00
Jeremy Soller
45711e1734
Improvements for file name wrapping, fixes #7 2024-07-11 10:12:50 -06:00
Jeremy Soller
d31e103f65
Ellipsize breadcrumbs that do not fit, fixes #189 2024-07-09 11:16:14 -06:00
Jeremy Soller
107422ec6c
Do not wrap breadcrumbs 2024-07-08 20:52:00 -06:00
Jeremy Soller
35fcb011c5
Add dialog for move conflict, part of #180 2024-07-08 11:51:07 -06:00
Josh Megnauth
783256fe8b
fix: Panic on long numerical file names
Closes: #258

[lexical_sort](https://github.com/Aloso/lexical-sort) is currently
unmaintained. The author recommends switching to the `icu` crate which
is maintained by the Unicode Consortium.
2024-07-08 02:00:52 -04:00
Jason Rodney Hansen
2378aa049d Fix drag select for grid view
When there was a single row of files and there weren't enough files to
fill the row, you couldn't initiate a drag select from the right side of
these files.
2024-07-03 16:31:30 -06:00
Jason Rodney Hansen
35dedcb9ea Fix position of bread crumb context menu 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
03ac8e31bc Improve right-click and middle-click handling 2024-07-02 08:14:51 -06:00
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
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
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
0ec5f72169
Search in current tab 2024-06-10 13:02:06 -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
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