Commit graph

404 commits

Author SHA1 Message Date
Sophie Herold
df9589aa9a clip: Remove 16:10 preset 2024-12-22 20:27:33 +01:00
Sophie Herold
a5e20baaa0 editing: Only show apply button if needed 2024-12-22 20:27:33 +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
2753447a0d window: Animate between image and editing view 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
8345640757 editing: Handle errors 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
59082b7314 edit/crop: Implement updated designs
These designs are different for mobile and desktop sizes.
2024-12-22 20:27:33 +01:00
Sophie Herold
05dbee6a0b editing: Add save edited file 2024-12-22 20:27:33 +01:00
Sophie Herold
a2d5493714 editing: Use toolbar style 2024-12-22 20:27:33 +01:00
Sophie Herold
367fdf207d editing: Preview cropping/rotate/mirror operations 2024-12-22 20:27:33 +01:00
Sophie Herold
e9869bcb40 edit: Use proper styling for toolbar 2024-12-22 20:27:33 +01:00
Sophie Herold
b6bdc9398d edit: Add Cancel button 2024-12-22 20:27:33 +01:00
Sophie Herold
1fc9674cb8 edit: Init crop view with selecting complete image 2024-12-22 20:27:33 +01:00
Sophie Herold
5b184e6be9 edit: Scale cropping selection area with image 2024-12-22 20:27:33 +01:00
Sophie Herold
6867e0b13f Add cropping 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
Sophie Herold
4b0d5f7b6d window: Add edit view 2024-12-22 20:27:33 +01:00
Sophie Herold
9205c93fae Separate window show ui and code to enable editing 2024-12-22 20:27:33 +01:00
Sophie Herold
0012d807e3 window: Move to window_image for editing separation 2024-12-22 20:26:53 +01:00
Sophie Herold
7253be8905 Update glycin URLs so GNOME/ 2024-12-17 01:17:04 +01:00
Sophie Herold
8e8751d41a inputHandling: Claim double-click gesture 2024-11-18 14:47:21 +01:00
Sophie Herold
3ed6c28a78 metadata: Rename exif to metadata 2024-11-15 00:26:02 +01:00
Sophie Herold
a351c7751e propertiesView: Add User Comment 2024-11-13 17:32:27 +01:00
Sophie Herold
9156533fea fileModel: Make file info queries async
We are not entirely sure if looking up the display name might do IO for
google drives.
2024-11-13 01:22:27 +01:00
Sophie Herold
5409203ec9 metadata: Use gufo instead of kamadak exif
A bunch of metadata code is now provided by gufo.
2024-11-12 01:12:21 +01:00
kramo
8bcf89ba00 image: Update colors' hues to match that of libadwaita 2024-11-11 15:16:47 +00:00
Sophie Herold
04937d98bb imageView: Use large icons for zoom buttons
The small +/- buttons are reserved for spin rows. Otherwise the large
ones should be used.
2024-11-04 15:12:32 +00:00
Sophie Herold
fa46c76af4 propertiesView: Retrive host path via portal
This way we should always be able to get the correct folder name if
xdg-desktop-portal > 0.19.
2024-10-16 19:24:22 +00:00
Sophie Herold
4370be282d cargo: Drop two dependencies 2024-09-27 19:39:07 +02:00
Sophie Herold
59aed01d12 cargo: Update dependencies 2024-09-27 19:39:07 +02:00
Sophie Herold
ef4b65efbb core: Fix typo
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/459>
2024-09-25 22:30:55 +00:00
Sophie Herold
40e60868c8 imageView: Zoom button sensitive for new values
Only make zoom button sensitive if the zoom value differs from the
current zoom value.

Closes #405
2024-09-25 21:50:53 +00:00
Aleksandr Melman
3194c8644a Update error_details.ui 2024-09-23 10:25:48 +00:00
Sophie Herold
b72811bb9c dragOverlay: Try out new design proposal
Teams/Design/os-mockups#186
2024-09-19 22:29:46 +02:00
Allan Day
f71f18ab12 ui: Update check icon
Use the standard check icon, which is less heavy.
2024-09-17 13:44:17 +01:00
Sophie Herold
0b4c69459f ui: Non-circular overlays and less buttons
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/450>
2024-09-16 16:01:50 +02:00
Sophie Herold
5d1fa3c0fa gettext: Move comments directly above gettext call
Hopefully they will now be detected by the system.
2024-09-12 22:23:09 +02:00
Sophie Herold
1f28884847 image/zoom: Fix forcing center aim not working 2024-09-11 10:31:51 +00:00
Sophie Herold
2412fb90ee slidingView: Set current page before starting animation
If animations are disabled, the animation ends when calling play
returns. Therefore, everything has to be set before calling play when
animations can be disabled.

Closes #368
2024-09-04 20:38:52 +02:00
Sophie Herold
be32072d7a image: Keep texture around until new is available
Keep previous texture around during image reloads to avoid flickering.
2024-08-16 13:30:18 +02:00
Sophie Herold
ea3563493e image/rotation: Fix issuing edit for 0deg rotation
Rotating by 0 degrees went through the complete rotation pipeline including a image reload. Now, 0 deg rotations are ignored.
2024-08-06 14:08:24 +02:00
Sophie Herold
959a047816 image/rotation: Name variables more clearly 2024-08-06 14:02:52 +02:00
Sophie Herold
f16bd898d6 image/zoom: No different callbacks for animation
We actually don't need different callbacks for zooms with different
targets anymore since the target is an object property anyways.
2024-08-06 14:02:46 +02:00
Sophie Herold
7e227097ef metadata: Merge memory_format correctly 2024-08-05 23:43:52 +02:00
Sophie Herold
8ddaf34e87 window: Prefer wide window over properties overlay 2024-08-05 23:37:10 +02:00