97f42e565a
merge: upstream/libcosmic a l'etat pinne par epoch-1.9.0 ( 08a09e3df)
...
# Conflicts:
# Cargo.toml
# i18n/th/libcosmic.ftl
# iced
# src/surface/action.rs
# src/surface/mod.rs
2026-09-24 20:45:53 +02:00
Hojjat
53314201b0
fix(theme): draw selected label text in the on-accent color
2026-09-11 19:40:32 +02:00
Hojjat
56a210bb4e
feat(text_context_menu): always show items, but disable them
2026-09-11 18:51:57 +02:00
Hojjat
ff7c753302
fix(text_input): draw selected text in the theme's selected_text_color
2026-09-10 21:02:41 +02:00
Hojjat
eec2f7619d
Revert "fix(text_input): font color in selected mode ( #1409 )"
...
This reverts commit 7cc116803b .
2026-09-10 21:02:41 +02:00
Alex Klepov
7cc116803b
fix(text_input): font color in selected mode ( #1409 )
2026-09-10 17:33:57 +02:00
9535ada4d0
Merge upstream/master (COSMIC 1.6) into main
...
Aligne le fork sur epoch-1.6.0 (63 commits amont) en preservant les 19
commits yoda.
Resolutions notables :
- les cfg `all(feature = "wayland", target_os = "linux")` deviennent
l alias `wayland_platform` introduit en amont ; il exclut winit comme
le faisait le patch yoda 45eaaf16 , l intention est donc preservee ;
- les features iced `cctk` ont ete renommees `wayland` en amont, la
feature `wayland` locale est adaptee ; `winit` reste un marqueur vide
et `iced/winit` est liste explicitement ;
- cctk/ashpd gardent leurs chemins locaux dans la section conditionnelle
unix introduite en amont ;
- la garde anti-crash c0b653f5 (context_menu non assigne) est conservee
par-dessus la nouvelle structure amont ;
- traductions ca/oc restaurees depuis amont.
Le submodule iced suit (merge + correctif du cfg cctk residuel).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 21:55:00 +02:00
Ashley Wulber
8a017a15ee
fix: window id handling for multi-window
2026-08-07 20:20:54 +02:00
Ashley Wulber
03a66751ea
chore: feature gates
2026-08-07 20:20:54 +02:00
Hojjat
1de6ce9460
fix: dismiss the pop up on click outside or esc
2026-08-07 20:20:54 +02:00
Hojjat
8b31e83d58
fix(test): --features applet only
...
fix(test): `--feature wayland` only
2026-08-07 20:20:54 +02:00
Hojjat
d751855c74
feat: add Wayland popup context menu to TextInput
2026-08-07 20:20:54 +02:00
Hojjat
31ec448bf0
fix: request redraw in text input when needed
2026-08-05 16:02:04 -04:00
Hojjat
16d148807c
fix: clear paste cache after shift+insert
2026-07-16 19:23:41 +02:00
Ashley Wulber
8e6aea650a
fix: feature gates
2026-07-15 16:54:18 -04:00
4e1080108c
yoda: warning cleanup sweep (dead code + clippy --fix) (squashed)
...
Squash of 4 yoda commits:
- 84437e21 yoda: libcosmic-yoda dead-code purge (14->0 warnings)
- 999db0a4 yoda: cosmic-theme cleanup (4->0 warnings) — workspace at 0 warnings total
- 4743bb8e yoda: cargo clippy --fix on libcosmic-yoda (115->33 warnings)
- 675f3b59 chore: reduce local stack warnings
2026-07-02 18:35:50 +02:00
c85efc6180
yoda: bump iced submodule + cargo auto-fix sweeps (squashed)
...
Squash of 6 yoda commits:
- 282813c8 yoda: bump iced -> window_clipboard via public Forgejo fork
- cdf34938 yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings
- 38a988cb yoda: cargo fix on cosmic-config + bump iced auto-fix commit
- 301bbf6e yoda: bump iced submodule -> iced_winit warning cleanup (0 left)
- b94c03d9 yoda: bump iced submodule -> iced_widget cleanup (0 left)
- a9492d76 yoda: bump iced submodule -> all iced crates at 0 warnings
2026-07-02 18:35:21 +02:00
Hojjat Abdollahi
e7f278d17f
fix(text_input): add alt_clipboard bindings
2026-06-22 21:33:23 +02:00
Vukašin Vojinović
9c2a86a8f4
chore: add rustfmt config
2026-05-04 11:55:17 -04:00
Ashley Wulber
a44cff8011
fix(text_input): always clip input text with the text bounds
...
this issue seems unique to tiny-skia
2026-04-08 17:05:40 +02:00
Hojjat
724351727a
feat: select until char and double click select delimiter
...
adds a feature to select from the start of the sentence until the last
occurrence of a character. This can be used to select until the
extension in cosmic-files save dialog or rename pop up.
Also, it adds a feature to select until the last occurrence of a
character on double-click.
2026-04-07 13:35:26 +02:00
KENZ
8e3672a7dd
fix: focus detecting in IME logic
2026-04-06 15:59:18 +02:00
KENZ
f6eb314606
feat(text_input): minimal IME support for COSMIC specific text widgets
2026-04-02 00:35:57 +02:00
Hojjat
aef328238f
fix(editable): the UX is closer to design now
...
This fixes the unresponsive trailing icon and changes the behavior to be
closer to the UI/UX design.
2026-04-01 23:29:26 +02:00
Hojjat
e1738d2ea7
fix(text_input): keyboard shortcuts when keyboard is a different language
...
Matches what Iced does
2026-04-01 23:26:42 +02:00
Hojjat
2299fba69b
fix(text_input): RTL text cursor and highlight fixes
2026-04-01 23:26:42 +02:00
Ashley Wulber
413e63f62a
chore: update features and feature gates
2026-03-30 22:25:27 -04:00
Ítalo Dell Areti
380b341bdc
feat(text_input): add select_range method and Task function
2026-03-28 00:09:34 -04:00
Ashley Wulber
0e1a9d46eb
chore: update iced & cleanup text input
2026-03-04 12:04:33 -05:00
Ashley Wulber
e10459fb37
wip rebase updates
2026-03-04 12:04:32 -05:00
Hojjat Abdollahi
b9bd773940
feat: ellipsize text ( #1132 )
2026-02-19 10:06:45 -07:00
Ashley Wulber
a1b64dde3e
fix(input): handle ctrl shortcuts with caps lock
2025-10-27 13:22:05 -04:00
Cheong Lau
bd438a8581
perf: reduce memory allocations
...
This also changes `widget::column::with_children` and
`widget::row::with_children` to take an `impl IntoIterator` instead
of a `Vec`, like the `iced` variants of these functions do.
This shouldn't be a breaking change since passing in a `Vec` will still
compile and function exactly as before.
(Using `iced::widget::Column::from_vec` or
`iced::widget::Row::from_vec` isn't possible, since the elements of the
`Vec` aren't checked, so the size of the resulting `Column` or `Row`
won't adapt to the size of its children. Perhaps a new function could
be added to mirror `iced`'s?)
2025-10-22 04:30:57 +02:00
Ashley Wulber
529eeebaeb
fix: avoid focus effects if already focused
2025-10-20 11:58:40 -04:00
Ashley Wulber
f17cd2928a
fix: forward events to trailing element regardless of cursor position
2025-10-09 05:28:10 +02:00
Ashley Wulber
dc4e0edd73
fix(input): drag threshold
2025-10-07 19:43:26 +02:00
Cheong Lau
a27bb5e05d
chore: apply clippy suggestions
2025-10-05 04:40:51 +02:00
Ashley Wulber
9ff208e9d7
fix: if editable input is focused by operation, emit a message
2025-09-17 22:27:37 +02:00
Ashley Wulber
0e797b2440
improv(input): better initial handling of focus state
2025-09-16 00:27:25 +02:00
Ashley Wulber
989fcad99e
fix(input): reset cursor and last click state on unfocus
2025-08-12 17:54:47 +02:00
Michael Aaron Murphy
3f4a50ee2c
chore: remove eprintln logs
2025-06-11 11:49:32 +02:00
Ashley Wulber
ce56237ab9
fix(dnd): leave event handlers should expect None as the drag Id
2025-05-22 17:18:56 +02:00
Ashley Wulber
c8c650c041
fix: text input RTL panic
...
RTL text will want to alight to the right, and will try to use all of an unbounded width in the input. It also tends to be offset in a negative direction.
2025-05-06 14:21:19 -04:00
Ashley Wulber
924a9ff371
fix(input): don't ignore typing for managed inputs
2025-04-11 18:18:37 +02:00
Michael Aaron Murphy
f16bc4a764
fix(text_input): Backspace key ignored
2025-03-27 16:38:28 +01:00
Michael Aaron Murphy
0eb86850ce
fix(text_input): support numpad keys
2025-03-27 16:33:23 +01:00
Michael Aaron Murphy
c0b0b817e8
fix(text_input): send on_unfocus message where they were missing
2025-03-26 16:42:50 +01:00
Michael Aaron Murphy
ae5bb40d6e
fix(text_input): conflicts with keyboard focus navigation
2025-03-24 03:37:14 +01:00
Michael Aaron Murphy
c538d672df
improv(text_input): optimize, fix, and improve the text inputs
2025-03-21 13:21:57 +01:00
Michael Aaron Murphy
b2b6d90fb6
fix(text_input): fixing multiple issues
2025-03-18 16:56:01 +01:00