Commit graph

577 commits

Author SHA1 Message Date
Sophie Herold
020ea74ba9 Use glycin 3.0 so work with 2+ loaders 2025-06-18 20:30:29 +02:00
Sophie Herold
254e90a14c Add newlines to end of all files 2025-04-18 02:40:39 +02:00
Sophie Herold
ef5f94859b editing: Fix preroateted images
Editing does not work correctly if PNGs or JPEGs are already rotated via
an Exif orientation entry before editing. This needs the glycin-image-rs
1.2.1 loader to work correctly.

Closes #481
2025-04-11 14:48:50 +02:00
Sophie Herold
a49096ffde image/printing: Use cairo renderer for texture
On some systems, to_node -> render_texture generates empty or garbled
textures since GTK 4.18 GNOME/gtk#7464. This does not happen when using the cairo
renderer.

Closes #488
2025-04-10 15:58:16 +02:00
sid
5e5d729819 about: Update website and support URLs
- apps.gnome.org URL for website
- discourse loupe tag URL for support
2025-03-30 07:22:33 +01:00
Sophie Herold
5055eddda0 image_window: Don't rely on root existing
This fixes a single case of root being access from the control hide
animation. Apparently it's possible that the widget is unparented from
the window and unmaped but not yet unrefed?

Fixes #473
2025-03-29 19:57:36 +00:00
Zander Brown
de38b92f2f
image_pane: The value of ‘translatable’ should be ‘yes’ 2025-03-24 03:10:18 +00:00
Zander Brown
7f1fdca8a8
edit_window: The value of ‘translatable’ should be ‘yes’ 2025-03-24 03:10:18 +00:00
Zander Brown
ba0dacddd5
error_details: The value of ‘translatable’ should be ‘yes’ 2025-03-24 03:10:14 +00:00
Sophie Herold
8983f61558 edit/crop: Select correct orientation on open
Closes #468
2025-03-05 23:35:07 +01:00
Aleksandr Melman
878b88cbb1 Edit image_view.ui 2025-03-05 18:21:44 +00:00
Aleksandr Melman
ededb183ab Edit crop.ui 2025-03-05 18:15:30 +00:00
Sophie Herold
11551456e9 NEWS: Add missing entries 2025-02-27 22:16:44 +01:00
Sophie Herold
c9e5c9ed42 edit/crop: Orient aspect ratio icons
Orient the icons for aspect ratio selection based on the selected
orientation.
2025-02-27 12:49:22 +00:00
Sophie Herold
281080a21f edit/crop: Fix edge resize for fixed aspect ratio
Allow to decrease the size when dragging an edge with fixed aspect
ratio.

Issue #409
2025-02-26 14:48:39 +01:00
Sophie Herold
6920fda2be edit/crop: Rename a document some code 2025-02-26 14:42:52 +01: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
7d3cdb93b9 edit_window: Don't show error for canceled loader 2025-02-13 22:43:03 +01:00
Sophie Herold
bb72324a64 error_details: Set description instead of title 2025-02-13 22:08:13 +01:00
Sophie Herold
828306c206 edit_window: Handle CancellableFuture errors
Ignore the cancellation and instead check for actual errors inside an
uncanceled operation.
2025-02-13 14:54:40 +01:00
Sophie Herold
b2e626091f edit_window: Fix new filename detection 2025-01-31 20:12:35 +01:00
Sophie Herold
1565fab160 Prepare 48.beta 2025-01-31 14:11:28 +01:00
Sophie Herold
06a8474207 edit: Disable save actions 2025-01-31 14:01:33 +01:00
Sophie Herold
8bb6f8da88 edit_window: Add save and cancel shortcuts 2025-01-31 13:49:39 +01:00
Sophie Herold
e25b9aead6 image/zoom: Allow levels smaller best-fit from menu
Closes #437, #414
2025-01-29 19:24:34 +00:00
Sophie Herold
c9e7f052e1 image_window: Disable more buttons on error pages
Closes #436
2025-01-29 19:01:58 +00:00
Sophie Herold
5706b2eaeb edit: Stop saving operation on using "Cancel" 2025-01-29 14:25:19 +01:00
Sophie Herold
129d1cfc7a edit/crop: Add keyboard shortcuts
Closes #442
2025-01-29 13:05:45 +01:00
Sophie Herold
d1a9d9dddc edit/crop: Work around gesture bug
After clicking the "apply crop" button, the drag button to change the
selection is getting stuck. Adding manual claim for the click gesture
for the button early fixes this.
2025-01-29 01:26:13 +01:00
Sophie Herold
51883734f5 edit/crop: Enable reset and save on selection change 2025-01-29 00:20:03 +01:00
Sophie Herold
6fa42d542b edit/crop: Update apply crop visibility in allocate 2025-01-28 23:58:10 +01:00
Sophie Herold
9fbe091f1a edit: Use filename with (Edited) suffix for "Save As" 2025-01-28 23:45:46 +01:00
Sophie Herold
e2785d9154 edit/crop: Read rendered image size from selection
Closes #454
2025-01-27 19:15:51 +00:00
Sophie Herold
1f250b6465 edit/crop: Use manual allocation
Don't use a grid for the position of grayed out area and crop selection.

Fixes #454
2025-01-27 19:15:51 +00:00
Sophie Herold
9a5ec50f66 code: Fix clippy warnings 2025-01-27 12:38:26 +01:00
Rafael Fontenelle
8e76910e15 Fix typo in error_details.rs 2025-01-27 11:14:32 +00:00
Allan Day
b47ab87da3 edit/crop: Minor string changes
Use the standard "Save As" term. Also label the header button
Save rather than Done, which makes more sense.
2025-01-24 11:19:16 +00:00
Sophie Herold
9c5600efb7 edit/crop: Allow draging from edges 2025-01-23 15:15:00 +01:00
Sophie Herold
29e807a7b0 edit/crop: Implement crop apply as overlay 2025-01-23 14:22:59 +01:00
Sophie Herold
9a5170de34 edit/crop: Apply crop via checkmark overlay 2025-01-22 22:19:10 +01:00
Sophie Herold
40d425ac80 edit: Visual feedback while saving image
Closes #441
2025-01-22 20:49:19 +01:00
Sophie Herold
0943138060 edit/crop: Allow delayed selection of image 2025-01-22 15:10:16 +00:00
Sophie Herold
729f5249ed edit/crop: Apply crop on save 2025-01-22 15:10:16 +00:00
Sophie Herold
9cb08d288d edit/crop: Apply crop on rotation and flip 2025-01-22 15:10:16 +00:00
Sophie Herold
e66203783e edit/crop: Apply aspect ration change internally 2025-01-22 15:10:16 +00:00
Hubert Figuière
302139c5ce edit/crop: Fix typo in name coordiantes -> coordinates
Signed-off-by: Hubert Figuière <hub@figuiere.net>
2025-01-19 00:30:15 -05:00
Sophie Herold
a2147bb8bd edit/crop: Pre-select correct orientation 2025-01-17 16:51:06 +01:00
Sophie Herold
c97db38788 edit/crop: Add orientation toggles for desktop 2025-01-17 13:50:25 +01:00
Sophie Herold
e4bb97140a edit_window: Return to image view after saving 2025-01-17 12:35:43 +01:00