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
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
Sophie Herold
3ad5560e2c
decoder: Increase animation buffer size to 10
2024-07-17 14:04:39 +02:00
Sophie Herold
c2df5586c1
tiling: Don't completely empty buffer in animation
...
Previously, this would lead to flickering if the decoder was too slow.
Now, the last frame will be shown until a new one is available.
Closes #382
2024-07-17 14:01:37 +02:00
Sophie Herold
9b56f30c3b
meson: Cleanups
2024-07-17 13:28:14 +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
1b70686105
Use glycin devel env auto detection
...
We don't need to disable the sandbox for development environments
manually anymore. Glycin should take care of that now.
2024-07-05 22:29:06 +02:00
Sophie Herold
19fa9644cb
main: Enable tracing via RUST_LOG as well
2024-07-04 19:52:59 +02:00
Lukáš Tyrychtr
ecc32af664
a11y: Ensure that the "Open containing folder" label is read
...
Just get rid of the in this case unwanted relations on the button.
Fixes #374 .
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/413 >
2024-07-03 09:37:12 +00:00
Fina Wilke
5956aa6460
code: clone macro: Use convenience attributes instead of upgrade_or_else
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/412 >
2024-07-02 22:54:24 +00:00
Sophie Herold
798f2584ee
code: Update copyright headers
2024-06-28 23:00:14 +02:00
Sophie Herold
afcc24e235
editor: Apply rotation to files
2024-06-21 13:11:29 +02:00
Sophie Herold
4164fa61c3
propertiesView: Bring back activatable-widget
2024-06-18 02:06:58 +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
DaPigGuy
dfd74b060f
window: Port delete confirmation to AdwAlertDialog
2024-06-11 23:32:45 -07:00
Yiğit Burak
b688ee6de7
propertiesView: Disable markup for all fields
2024-06-11 16:44:44 +03:00
Yiğit Burak
2d8747728f
propertiesView: Disable markup for folder field
...
If a folder's name contains an ampersand (&) pango tries interpreting it
as markup and folder field stays empty/fails to update
Simply disabling markup fixes this
2024-06-11 01:39:57 +03:00
Anders Jonsson
6f42e31f88
imagePage: Fix typo
2024-06-01 13:40:55 +00:00
Andre Klapper
4ca5f9e03d
About dialog: Link to GitLab Issues instead of New Issue URL
...
When not logged in, the New Issue URL only redirects to an unhelpful
login page while the Issues page allows you to search for existing
issues and still offers a "New Issue" button.
2024-05-20 17:44:27 +02:00
Sophie Herold
9b95a4706b
code: Don't use mod.rs based on Rust Style Guide
2024-05-15 13:17:45 +02:00
Sophie Herold
c15e73274e
print: Use new GTK API
2024-05-15 10:51:49 +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
Dexter Reed
b99575d8d0
feat: Port about window to adw::Dialog (Adw.Dialog)
...
Other Changes:
Change window height to 294 to fit the HIG:
https://developer.gnome.org/hig/guidelines/adaptive.html#small-size-handling
Change adw features version in `Cargo.toml` from `v1_4` to `v1_5` to use
the new dialog widget(s)
2024-05-08 20:54:25 +00:00
Sophie Herold
74482bf6b6
util: Remove unused code
2024-05-08 22:53:50 +02:00
Sophie Herold
46a17367bd
print: Do everything in request-page-setup
...
Otherwise we are too late to layout the page and the orientation will
not be honored by the actual printing.
We also have to use the per-page PageSetup because they are already
specualized at this point.
Closes #348
2024-04-06 18:45:42 +02:00
Sophie Herold
37ac3de2b8
metadata: Properly display exposure times > 0.5s
...
Closes #349
2024-04-06 17:24:24 +02:00
Sophie Herold
0757bf5a5c
main: Set GDK_DEBUG=gl-no-fractional by default
2024-04-04 22:45:42 +02:00
Sophie Herold
5295c63b91
data: Update changelog
2024-04-03 01:41:21 +02:00
Sophie Herold
30bc48514c
print: Apply fill-space when changing orientation
...
Fixes space not being filled when option is enabled when changing to
horizontal page orientation.
Also make disablign UI signals during computational UI changes counter
based, not true false, because they can be nested.
Closes #338
2024-04-03 00:37:37 +02:00
Sophie Herold
4f6e988d06
fileModel: Fallback to FAST_CONTENT_TYPE
...
GVfs smb does not provide a FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE if the
content type is ambiguous. This happens for png/apng. Since we only need
to know if something is probably an image, we can use the fast content
type instead.
Closes #339
2024-03-28 22:21:20 +00:00
James Frost
a89279d556
window: Don't animate mouse fwd/back button
...
The forward and back buttons often found on the side of mice are binary
inputs in the same way keyboard keys are. After the change in !373 where
key presses where made instantaneous the mouse buttons have been
inconsistent. This change rectifies that.
Fixes #340
2024-03-28 21:21:22 +00:00
Maximiliano Sandoval
41c26daba2
image: Use const for RGBA::new
2024-03-21 19:54:21 +00:00
Khalid Abu Shawarib
b1f4708d62
properties_view: Disambiguate translatable word
2024-03-08 16:03:46 +00:00
Sophie Herold
199d258577
Change to "gl" as GSK default renderer
...
Due to performance reasons
<https://gitlab.gnome.org/GNOME/gtk/-/issues/6411 >
2024-03-02 21:58:10 +01:00