Sophie Herold
8cb14169db
slidingView: Allow WidgetExt::allocation for now
...
Has been deprecated but not sure what is the correct replacement
2023-08-16 12:21:59 +02:00
Sophie Herold
05868d785f
window: Always ask for program to open images
...
This fixes "Open With…" not always asking for a program.
2023-08-16 12:03:46 +02:00
Sophie Herold
65a5f39861
image: Force minimum tile size of 1000x1000
...
Everything else does not make sense loading performance
wise.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/276 >
2023-08-16 08:44:41 +00:00
Sophie Herold
07513f5940
image: Don't render first tiles with zoom=1
...
Closes #145
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/276 >
2023-08-16 08:44:41 +00:00
Sophie Herold
270853ea57
image: Reload image on FileMonitor Renamed events
...
The Rename event is also fired if the file got replaced
via a file move.
Closes #227
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/271 >
2023-08-08 16:27:03 +00:00
Sophie Herold
a027513447
decoder: Use glycin for decoding SVGs as well
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/267 >
2023-08-06 11:59:33 +00:00
Sophie Herold
1a7a34c3b6
Revert "print: Add libadwaita-rs features missing upstream"
...
This reverts commit ae23db6967 .
2023-08-06 11:27:35 +02:00
Sophie Herold
0cff205c9d
general: Update to gtk-rs 0.7
2023-08-06 11:24:01 +02:00
Sophie Herold
aac476134f
print: Use inch for US and LR
...
Closes #143
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
172ce9d976
print: Code cleanup
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
2fac5e6c43
print: Limit width an hight fields correctly
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
14ba64f687
print: Let margins and sizes interact properly
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
f5071fb630
print: Make units translatable
...
Closes #142
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
3dbcce8375
print: Add height and fill-space options
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
d7a77ec498
print: Split unit selection for margins and size
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
e6646bdbe3
print: Make preview size adaptive
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
65af818567
print: Show filename and printer in title
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
9bfa9f7294
print: Use AdwSpinRow
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
ae23db6967
print: Add libadwaita-rs features missing upstream
...
This should be reverted when porting to new release that
supports those features.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
d1465b43e6
window: Use border variant of raised HeaderBar
...
This avoids shadows over images
Closes #106
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/263 >
2023-08-04 19:17:32 +00:00
Sophie Herold
14fad2ffad
fileModel: Do file listing after monitor init fail
...
Before, the code would not continue to listing the files
if connecting to the file monitor failed. Therefore, browsing
files was not available on SMB where file monitors don't work.
Closes #200
2023-08-03 21:29:41 +02:00
Sophie Herold
d13acea38a
imageView: Deny DragSource for touchscreens
...
Before, the DragSource gesture was claimed on touchscreens,
while no dnd was available there anyways. This caused swiping
through images to only work unreliably.
Issue #176
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/264 >
2023-07-31 22:01:27 +02:00
Sophie Herold
c4d8145dd3
image: Deny drag gesture for touchscreens
...
ScrolledWindow can handle the panning in images
better than we can.
This fixes an issue where zoomed in images can't
be zoomed or rotated on touchscreens.
Issue #176
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/264 >
2023-07-31 21:08:58 +02:00
Christopher Davis
94b6c255d2
general: Update repo link
...
We've moved into GNOME/ proper now :D
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/257 >
2023-07-27 22:58:00 +02:00
Alice Mikhaylenko
0d267e5219
slidingView: Enable overshoot
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/261 >
2023-07-27 20:30:24 +00:00
Sophie Herold
55551ae6a2
general: Update copyright notices
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/258 >
2023-07-18 17:48:43 +00:00
Sophie Herold
08a9c3e450
window: Remove default drop target style
...
The default does not fit well with our new custom one.
This also removes a bunch of code which was not used.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/258 >
2023-07-18 17:48:43 +00:00
Sophie Herold
cf8fa499d9
window: New way to detect own window in d+d
...
This is a (hopefully) cleaner way to detect if we are
dragging out of the own window to not show drag indicator
in that case.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/258 >
2023-07-18 17:48:43 +00:00
FineFindus
78b16518e5
window: Use custom overlay visual for drop target
...
Closes #59
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/258 >
2023-07-18 17:48:43 +00:00
qwel
3111efdd94
window: First work for drag overlay visuals
...
Issue #59
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/258 >
2023-07-18 17:48:43 +00:00
Christopher Davis
186401fb57
general: Change user-facing name to Image Viewer
...
This is part of the move to Core.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/256 >
2023-07-13 21:51:09 +00:00
Sophie Herold
e1ee9c14ee
about: Add basic debug information
2023-07-08 22:52:59 +02:00
Sophie Herold
06d688e79e
src: Format let-else statements
2023-07-07 19:22:51 +00:00
Christopher Davis
9e70931faf
Revert "general: Remove help-related code"
...
This reverts commit 2965799374 .
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248 >
2023-07-02 12:43:52 +00:00
abu_shawarib
33b4928c72
Revert "imagePage: Correctly align right-click menu"
...
This reverts commit 0ddecefe01 .
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247 >
2023-07-02 12:13:22 +00:00
FineFindus
bc9aff5068
refactor: Use is_some_and
2023-06-26 11:59:17 +00:00
FineFindus
52057aba65
window: Disable trash for non-native files
2023-06-23 19:42:30 +00:00
Christopher Davis
439286be40
general: Use std's OnceCell where possible
...
Rust's standard library now provides a drop-in replacement
for `OnceCell`. It requires no API changes from `once_cell`'s
version.
This commit replaces the version from `once_cell` with the
new `std` struct where possible. We still need to use
`once_cell` for properties until
https://github.com/gtk-rs/gtk-rs-core/pull/1113
is merged. We also still need it for Lazy until that lands.
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/241 >
2023-06-23 18:59:09 +00:00
Huan Thieu Nguyen
ffb2e1064d
window: Toast priority high to push old toast to queue.
2023-06-21 19:13:46 +00:00
Sophie Herold
eb94683d1f
fileChooser: Only list supported image formats
...
Closes #151
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/238 >
2023-06-21 10:03:38 +00:00
Sophie Herold
cc1c8a3da5
image: Use contains in modifier type flag checks
...
This, for example, allows to also pan the image
with Ctrl+Shift+Scroll like in EOG.
Closes #175
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/237 >
2023-06-20 20:42:14 +00:00
Sophie Herold
0c2bdbd736
image: Do not guess bg color for opaque images
...
In theory this feature made sense to see a black square
but in practice it seems mostly confusing.
Closes #186
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/235 >
2023-06-20 20:02:18 +00:00
Sophie Herold
c1422cf728
image: Notify when setting file property
...
This fixes new file names not being shown in HeaderBar
after renames.
2023-06-20 16:54:38 +02:00
Sophie Herold
3dd59c87ed
fileModel: Correct changed checks in file monitor
...
Those got accidentally inverted when moving to GFile.
Close #199
2023-06-20 16:42:51 +02:00
Sophie Herold
2faef84321
image: Also set zoom target when not animating
...
This currently only seems to affect HighRes scrolling
where SVGs are not rendered for the zoom level.
Closes #185
2023-06-20 13:23:21 +00:00
Sabri Ünal
b889665c95
Data: Fix Loupe URL
...
Fix out-of-date Loupe URL.
Fixes : #181
2023-06-10 22:35:21 +03:00
Sophie Herold
8d8197dda4
fileModel: Add missing IS_HIDDEN file attribute
2023-06-07 23:47:58 +02:00
Sophie Herold
291fa13d1f
meta: Update copyright headers
2023-06-07 23:44:20 +02:00
Sophie Herold
1b2dde79b6
decoder: Use glycin for image loading expect SVG
...
This gives us sandboxed image decoding and others the
option to extend Loupe with other image formats.
2023-06-07 20:21:28 +00:00
Christopher Davis
6df16aaa71
application: Remove backspace as a trash shortcut
...
Closes https://gitlab.gnome.org/GNOME/Incubator/loupe/-/issues/183
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/229 >
2023-05-31 22:04:33 +00:00