Commit Graph
276 Commits
Author SHA1 Message Date
Samuel Onoja b2363a18b0 Share native theme components and fix dialog backdrop blur
Centralize native palettes, presets, typography, controls, menus, calendar rendering, and icon assets in ferese-theme. Reuse the shared components across the shell, settings, lock screen, authentication prompt, and screen-sharing chooser.

Attach themed dialogs to compositor-owned materials, correct backdrop capture and sampling across output transforms, smooth patterned backgrounds, and prevent clipped picker buttons with the configured shell font.
2026-09-29 21:19:19 +01:00
Samuel Onoja 362bf79012 Consolidate workspace slide cleanup 2026-09-29 17:09:32 +01:00
Samuel Onoja 74634b8cd0 Animate swipe navigation across windows and workspaces 2026-09-29 17:05:28 +01:00
Samuel Onoja 77ff92c6d6 Size the screenshot editor from the captured image 2026-09-29 16:19:50 +01:00
Samuel Onoja 38673e41c8 Abandon screenshot requests whose output is never redrawn 2026-09-29 16:19:46 +01:00
Samuel Onoja b3de13e27e Keep fullscreen dialogs visible and preserve window focus 2026-09-29 16:14:19 +01:00
Samuel Onoja eda453dabd Capture screenshots in the compositor instead of grim 2026-09-29 15:51:56 +01:00
Samuel Onoja 4b70cb40e0 Move and resize floating windows with the Super button 2026-09-29 15:51:51 +01:00
Samuel Onoja a597d09a7a Settle window animations when their workspace hides 2026-09-29 15:13:31 +01:00
Samuel Onoja a840db5946 Settle hidden window presentation on workspace return 2026-09-29 14:54:44 +01:00
Samuel Onoja c73d11b2c9 Match hover focus to pointer surface hit testing 2026-09-29 13:59:38 +01:00
Samuel Onoja 9b78aabf0a Revert "Keep drag source focused until pointer leaves release window"
This reverts commit 7b6e592cb4.
2026-09-29 13:55:58 +01:00
Samuel Onoja 7b6e592cb4 Keep drag source focused until pointer leaves release window 2026-09-29 13:50:12 +01:00
Samuel Onoja 96e1b6ac5a Close share picker after consent without a second modal 2026-09-29 13:10:24 +01:00
Samuel Onoja 7d3a88bef7 Unmap hidden windows in place in relayout
The hidden-window sweep built a Vec of cloned Window handles purely to
work around the borrow checker: unmap_elem needs &mut self.space while
the iteration borrows self.window_ids. Move the space out with
mem::take instead and unmap in place, dropping the allocation and the
per-window clone.

Behaviour is unchanged. unmap_elem only removes the element passed to
it, so it cannot affect element_location for any other window, which
makes checking each window immediately before its own unmap equivalent
to testing every hidden window up front; the unmap order is the same
window_ids iteration order. The |= is deliberate so the check never
short-circuits past an unmap.

This is a cleanup, not a measured win. The sweep is dominated by the
linear scans inside element_location and unmap_elem, and a Vec only
allocated when windows were actually hidden, so the saving is small.
Verified with twelve live foot windows across forty workspace switches.
2026-09-29 13:09:58 +01:00
Samuel Onoja 4bf8043137 Accept monitor capture when apps also request windows 2026-09-29 13:01:47 +01:00
Samuel Onoja c6b548349d Restore the battery menu sections and center their icons
A let-chain collapse in the status menu left the battery blocks
inside the notifications arm, so the percentage, level meter, power
mode row, and power actions only rendered when notifications were
present. Close the notifications block before the battery checks so
each menu kind owns its own sections again.

Use center_x/center_y on the fixed-size icon containers rather than
align_x/align_y, which left badges and the top bar slot sitting off
center in libcosmic, and constrain the menu icon to a square 22px slot
so the battery glyph is not letterboxed by its own width. Give the
power tiles a Fill-width centering container inside their
FillPortion(1) buttons so the label and icon stay centered on hover.

Drop the two column-alignment TODO wrappers the collapse introduced.
2026-09-29 12:00:08 +01:00
Samuel Onoja e7ee2f14db Skip the pointer hit test outside Overview presenting
visual_scale_for_window returns 1.0 whenever Overview is not
presenting, so gate the window_under_visual walk behind
is_presenting() and read the scale straight from the constant.

Use hash_map::Entry for the window geometry insert so client_size is
only computed on the vacant path, and reuse the elapsed time already
sampled for the frame in expire_wait and presentation_size_request
instead of calling start_time.elapsed() a second time.
2026-09-29 12:00:03 +01:00
Samuel Onoja 2eb5fe7b73 Release layout slots for unbuffered XDG windows 2026-09-29 11:52:17 +01:00
Samuel Onoja 67192c0c04 Speed up per-frame layout, hit testing, and stacking paths
Split ScrollingLayout validation so the per-frame geometry solve only
checks scalars and keeps the full tree validation behind debug_assert,
removing a HashSet build from every frame. Replace the per-region Vec
in decode_regions with a stack array via as_chunks, and skip the window
hit test in PointerMotion when Overview is not presenting, where
visual_scale_for_window returns 1.0 regardless.

Guard sync_window_stacking behind a check that the space already matches
the target order with uniform z_index, avoiding an O(n^2) raise_element
loop on every redraw. Narrow window_under_visual to the space iterator
outside Overview, keeping the collected and sorted candidate list for
the Overview branch where front-to-back order is load-bearing.

Raise rust-version to 1.98 and clear the resulting Clippy findings
across the workspace: let-chain collapses, clamp, and while-let loops.
2026-09-29 09:49:04 +01:00
Samuel Onoja 391f6b4e37 Refresh desktop screenshots across the website and README 2026-09-28 11:56:25 +01:00
Samuel Onoja 84b03be53e Refresh a retained portal when starting a Ferese session 2026-09-28 11:41:07 +01:00
Samuel Onoja 9754326f1d Stop the native portal with the graphical session 2026-09-28 11:33:56 +01:00
Samuel Onoja 7d73510086 Float native screen sharing and authentication dialogs by default 2026-09-28 11:12:00 +01:00
Samuel Onoja 38067726c2 Activate the graphical session and refresh portal services at login 2026-09-28 11:11:01 +01:00
Samuel Onoja 41d63f6b18 Make Overview selection responsive and simplify window previews 2026-09-28 10:45:38 +01:00
Samuel Onoja 442b950bcd Separate pointer focus from scrolling window reveal 2026-09-28 10:36:19 +01:00
Samuel Onoja 2b0ec94ab7 Preserve selected window focus while Overview closes 2026-09-28 10:27:49 +01:00
Samuel Onoja e1e25e46e6 Honor output orientation in recording and screen sharing 2026-09-28 10:19:19 +01:00
Samuel Onoja 3ad0108d80 Tighten Control Center captions and truncate device names 2026-09-28 10:09:12 +01:00
Samuel Onoja a72a9e9ae8 Make full bar clock open calendar 2026-09-28 10:05:25 +01:00
Samuel Onoja 2bab33758b Simplify Control Center tiles with larger icons and centered details 2026-09-28 10:01:41 +01:00
Samuel Onoja 5cc8927933 Keep calendar popover compact and content sized 2026-09-28 09:59:12 +01:00
Samuel Onoja 7450dd7b1e Use accent tiles and a header settings shortcut in Control Center 2026-09-28 09:57:15 +01:00
Samuel Onoja f933484c7b Center focused window titles and simplify Control Center controls 2026-09-28 09:53:07 +01:00
Samuel Onoja e9dcc968e1 Keep theme text readable on bright accent buttons 2026-09-28 09:47:11 +01:00
Samuel Onoja f9d5d9a8a8 Polish authentication dialog colors and agent registration 2026-09-28 09:42:34 +01:00
Samuel Onoja c8e89fb758 Unify shell opacity and add native authentication and system controls 2026-09-28 09:26:14 +01:00
Samuel Onoja 8832a9bf2e Align recording dialog behavior and shell theme styling 2026-09-28 09:15:13 +01:00
Samuel Onoja 24e15f76cb Centralize accent foreground contrast across Ferese UI 2026-09-28 08:58:51 +01:00
Samuel Onoja 299f60e671 Streamline recording controls and compact the display picker 2026-09-28 08:45:50 +01:00
Samuel Onoja 6209d556ee Add native screen recording with themed top-bar controls 2026-09-28 08:30:59 +01:00
Samuel Onoja 0c7ff410a3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	site/README.md
2026-09-28 07:58:33 +01:00
Samuel Onoja a88d05a9f2 Document screen sharing across the website and handbook 2026-09-28 07:58:05 +01:00
Samuel Onoja e7d92280d6 Add native ScreenCast portal with PipeWire monitor streams 2026-09-28 07:54:22 +01:00
Samuel Onoja 4276a45e9f docs: explain Ferese integration model 2026-09-27 14:02:37 +01:00
Samuel Onoja cb512eece9 Respect translucent bar opacity and skip unnecessary blur 2026-09-27 12:41:24 +01:00
Samuel Onoja 23d84c0a77 Unify notification center popovers and translucent card materials 2026-09-27 12:40:08 +01:00
Samuel Onoja 3c532725ec Respect committed floating window sizes and client limits 2026-09-27 12:26:46 +01:00
Samuel Onoja f87039562b Prune unused empty workspaces while preserving visible outputs 2026-09-27 12:16:50 +01:00