Sophie Herold
4d6d771ab4
Use tracing for logging
2025-12-18 23:15:46 +01:00
Sophie Herold
f2dbee5ef8
image_view: Make space for always on scrollbars
...
Increase the margin of the overlay if scrollbars are set to always
visible.
Fixes #528
2025-12-04 21:33:19 +01:00
Sophie Herold
4439499cda
code: Reformat with Rust 2024 edition
2025-12-04 06:17:55 +01:00
Sophie Herold
3b11b0534e
metadata: Drop unreliable mime-type
...
Only use a reliable mime-type. This requires that we load images earlier
in the pipe.
This also fixes warnings about mime types not being available on network
drives like SMB.
Fixes #513
Issue #534
2025-12-03 22:41:24 +01:00
Sophie Herold
0e6ddb0227
Add missing implementations
2025-08-22 15:03:55 +02:00
Sophie Herold
341aef672e
image: Use convention that rotations is always CCW
2025-02-24 14:08:56 +00:00
Sophie Herold
1d40a28b54
editing: Decide editable based on true mime type
...
Previously it was decided on the early unreliable mime type.
Fixes #449
2025-02-19 11:51:18 +01:00
Sophie Herold
b9f22ebfc3
window: Don't store window to avoid ref cycles
...
Use root() instead and move one constructor to on root for having the
root available.
2024-12-22 20:27:33 +01:00
Sophie Herold
5b51237203
editing: Add error handling for saving files
2024-12-22 20:27:33 +01:00
Sophie Herold
4eb1e66d44
code: Update copyright
2024-08-02 21:48:44 +02:00
Sophie Herold
f2bc4a66b5
imagePage: Show spinner with small delay
...
That way, when quickly scrolling through images (holding down arrow
keys) no restarting spinner animations are shown in between.
2024-07-29 16:53:01 +02:00
Sophie Herold
b33943fbe2
imagePage: Show specific error for out of memory
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/435 >
2024-07-26 21:01:27 +00:00
Sophie Herold
e08866a1da
image: Use enum for specific errors
2024-07-19 21:24:11 +00:00
Sophie Herold
0811a14198
cargo: Update glycin
2024-07-18 01:51:51 +02:00
Sophie Herold
0b33553144
util/gettext: Parse unicode escape sequences
...
Closes #351
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/426 >
2024-07-17 19:33:52 +02:00
Christopher Davis
cd68778890
image_page: Use AdwSpinner
...
Depends on
https://gitlab.gnome.org/GNOME/libadwaita/-/merge_requests/1201/
AdwSpinner automatically handles pausing the animation
when unmapped.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/420 >
2024-07-17 10:55:11 +00:00
Sophie Herold
798f2584ee
code: Update copyright headers
2024-06-28 23:00:14 +02:00
Sophie Herold
e9dc3d810c
code: Use new glib::clone! syntax
2024-06-18 00:37:38 +02:00
Sophie Herold
4650e6766a
cargo: Update to gtk4-rs 0.9 and core 0.20
2024-06-14 17:46:33 +02:00
Anders Jonsson
6f42e31f88
imagePage: Fix typo
2024-06-01 13:40:55 +00:00
Sophie Herold
db1bb785e1
meta: Update copyright info
2024-05-09 23:27:45 +02:00
Sophie Herold
57d8bba071
window: Use shortcuts instead of accels
...
Application level accels will also work if AdwDialogs are open.
Therefore, use shortcuts wherever possible.
2024-05-09 23:12:20 +02:00
Sophie Herold
e129e842a6
imagePage: Make error output look better
...
Make the errors on the status page translatable. Hide detailed errors
behind an extra error dialog that can be opened.
2024-05-09 14:25:06 +02:00
Sophie Herold
2648295a18
code: Reformat with group_imports=StdExternalCrate
2023-12-07 20:33:19 +01:00
Sophie Herold
2fdfe5657c
image: Refresh file info after file rename
2023-12-04 18:08:25 +01:00
Sophie Herold
b56d650086
code: Reformat with new rules
2023-11-29 21:16:11 +01:00
Sophie Herold
4ca7c71538
imagePage: Use properties macro
2023-11-29 19:19:49 +01:00
Sophie Herold
55811a2bb7
image: Use macro for object properties
2023-11-29 18:52:31 +01:00
Sophie Herold
5a905cd53f
ui: Move .ui-files to src/
...
Closes #46
2023-11-29 01:50:54 +01:00
Julian Hofer
cd8188a1bb
Simplify async code
...
- Update Cargo.lock
- Use new gtk-core API
- Remove unneeded async
- Remove unneeded clones
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/310 >
2023-11-22 09:12:36 +01:00
Sophie Herold
55551ae6a2
general: Update copyright notices
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/258 >
2023-07-18 17:48:43 +00:00
abu_shawarib
33b4928c72
Revert "imagePage: Correctly align right-click menu"
...
This reverts commit 0ddecefe01 .
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247 >
2023-07-02 12:13:22 +00:00
Sophie Herold
291fa13d1f
meta: Update copyright headers
2023-06-07 23:44:20 +02:00
Huan Nguyen
0ddecefe01
imagePage: Correctly align right-click menu
...
Before it was incorrectly centered
2023-05-21 16:03:13 +00:00
Sophie Herold
c42fe235c6
imagePage: Make crossfade from spinner work
...
It did not work before because the spinner page did
not take up the complete stack.
Also hiding the spinner when animating out of it
since it can be pretty dominant. Especially, since
it's usually not really shown before but the animation
starts emediately instead.
Closes #153
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/205 >
2023-05-03 15:54:51 +00:00
Sophie Herold
2f9fad47a1
src: Update or add auto generated license headers
...
Closes #55
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/169 >
2023-04-19 20:02:01 +02:00
Sophie Herold
fad8bb7939
decoder: Use GFile instead of PathBuf
...
This allows to show images from locations that don't
have a representation with path.
This also works around not being able to read files in trash:///
Closes #56
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/174 >
2023-04-18 16:22:49 +00:00
Sophie Herold
032707a210
fileModel: Use GFile with URI as key
...
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/174 >
2023-04-18 16:22:49 +00:00
Sophie Herold
8b3cfd000a
cargo: Remove gtk-macros dependency
...
Using the crate is depreacted. Replaced spawn! macro
with our own spawn function
2023-04-06 21:08:33 +00:00
Sophie Herold
7b7ece1dc3
slidingView: Allocate LpImage more correctly
...
Allocate the ScrolledWindow instead of the LpImage
to include non-overlayed scrollbars.
General cleanup how we measure things.
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/150 >
2023-04-02 15:42:42 +00:00
Sophie Herold
0e24f347e6
imagePage: Move popover out of LpImage
...
It cause 'not measured' errors and we have enough
things to handle in LpImage already.
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/146 >
2023-03-18 21:24:45 +00:00
Sophie Herold
6a4ee11c76
imageView: Add only viewed images to recently used
...
Only adding images expclicitly opened via file browser
or drag and drop. Do not add images while browsing
SlidingView to avoid spamming recently used files.
Closes #53
2023-03-08 02:24:27 +00:00
Sophie Herold
05ef429b86
image: Add newly designed thumbnail for DnD
...
The old method stopped working with the new decoder setup.
The new design features a frame for contrast and rotates
images based on EXIF information.
Closes #89
2023-03-08 01:48:34 +00:00
Sophie Herold
f12ff1ea4d
widgets: Add some widget descriptions
2023-03-06 22:59:40 +01:00
Sophie Herold
f80ec7db56
decoder: Use image-rs, libheif-rs, librsvg
...
This adds proper support for a lot of image formats including SVGs.
It will be the basis for many features to come. The technical core
is an asynchronous renderer that can arrange textures in smaller tiles
which might be generated on demand.
Closes #34 , #40 , #41 , #49
Basis for fixing the following issues #7 , #27 , #36 , #43 , #68 , #71
2023-03-04 21:48:51 -05:00
Lubosz Sarnecki
30136f9050
code: Fix some typos.
...
Fix some typos, mainly in comments with the power of
Builder's spell correction.
2023-02-21 00:19:05 +01:00
Sophie Herold
004ebd5615
cargo: Update dependencies
2023-02-15 17:04:59 +01:00
Sophie Herold
169dd454cc
image: Add double click for zoom/fullscreen
...
Zooms on touchscreens and fullscreens otherwise.
Using the fullscreen behavior for now, since that's what
a lot of other apps do.
2023-02-06 18:40:32 +01:00
Sophie Herold
f2357513da
imageView: Use custom slide widget and IndexSet
...
Use IndexSet to allow direct access by Path and also allow
an arbitrary ordering that was not possible with Vec. Also
add monitoring of file changes in the directory.
Use a custom LpSlidingView instead of AdwCarousel because
Carousel was never designed for this job and suffered of
bugs. LpSlidingView does not support swiping gestures yet
since they currently don't work yet anyways #24 .
Use a new algorithm to fill the LpSlidingView that is
stateless and covers all potential changes in the directory.
This not only fixes bugs but would also work with changed
sorting orders.
This also adds build time template XML validation since it
was useful for the refactoring #46 .
Closes #9 , #11 , #30 , #33 , #42
2023-01-30 01:08:57 +00:00
Sophie Herold
e04992b46d
window: Adjust to image size when opening
...
Give LpImage a native with that should feel nice.
When opening a new window with a new image the window size
is determined by LpImage's natural width.
The image size and EXIF data is loaded before the image such
that the window can be shown in the right dimension while
loading the actual image.
2022-12-12 15:54:24 +00:00