Commit graph

579 commits

Author SHA1 Message Date
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
400c7ac2c4 fileModel: Sort by display names
Previously, images were sorted by URI which didn't work well for
anything non-ascii etc.

Closes #399
2024-11-12 20:06:24 +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
Sophie Herold
c5c2dce069 application: Call style_manager from startup
It was called from app constructed before. That's too early since since
GTK/Adw is not initialized yet. This is treated as an error in GTK
4.17.0 and terminates the app on startup.

Closes #423
2024-11-11 17:10:12 +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
f6b7ae7567 meson: Don't mangle profile and app id suffix 2024-09-27 21:22:52 +02:00
Sophie Herold
bf9392e8a2 config: Use env instead of code generation
Code generation messes with the actual source directory and makes it
impossible to use tools like clippy without having generated the config
via meson.
2024-09-27 20:54:04 +02: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
nibon7
10c6f3a0cb
svg: Fix sandbox selecting
Closes #397
2024-08-10 21:13:43 +08: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
Sophie Herold
e61b3357ea svg: Report frame info
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/442>
2024-08-05 17:30:12 +00:00
Sophie Herold
1ea4a3ad5d metadata: Report if image can be transparent
This feature was not implemented before and would always return true,
triggering a line detection for the background color in large JPEG
images.

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/442>
2024-08-05 17:30:12 +00:00
Sophie Herold
4eb1e66d44 code: Update copyright 2024-08-02 21:48:44 +02:00
Sophie Herold
c1e6ccedab image/zoom: Use viewport center for buttons
Before, the image center was used, which would cause a jump if the
viewport was changed before.

Fixes #392
2024-08-01 01:18:05 +02:00
Sophie Herold
9063f4d2ba help-overlay: Update keyboard shortcuts
Using actions no longer works since they are not global anymore. Also
add "Open with" to the list.

Closes #254
2024-07-31 01:33:45 +02:00
Sophie Herold
f75e64f73b window: Disable more actions if error is shown
Many operations don't make sense while an image is loading or can't be
shown like zoom or print. In these cases the actions should now be
disabled.

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/440>
2024-07-30 18:24:53 +00:00
Balló György
9556bd3be0 application: Set icon for the window
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/411>
2024-07-30 17:38:45 +00: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
053aa5da7e window: Add reload button and F5 shortcut
Reloading makes sense for out of memory situations or filesystems that
don't support inotify.
2024-07-29 15:53:40 +02:00
Sophie Herold
c3547f82fc svg: Handle errors for additional tiles gracefully
Some SVGs run into issues when zooming in due to memory limitations.
These errors are now ignored and the existing tiles are used.

Issue #358
2024-07-29 03:49:14 +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
aab0c711b6 gtk: No longer default to gl renderer
It looks like the Vulkan renderer has fixed is performance issues

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/428>
2024-07-26 19:46:00 +00:00
Sophie Herold
e08866a1da image: Use enum for specific errors 2024-07-19 21:24:11 +00:00
Sophie Herold
134c488dbd errorDetails: Redesign the dialog a bit
Closes #378
2024-07-19 21:24:11 +00:00
Sophie Herold
7ab4c66e1f css: Rename bottom-properties class 2024-07-19 15:45:58 +02:00
Sophie Herold
ab83116fd8 docs: Update main widgets tree 2024-07-19 15:25:19 +02:00
Sophie Herold
f5cd2b822e windowContent: Remove unneeded template child 2024-07-19 15:09:45 +02:00
Sophie Herold
6070939382 window: Let is_showing_image return false on error 2024-07-19 15:02:29 +02:00
Sophie Herold
cd72a30d5f windowContents: Rename from fullscreenWidget
Also change some naming, comments, and bindings.
2024-07-19 14:31:36 +02:00
Christopher Davis
bb9b834a22 window: Rework properties adaptivity
Ports the sidebar to AdwOverlaySplitView, and uses AdwMultiLayoutView
to use a box at narrow sizes. A bottom sheet also
overlays the content when the window is both narrow and short.
2024-07-18 17:39:17 -04:00
Christopher Davis
230ffd5c77 general: Add fullscreen widget 2024-07-18 17:25:09 -04:00
Sophie Herold
0811a14198 cargo: Update glycin 2024-07-18 01:51:51 +02:00