6477f8b500
Add optional automatic annotation copying
2026-09-19 09:52:32 +01:00
2ce31a1a30
Add image annotation / drawing mode
...
Adds a draw mode toggle (pencil icon, shortcut D) that reveals a
bottom toolbar with freeform pen and shape tools (rectangle, ellipse,
triangle, star), a colour picker, line-width spinner, undo (Ctrl+Z),
clear-all, and a "Save Copy…" button that exports a flattened PNG.
Copying to clipboard (Ctrl+C) also flattens the annotations when any
strokes are present. Strokes are stored in image-pixel coordinates and
rendered via a Cairo overlay in the snapshot pipeline, so they remain
correctly positioned during zoom and pan.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-18 09:38:31 +02:00
Sophie Herold
52bd4bf25c
src: Update copyright info
2026-06-29 13:34:19 +02:00
Sophie Herold
c3410943b8
window: Move Ctrl+C (copy) handler here
...
Closes #583
2026-04-27 13:32:19 +02:00
Sophie Herold
19e0fd7c6e
Update copyright comments
2026-02-27 21:03:02 +01:00
Sophie Herold
8972c5efb9
code: Use chained if-let's
2026-01-29 23:59:58 +01:00
Sophie Herold
67a233f777
cargo: Update to gtk-rs 0.22/0.11
2026-01-29 23:59:54 +01:00
Abhinandan Thakur
a50212f741
shortcuts-dialog: Port to AdwShortcutsDialog
...
Changed help-overlay.ui to add adwaita shortcuts dialog and loaded that
xml in window.rs also incremented libadwaita version.
Fixes #521
2026-01-29 23:05:14 +01:00
Sophie Herold
5702f2343d
code: Update copyright
2026-01-02 16:25:56 +01:00
pieterd
f34f9dd988
Constrain minimum zoom level
2025-12-23 22:39:37 +01:00
Sophie Herold
b9668c7262
image: Unify error handling in one type
2025-12-22 01:40:44 +01:00
Sophie Herold
36ba0edc04
Update copyright comments
2025-12-19 00:06:29 +01:00
Sophie Herold
e9389a3a18
clippy: Fix warnings
2025-12-19 00:04:27 +01:00
Sophie Herold
4d6d771ab4
Use tracing for logging
2025-12-18 23:15:46 +01:00
Sophie Herold
cfd33fa2dd
util/root: Add window_inspect() to avoid unwraps
2025-12-09 21:55:07 +01:00
Sophie Herold
7b45009eed
util/root: Use specific function to show toasts
2025-12-09 15:55:30 +01:00
Sophie Herold
4ec8c8b1cb
image_window: Simplify gestures
2025-12-08 16:15:13 +01:00
Sophie Herold
2a8a13fd01
cargo: Update deps
2025-12-04 06:17:55 +01:00
Sophie Herold
0e6ddb0227
Add missing implementations
2025-08-22 15:03:55 +02:00
Sophie Herold
c9e7f052e1
image_window: Disable more buttons on error pages
...
Closes #436
2025-01-29 19:01:58 +00:00
Sophie Herold
2a5ca41991
NEWS: Fix 47.3 being released as 47.4
2025-01-13 23:01:53 +01:00
Sophie Herold
2adefc5241
code: Fix clippy warnings
2025-01-13 15:02:01 +01:00
Sophie Herold
cb31b93ee1
imageWindow: Fix shortcuts not always working
2024-12-22 20:27:33 +01:00
Sophie Herold
bbf9534bdd
editing: Only enable editing action if available
2024-12-22 20:27:33 +01:00
Sophie Herold
dd359235cf
properties: Remove usage of breakpoints
2024-12-22 20:27:33 +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
3f82a5f435
window: Fix arrow key bindings not working
...
The actions for global accels have to be at window level.
2024-12-22 20:27:33 +01:00
Sophie Herold
4c2b72e0f9
window: Move into widgets
2024-12-22 20:27:33 +01:00
Sophie Herold
f5660ba83e
widgets: Rename Window* to *Window
2024-12-22 20:27:33 +01:00