Commit graph

131 commits

Author SHA1 Message Date
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
8dcf208d70 print: Rearrange UI elements
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240>
2023-08-06 02:28:54 +00:00
Sophie Herold
6fe77fa6e5 flatpak: Use newer glycin version to test JXL
Closes #90

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/260>
2023-07-29 14:26:24 +00: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
Sophie Herold
c6bae9e450 fullscreen: Fix OSD headerbar for prefer white
Text was black on gray before

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/259>
2023-07-26 21:03:20 +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
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
Christopher Davis
3be09ac769 metainfo: New description
Provide a new description for our app data. Closes
https://gitlab.gnome.org/GNOME/Incubator/loupe/-/issues/22

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/253>
2023-07-12 15:01:08 -04:00
Sophie Herold
7f72ff2ccf meta: Prepare 45.alpha 2023-07-02 14:24:19 +00:00
Christopher Davis
fb6d852cca Revert "help-overlay: Remove unused help shortcut"
This reverts commit 22874fcc7b.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248>
2023-07-02 12:43:52 +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
45083720a3 image-page: Align popover after click position
Set "halign" proprty of context menu popover to "start"
to appear next to click point. This only works correctly
in RTL after gtk 4.11.3, by gtk@d329b00b

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247>
2023-07-02 12:13:22 +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
Christopher Davis
77c81c8f7c window: Use sp instead of px for breakpoints
sp is a unit provided by libadwaita for sclae-independent pixels.
This unit changes with the text scale factor.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Christopher Davis
a5cb0606b4 window: Remove stack from breakpoint
The stack widget is always visible, and does not need to be
set as visible again when the breakpoint is applied/unapplied.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Christopher Davis
5297231137 window: Use only one breakpoint
AdwBreakpoint automatically resets properties when the breakpoint
conditions no longer apply. This means we don't need to manually
create a breakpoint for the sidebar at widths greater than 590px,
as libadwaita already does that for us.

This commit removes the extra breakpoint.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Christopher Davis
4d391b566e window: Remove extra quotes
Some extra quotes were left in the UI file. Thankfully because
these were fully closed, they weren't causing any issues. Still,
they don't need to be there.

This commit removes the extra quotes.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Huan Thieu Nguyen
c6897da62d window: Let the user select multiple files to open.
Uses code that drag and drop already uses. It's kinda ugly because the
file dialog returns a ListModel.

As an added bonus, since the button responds to the action "win.open",
it will also allow open multiple files with the primary menu.
It would be a good idea to change the "Open…" label in the primary menu though.

Closes #191
2023-05-21 23:41:22 +02:00
Huan Nguyen
8804938859 window: Support forward and back mouse buttons
The button value for forward is 9. See <GNOME/gtk#515>.

Closes #172
2023-05-21 16:17:48 +00:00
Sophie Herold
d19a5bcf4d data: Prepare 44.3
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/216>
2023-05-11 18:23:53 +00:00
Sabri Ünal
22874fcc7b help-overlay: Remove unused help shortcut
Complementary to #2965799374

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/199>
2023-05-11 18:04:01 +00:00
Sophie Herold
3dc9e40bcb imageView: Fix vertical minimum size in measure 2023-05-03 23:47:40 +02:00
Sophie Herold
6e29b1ebff window: Move properties to bottom for narrow view
Closes #39
2023-05-03 23:41:36 +02:00
Sophie Herold
dbb65fa2cb window: Better solution for swipe sending motion
Swipe gestures send motion events without changed cursor position.
Catch that in a better way to avoid showing overlay controls on swipe.
2023-05-03 22:22:05 +02:00
Sophie Herold
a8693c50ef fullscreen: Hide headerbar on idle
Closes #154
2023-05-03 22:21:18 +02:00
Sophie Herold
d4f351bf5b propertiesView: Activatable rows not selectable
Inputs get to mixed up if the subtitle in rows that
are activatable are also selectable.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/207>
2023-05-03 16:41:51 +00:00
Sophie Herold
c42fe235c6 imagePage: Make crossfade from spinner work
It did not work before because the spinner page did
not take up the complete stack.

Also hiding the spinner when animating out of it
since it can be pretty dominant. Especially, since
it's usually not really shown before but the animation
starts emediately instead.

Closes #153

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/205>
2023-05-03 15:54:51 +00:00
Gotam Gorabh
8e0ab20e05 used correct verb phrase for print preview window title
used appropriate title for print preview window.

Fixes: https://gitlab.gnome.org/Incubator/loupe/-/issues/152
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/198>
2023-04-27 02:12:20 +00:00
Sabri Ünal
32ee47d08f app: Split rotate actions
To ensure simplicity of the process, replace the rotate actions
with new two actions, without modifying the existing rotate_image method.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/201>
2023-04-25 17:51:43 +00:00
Sabri Ünal
1f2be8353a help-overlay: Fix for 'delete' action appearing too long
The 'delete' action contains several shortcuts, which makes it appear too long on the help-overlay.

This patch resolves the issue by displaying only one shortcut for it.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/200>
2023-04-25 17:34:52 +00:00
Sophie Herold
b30296f994 window: Hide cursor with controls fullscreened
Closes #149

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/197>
2023-04-25 00:05:24 +00:00
Sophie Herold
d0abea4284 data: Update screenshots, description, and URLs
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/203>
2023-04-25 01:31:25 +02:00
Sophie Herold
9dc58baf17 meta: Prepare v44.2 2023-04-22 13:51:00 +00:00
Sophie Herold
b55b51a0f3 imageView: Fullscreen button at typical position
My muscle memory, research, and the proximity to "zoom in"
tells me we should try moving it to the right.

Closes #105

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/194>
2023-04-20 20:37:41 +00:00
Sophie Herold
4037b124d2 window: Properties button insensitive for no image
Make the toggle button insensitve if no image is shown.
Also close the properties if no image is shown anymore.

Closes #60

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/193>
2023-04-20 20:11:17 +00:00
Sophie Herold
2dbc7fa585 window: Drop AdwFlap for Headerbar
Redo everything headerbar related with new Adw widgets
when there is a working concept.

Closes #112

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/192>
2023-04-20 19:49:16 +00:00
Sophie Herold
916514604c imageView: Hide controls after mouse inactivity
Closes #25

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/189>
2023-04-20 15:18:06 +00:00
Sophie Herold
4eae4503bf data: Generate list of mime types in meson
First, this format is more easy to maintain.
Second, future image decoder dependencies will be
opt-out via build options. This way we can also not
add the mime types in that case.

Closes #125

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/181>
2023-04-19 01:17:24 +00:00
Sophie Herold
ae5ca76176 printing: Add printing support
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/165>
2023-04-18 23:52:53 +00:00
Sophie Herold
fad8bb7939 decoder: Use GFile instead of PathBuf
This allows to show images from locations that don't
have a representation with path.

This also works around not being able to read files in trash:///

Closes #56

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/174>
2023-04-18 16:22:49 +00:00
kramo
695693cf74 Add missing MIME types to desktop file
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/164>
2023-04-10 16:48:18 +00:00
Sophie Herold
22fe8e3404 data: Prepare 44.1 release 2023-04-06 23:19:06 +02:00
Sophie Herold
7bf9baa581 image: Ensure contrast for transparent images
Determine if the image is transparent and has low
contrast with default background color. If so,
use a different background color.

Closes #31

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/151>
2023-04-02 23:08:51 +00:00
Christopher Davis
2965799374 general: Remove help-related code
Our help documents are unfinished, and we shouldn't ship
unfinished documentation in our initial release.

We can revert this commit when we're ready to write the
documents properly.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/156>
2023-04-02 18:36:17 +00:00