Commit graph

614 commits

Author SHA1 Message Date
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
Jeremy Soller
6612c5203e
Path completion, fixes #86 2025-02-07 09:14:16 -07: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
06b8132aa3
Set select_focus when selecting by name or path 2025-02-06 09:05:45 -07:00
ellieplayswow
c000eda54b Fixing issue where a tab tries to read lines from a .hidden directory 2025-02-05 20:53:36 +00:00
Michael Aaron Murphy
ec70edfff8
fix: set M_MMAP_THRESHOLD to lower memory usage significantly 2025-02-05 12:51:18 +01:00
Jeremy Soller
22bca8632b
Format 2025-02-04 15:41:16 -07:00
Jeremy Soller
9e2aa3433a
Merge pull request #777 from joshuamegnauth54/chore-clippy-tab
chore(clippy): `tab.rs`
2025-02-04 14:42:47 -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
b4dae4bfa8 VecDeque makes more sense to maintain order of operations 2025-02-03 15:51:42 +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
Josh Megnauth
f1a9befec1
chore(clippy): tab.rs 2025-01-29 00:46:23 -05: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