Adam Cosner
e5955b568d
ci: Updated pages.yml workflow
...
Use nightly channel to enable docs generating feature badges, plus enabled more features in the docs build, and building the cctk docs also
2026-04-08 07:04:54 +02:00
Adam Cosner
5d1dfc4c54
refactor!: remove cosmic::iced_* re-exports
2026-04-08 03:12:10 +02:00
Ashley Wulber
d9121d6f0d
refactor: better helpers for the progress_bar
2026-04-07 21:47:46 +02:00
Ashley Wulber
b963fbfea9
feat(widget): progress bars
2026-04-07 17:02:58 +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
Hojjat
1f87cbc883
fix: do not allow cursor or keyboard activity when popup is open
...
traps Tab from escaping, and won't allow elements in the background to
react to hover
2026-04-07 13:32:21 +02:00
Ashley Wulber
9aa87cd66b
fix(segmented_button): active font for context menu & prioritize active font over hover
2026-04-06 18:57:27 -04:00
Hojjat
ab3eedd0f2
chore: update iced
...
This pulls in the fix in cosmic-text to fallback to the default
SansSerif if there are missing glyphs in basic shaping.
Also removes advanced-shaping from the default features list.
2026-04-06 15:15:30 -04:00
KENZ
8e3672a7dd
fix: focus detecting in IME logic
2026-04-06 15:59:18 +02:00
Hojjat
1d01054993
chore: update iced
...
pulls in fixes for cycling focus
2026-04-03 19:23:40 -04:00
Vukašin Vojinović
fdf3369cea
chore: re-export iced row and column
...
This removes the custom row and column implementations and uses the iced ones directly.
2026-04-03 20:39:31 +02:00
Vukašin Vojinović
a9e0671075
fix(segmented_button): hover text style
2026-04-03 20:36:23 +02:00
Ashley Wulber
34219d1fd4
chore: wgpu cctk feature for wayland
2026-04-03 20:15:31 +02:00
Ashley Wulber
cdd825b953
fix: update iced
...
softbuffer released version doesn't support transparency yet
2026-04-03 16:17:44 +02:00
Ashley Wulber
b0f4e931f2
fix: font issues
...
some fonts are not falling back when a glyph is missing for a selected font and weight
2026-04-03 16:17:44 +02:00
Hendrik Hamerlinck
97a805e5a1
feat(applets): add destroy tooltip popup action
...
This commit adds a new surface action to explicitly destroy the tooltip
popup on `TOOLTIP_WINDOW_ID`, allowing proper cleanup when minimizing
applets.
2026-04-03 08:26:29 -04:00
Hojjat
24464908f6
fix: buttons are focusable again
2026-04-03 02:28:00 +02:00
GroobleDierne
7a02c9a296
fix(color palette): avoid duplicates
2026-04-02 16:21:50 -04:00
Hojjat
61e5d882ae
fix(ci): only document libcosmic, no dependency
2026-04-02 15:47:43 -04:00
Hojjat
12be83a8ef
chore: update iced
2026-04-01 22:14:07 -04:00
KENZ
f6eb314606
feat(text_input): minimal IME support for COSMIC specific text widgets
2026-04-02 00:35:57 +02:00
TobyDig
0ba668eb52
fix(desktop): use -e argument for spawning desktop entries with a terminal
2026-04-01 23:32:36 +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
22661fd764
chore: udpate iced
2026-04-01 23:26:42 +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
Adil Hanney
c33455e9ad
test: use default dark theme, not real system theme
2026-04-01 23:23:37 +02:00
Adil Hanney
9a72fe6c2d
fix: complementary should be dark not light
2026-04-01 23:23:37 +02:00
Adil Hanney
39e8300d90
test: snapshots of kcolorscheme and qpalette
...
AI disclosure: I asked GitHub Copilot (Claude Haiku 4.5) "What's the best way to add tests for my recently merged qt theming contributions?" It suggested the insta crate for golden testing the output strings as well as some unit tests. I implemented it myself.
2026-04-01 23:23:37 +02:00
Adil Hanney
f734ccbbde
test: fix expected color value
2026-04-01 23:23:37 +02:00
Adil Hanney
e86304cf3f
ref: use assert_eq not assert
...
This way, the test log can show the expected and actual result if it fails.
thread 'steps::tests::test_conversion_fallback_colors' (61338) panicked at cosmic-theme/src/steps.rs:213:9:
assertion `left == right` failed
left: 102
right: 103
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2026-04-01 23:23:37 +02:00
Adil Hanney
672f9047a2
test: use almost::zero instead of almost::equal as per documentation
...
"Do not use this to compare a value with a constant zero. Instead, for this you should use almost::zero."
2026-04-01 23:23:37 +02:00
Adil Hanney
8b52592f2d
ci: test cosmic-theme
2026-04-01 23:23:37 +02:00
Ashley Wulber
d631f9d6d7
chore: update iced
2026-04-01 23:21:27 +02:00
Ashley Wulber
4541c6a275
fix: example deps
2026-03-31 21:34:26 +02:00
Ashley Wulber
1433b89e40
chore: update iced
2026-03-31 21:34:26 +02:00
Adil Hanney
f06d15ae35
feat(cosmic-theme): produce QPalette ini for more compatibility
2026-03-31 17:02:52 +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
254c13cfc4
fix: ellipsize text in menu items
2026-03-27 21:22:54 +01:00
Ashley Wulber
e63f3196e2
fix: MenuActive path highlight
2026-03-27 21:21:59 +01:00
Hojjat
a38a6f5d73
fix(ci): install dependencies
2026-03-27 01:22:25 +01:00
Ashley Wulber
763f0da64c
fix(iced): RTL text fix
2026-03-26 22:19:39 +01:00
Ashley Wulber
adb3e341fc
fix(theme): bright colors for success, warn, destructive
2026-03-25 19:04:30 +01:00
Ashley Wulber
8e439c842c
chore: update iced
2026-03-24 01:25:57 +01:00
Frederic Laing
d7fd880ac6
fix(toggler): add touch input support
2026-03-23 10:22:04 -04:00
Hojjat
141261b9bf
chore: update iced
2026-03-23 10:21:15 -04:00
Hojjat
c804d3851d
fix: don't ever draw glyphs outside of the bounds
2026-03-23 10:21:15 -04:00
Hojjat
dc3ebaa38e
feat(segmented_button): add ellipsize support
2026-03-23 10:21:15 -04:00
Hojjat
7a56762422
fix: restore width and height fill for app content
2026-03-20 22:23:16 +01:00