Ashley Wulber
0aed003d09
fix: tooltip destruction
2025-02-28 12:35:22 -05:00
Ashley Wulber
e69611752c
refactor: popup for tooltip
...
this conflicts with autopopup switching. Either I need to drop autopopup switching, disable tooltips if autopopup switching is enabled, or I need to change how autohopopup switching is implemented to use dbus or wayland protocols instead of simulating a click.
2025-02-28 12:35:14 -05:00
Ashley Wulber
f01a48ff72
refactor: better tooltips and helper methods for managing subsurfaces/popups
2025-02-28 12:35:06 -05:00
Ashley Wulber
44cf45ad4d
chore: update subsurface settings
2025-02-28 12:34:55 -05:00
Ashley Wulber
31d676a4f2
refactor: make SurfaceMessage handling opt in
2025-02-28 12:34:49 -05:00
Ashley Wulber
63f249a395
refactor: remove SurfaceMessageHandler
2025-02-28 12:34:47 -05:00
Ashley Wulber
306995febf
refactor(text_input): make on_input optional
...
this prevents a redraw of every surface in an application whenever the input changes.
2025-02-28 12:33:26 -05:00
Ashley Wulber
ab438b87f9
fix: explicit lifetimes for view closures
2025-02-28 12:33:24 -05:00
Ashley Wulber
343496841e
cleanup
2025-02-28 12:33:17 -05:00
Ashley Wulber
6f2a306c14
refactor: better usage of menu::Item
2025-02-28 12:33:16 -05:00
Ashley Wulber
69ae35010f
fix: button styling
2025-02-28 12:33:16 -05:00
Ashley Wulber
5ef18de61f
refactor: menu bar buttons
2025-02-28 12:33:15 -05:00
Ashley Wulber
ad65f45f5b
refactor: SurfaceMessage
2025-02-28 12:33:15 -05:00
Ashley Wulber
3de3e3efa8
refactor: use RcWrapper
2025-02-28 12:33:14 -05:00
Ashley Wulber
9ee6233884
refactor: remove menu tree changes
2025-02-28 12:33:14 -05:00
Ashley Wulber
04b51bc1ba
wip: menus
2025-02-28 12:33:14 -05:00
Ashley Wulber
b316d8901b
better surface messages
2025-02-28 12:33:12 -05:00
Ashley Wulber
681aed735b
wip: tooltips
2025-02-28 12:32:22 -05:00
Ashley Wulber
91459591ec
wip: subsurfaces
2025-02-28 12:31:15 -05:00
Michael Aaron Murphy
8a0e74b189
perf(iced): improve window resize performance
2025-02-20 13:36:04 +01:00
Michael Aaron Murphy
1f826e38b9
improv: call malloc_trim after view and update calls
2025-02-19 18:13:24 +01:00
Michael Aaron Murphy
76348bb985
chore: handle more sources of excess cosmic-config logs
2025-02-19 16:57:28 +01:00
Michael Aaron Murphy
ab6de5304b
chore(theme): avoid logging errors for unset config parameters
2025-02-19 15:37:59 +01:00
Michael Aaron Murphy
7d84d21129
improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles
2025-02-18 23:57:58 +01:00
Ashley Wulber
3f25af87a3
refactor: small widget container colors
2025-02-17 15:13:16 +01:00
Ashley Wulber
25bf8f60cc
feat: improve accent_text for low contrast accent colors.
2025-02-17 15:13:16 +01:00
Michael Aaron Murphy
580db26868
fix(cosmic_config): is_err method conditions reversed
2025-02-14 22:42:50 +01:00
Michael Aaron Murphy
cd8f4ee859
fix(cosmic_config): treat errors getting key_path in get_local as NotFound
2025-02-14 22:39:09 +01:00
Michael Aaron Murphy
ccc1068d9f
feat(cosmic_config): add ConfigGet::get_{local,system_default}
...
Required by https://github.com/pop-os/cosmic-settings/pull/975 to a modify a config
containing a HashMap which is used to partially-override the system default config
in the compositor.
2025-02-14 21:44:08 +01:00
Tony4dev
0b7e23444a
feat(segmented_button): add len method
2025-02-13 16:22:42 +01:00
Ian Douglas Scott
cba28b1372
Update cctk and iced
2025-02-13 06:59:27 -08:00
Michael Aaron Murphy
f59eb77252
perf: set static mmap threshold on gnu target env by default
2025-02-12 10:59:46 -07:00
Ian Douglas Scott
9426a985c6
Update iced and cctk
2025-02-04 11:04:12 -08:00
Victoria Brekenfeld
fdfd80f8b1
chore: Update ron to 0.9
2025-01-22 15:50:44 +01:00
ellieplayswow
900fc34444
feat(icon): add rotation property
2025-01-20 11:08:36 +01:00
Tony4dev
def11c6c96
improv(calendar): make visible public
2025-01-19 15:37:07 +01:00
Eduardo Flores
00a4042c40
chore(calendar): add derive attributes
2025-01-19 12:58:57 +01:00
Michael Aaron Murphy
1914006cdd
fix(text_input): compiler errors after Cow change
2025-01-16 06:38:08 +01:00
Tony4dev
8211fb68bd
improv!(calendar): do not select date when navigating prev/next months
2025-01-16 06:30:21 +01:00
Soso
90c5c84cce
improv(text_input): use Cow<str> for label, helper, and error text
2025-01-16 06:29:03 +01:00
netraptor
b244970a18
fix: disable async-std default dependency in rfd dependency when using tokio
2025-01-16 06:28:20 +01:00
Michael Aaron Murphy
4a97b3ddd2
chore: enable image/gif when using animated-image feature
2025-01-14 21:45:10 +01:00
Michael Aaron Murphy
99b729faff
chore: update image-rs and set defaults to only png + jpeg
2025-01-14 21:41:16 +01:00
Dryadxon
bd8347f7fc
fix: impl combo_box::Catalog
2025-01-13 15:45:27 -07:00
Ian Douglas Scott
af9e353f50
dnd_source: Add suppport for surface offset
...
The `drag_icon` callback is passed the offset of the cursor within the
widget at the start of the drag, and can return an offset the drag
surface should be placed relative to the cursor.
2025-01-13 10:44:33 -07:00
Jason Rodney Hansen
aaa2ba3ad4
Fix entering text with compose key
...
Previously entering text in text inputs with the compose key would insert one
or more NUL bytes before the inserted character.
2025-01-05 17:51:44 -07:00
Michael Aaron Murphy
e162c59160
perf: reduce memory usage by dropping ustr dependency
...
The string cache used by ustr pre-allocates 12 MB, even if we're
only using it for a few font family names. We can therefore
manage our own set of leaked strings to reduce memory usage by 12 MB.
2025-01-03 21:58:04 +01:00
Michael Aaron Murphy
fdefc5860b
perf: avoid duplicate Ustr for default font names
2025-01-03 01:18:47 +01:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside
2025-01-01 00:37:04 +01:00
Ashley Wulber
3f2ba11d56
refactor: send initial config after watching for changes
2024-12-31 11:23:28 -05:00