Sophie Herold
0bafb1e5d3
image/backgroundColor: Scale down to to 201px
...
An odd number seems to help with catching some details.
Closes #328
2024-02-25 18:09:11 +01:00
Sophie Herold
92e100fdb0
image/backgroundColor: Change debugs to trace
2024-02-25 18:09:06 +01:00
Sophie Herold
14e5d03a1e
image/rendering: Use new GdkMonitor geometry units
...
The bug that the geometry isn't returned in app pixels on wayland
without scale-monitor-framebuffer was fixed in GDK. Therefore also
require newer GTK version.
2024-02-11 19:03:32 +01:00
Sophie Herold
8c817a3ec6
meta: Update copyright annotations
2024-02-09 20:55:26 +01:00
Sophie Herold
6a4c1c61d7
image/scrollable: Add non-nullable adj getters
...
Somehow they are not automatically generated anymore with new gtk-rs
version.
2024-02-08 21:19:09 +01:00
Sophie Herold
0ed7036098
cargo: Update gtk-rs stack
2024-02-08 21:19:05 +01:00
Sophie Herold
a7116925bf
debug: Add more tracing for initial operations
2024-02-08 00:57:33 +01:00
Sophie Herold
2f0150ade1
image/zoom: Create animation with a fake target
...
This avoids warnings when contructing the animation.
2024-01-20 14:44:29 +01:00
Sophie Herold
aa3e517a1b
image/zoom: Use more trace instead of debug
2024-01-19 15:47:16 +00:00
Sophie Herold
e0df6fc725
image/rendering: Clamp natural size correctly
2024-01-19 15:47:16 +00:00
Sophie Herold
171077ffc7
window: Resize to natural on map
...
Only at this point we can be certain about the screen info like size an
scaling factor.
2024-01-19 15:47:16 +00:00
Sophie Herold
446ae5063a
window: Limit HeaderBar to min width as nat width
...
Before we were doing the same with just the title in the HeaderBar. This
gave problems with correctly measuring for ADW_CENTERING_POLICY_LOOSE.
2024-01-09 20:12:02 +01:00
Sophie Herold
7ebc902838
image/rotation: Configure adj during rotation
...
This was missing after we stopped configuring adjustments in snapshots.
Closes #302
2024-01-09 14:19:16 +01:00
Sophie Herold
0c53c75127
image/inputHandling: Stop kinetic after zoom
...
Stop kinetic scrolling after having used Ctrl + Touchpaad to zoom.
Closes #165
2024-01-04 21:50:34 +01:00
Sophie Herold
b1d1d547cf
image/zoom: Force zoom to center for buttons
...
Before, using buttons on touchscreen could zoom to the cursor position.
2024-01-04 14:37:11 +01:00
Sophie Herold
88099b1ec9
image/zoom: Make code more readable
2024-01-04 14:37:11 +01:00
Sophie Herold
56625f2309
image/zoom: Store pointer target through animation
...
Closes #48 #287
2024-01-04 14:37:04 +01:00
Sophie Herold
a0e4791e6b
image/zoom: Functions to calculate required adj
2024-01-03 00:49:50 +01:00
Sophie Herold
fe43bc3a4c
metadata: Centralize many loose ends
2024-01-01 22:43:30 +01:00
Sophie Herold
db6a7e7f2a
image: Move most functions to imp module
2023-12-27 00:12:35 +01:00
Sophie Herold
3d5ef4038e
image: Rename background_color module
2023-12-26 22:28:45 +01:00
Sophie Herold
6827a9c176
print: Use LpImage for preview
2023-12-26 21:51:39 +01:00
Sophie Herold
e387d8dc66
image: Check realized before using surface
...
This avoids crashes in early calls to scaling()
2023-12-26 18:36:26 +01:00
Sophie Herold
057ca6a3d0
image/rendering: Use scale instead of scale-factor
...
`GdkSurface:scale` supports fractional scaling available as
"scale-monitor-framebuffer" on Mutter. Use this value everywhere
instead of the integer scale-factor
Closing #182
2023-12-06 23:39:09 +01:00
Sophie Herold
9c8d3dc63f
image/rendering: Do not config adj in snapshot
...
This caused warnings and scrollbars to disappear under certain
conditions.
2023-12-05 21:35:03 +01:00
Sophie Herold
d69d0d5e47
image/scrollable: Abstract adjustment access
2023-12-05 21:26:09 +01:00
Sophie Herold
3ab4d82d36
image: Reorganize into several sub-modules
2023-12-05 16:00:46 +01:00