Commit graph

321 commits

Author SHA1 Message Date
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
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
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
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
Josh Megnauth
f1a9befec1
chore(clippy): tab.rs 2025-01-29 00:46:23 -05:00
Jeremy Soller
ceab7835ad
Clean up mime app handling and make it possible to set default application, part of #325 2025-01-24 11:55:56 -07:00
Josh Megnauth
6a6a494012 chore(clippy): mouse_area, controller & more
Fixes lints for:
* src/operation/controller.rs
* src/mouse_area.rs
* src/mounter/mod.rs
2025-01-19 10:55:56 -07:00
Jeremy Soller
3460c2c106
Allow drop to Desktop, fixes #597 2025-01-19 10:54:30 -07:00
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
Jeremy Soller
199632580c
Update dependencies 2025-01-14 08:54:43 -07:00
Jason Rodney Hansen
f252db7415 Fix left clicking in empty folder to clear context menu 2025-01-14 08:48:54 -07:00
CaelusV
bc147f4885 Fix Show Hidden Files 2024-12-09 02:21:26 +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
24a7f2bc31
Select result of operation, fixes #500 2024-11-19 20:17:58 -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
738e6eeb7b
Disable text previews until performance issues are fixed 2024-11-14 09:18:35 -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
Eduardo Flores
d3d3cec136 fix: set style and padding to text editor 2024-11-10 06:36:53 -07:00
Vukašin Vojinović
b5258985ef fix(list view): styling 2024-11-05 09:17:08 -07:00
Jeremy Soller
9e77c2244d
Merge pull request #620 from git-f0x/master
[Context Menu] Use radius from theme
2024-10-22 19:09:48 -06:00
Daniel Yoon
99306cbf1b initial commit 2024-10-23 11:21:48 +11:00
Vukašin Vojinović
aa0a026855 fix(context menu): use radius from theme 2024-10-23 00:30:24 +02:00
Jeremy Soller
6fa9784109
Fix gallery image alignment 2024-10-21 15:39:57 -06:00