Commit Graph
100 Commits
Author SHA1 Message Date
Samuel Onoja 91d2388d12 Fix dialog placement and decorations and compact confirmation dialogs 2026-10-01 14:36:33 +01:00
Samuel Onoja 24e23e2903 Use translucent styling for Control Center theme buttons 2026-10-01 13:52:08 +01:00
Samuel Onoja 9e966f81a0 Preserve live dimming settings and stabilize theme transition borders 2026-10-01 13:49:36 +01:00
Samuel Onoja dec4d54bd4 Size notification history from its measured content 2026-10-01 13:42:48 +01:00
Samuel Onoja 80527eabea Fix area screenshots on automatically positioned outputs 2026-10-01 13:39:58 +01:00
Samuel Onoja bdc3ba435f fix clippy warnings 2026-10-01 13:24:21 +01:00
Samuel Onoja 7b88083020 Upgrade compositor to v6 with output-aware surface preferences 2026-10-01 12:56:03 +01:00
Samuel Onoja cbf048566a Split shell, settings, and compositor into focused modules 2026-10-01 12:47:26 +01:00
Samuel Onoja 2b9f30fa5d Add shortcut hint toggle with Super+F1 2026-10-01 12:30:35 +01:00
Samuel Onoja 2c95e5e80f Split status UI into focused menu modules 2026-10-01 12:18:30 +01:00
Samuel Onoja 4ea1f1f222 Prepare menu surfaces before animating popovers 2026-10-01 12:09:14 +01:00
Samuel Onoja 5250eeca7b Limit status errors to related control popups 2026-10-01 12:06:32 +01:00
Samuel Onoja 7a9fd5c864 Respect motion settings and improve accessible theme transitions 2026-10-01 11:54:57 +01:00
Samuel Onoja 53bad8c672 Restore floating window size before the first buffer 2026-10-01 11:36:53 +01:00
Samuel Onoja a14f222119 Make horizontal focus swipes follow touchpad motion 2026-10-01 11:34:30 +01:00
Samuel Onoja b29d271252 Add floating placement memory and edge snapping 2026-10-01 11:24:56 +01:00
Samuel Onoja 9c99b13c31 Stabilize minimal reveal at viewport edges 2026-10-01 10:38:29 +01:00
Samuel Onoja 8d695da04f Use nearest-edge reveal for minimal scrolling 2026-10-01 10:33:01 +01:00
Samuel Onoja 464a1a635b Add continuous touchpad workspace swiping 2026-10-01 10:28:14 +01:00
Samuel Onoja 17b8482433 Add per-monitor workspace back-and-forth 2026-10-01 10:14:35 +01:00
Samuel Onoja cb6fe73e44 Complete polkit authentication dialog and harden session handling 2026-10-01 09:46:18 +01:00
Samuel Onoja 4137f787bf styling fix and clippy fixes 2026-10-01 08:59:00 +01:00
Samuel Onoja 1364ff62b8 clippy 2026-10-01 08:56:26 +01:00
Samuel Onoja 6d8041a59a Register native polkit agent for the login session 2026-10-01 08:34:38 +01:00
Samuel Onoja 1cad509275 Reduce allocation overhead when advancing animations 2026-10-01 08:22:15 +01:00
Samuel Onoja a02925b2ee Add manual and battery-aware automatic display refresh switching 2026-10-01 08:08:08 +01:00
Samuel Onoja a203b45a4b Restore portal appearance fallback to resolved disk configuration 2026-10-01 07:51:16 +01:00
Samuel Onoja b105ea8ef9 Cover portal appearance with a theme IPC owner in contract tests
The Settings portal reads appearance exclusively from the compositor's
theme control socket and falls back to defaults when no compositor is
reachable, so the contract test could no longer assert appearance from an
on-disk KDL document.

Add a fixtures/theme_owner.py peer that speaks the theme IPC framing and
publishes schema-v2 snapshots, point the test at a private runtime socket,
and clear WAYLAND_DISPLAY and WAYLAND_SOCKET so the backend cannot reach a
host compositor. Assert the initial values, the SettingChanged payload
after a republish, and that ReadAll matches the published snapshot, then
confirm an invalid local document does not disturb portal-owned
appearance.
2026-10-01 07:44:36 +01:00
Samuel Onoja 67d2d95a01 Fix modal keyboard navigation and title switches; refresh documentation 2026-10-01 07:38:43 +01:00
Samuel Onoja 1b665f4157 update document wordings 2026-09-30 16:17:14 +01:00
Samuel Onoja e05aa31ce3 Decode portal wallpapers by content and simplify status bar
Detect wallpaper image formats from their contents so extensionless portal copies render on the desktop and lock screen. Preserve decode limits and cover extensionless files with regression tests.

Remove the Bluetooth icon from the status bar.
2026-09-30 14:56:43 +01:00
Samuel Onoja 1d7f408c67 reword view all screenshot to view more screenshot 2026-09-30 13:55:28 +01:00
Samuel Onoja 891727ec7a Refresh screenshot galleries and repair portal upgrades
Use the September 30 hero on the website and README, add a shared screenshot gallery, and remove the old showcase images. Build image links locally and clean generated site output.

Back up the known development portal override during installation and report custom overrides before building. Keep source selections clear while letting blur show through unselected rows.
2026-09-30 13:50:06 +01:00
Samuel Onoja 3d950a0411 Add resolved appearance engine and paired theme settings
Resolve light, dark and automatic appearance centrally and publish live theme snapshots to native surfaces and the appearance portal. Add paired preset families, custom theme imports, accessibility transforms and contrast-safe transitions.

Refine the Settings gallery and Auto controls, move overrides under advanced customization, and share palette-aware switches and circular slider thumbs. Document configuration and include theme licenses and integration coverage.
2026-09-30 12:51:49 +01:00
Samuel Onoja 2bb4c086f5 dix battery menu 2026-09-30 07:31:07 +01:00
Samuel Onoja ec95ae5e80 nit 2026-09-30 07:07:36 +01:00
Samuel Onoja 9ad87a84a2 improve docs 2026-09-30 07:05:18 +01:00
Samuel Onoja 4d60c296a7 Simplify documentation and website; expand shortcut guides 2026-09-30 07:00:20 +01:00
Samuel Onoja 46509f880a Fix compositor output routing and pointer hints; format imports 2026-09-30 06:39:58 +01:00
Samuel Onoja 88e4f3c135 Remove duplicate dialog frames and give source lists enough height 2026-09-30 05:57:37 +01:00
Samuel Onoja 518b083472 Align modal blur regions and preserve materials during resize 2026-09-30 05:51:43 +01:00
Samuel Onoja 83574451df Fix DRM callback pacing and shared animation timing 2026-09-30 05:39:51 +01:00
Samuel Onoja 46d33751c6 Back up portal configuration during explicit development upgrades 2026-09-30 05:22:26 +01:00
Samuel Onoja 35537b32c8 Dim and sleep locked displays after inactivity
Add adjustable lock-only inactivity delays, a smooth dimming fade and DRM display sleep without changing output layout. Input, session resume and policy changes wake displays. Pending flips retire before power-off, and protected fallback frames preserve the policy after an early locker crash while unlock ownership checks remain strict.

Reduce the password field and avatar, expose delays in Settings, document the practical swaylock comparison and remove the completed backlog.

Validation: independent review cleared; 255 compositor tests, 7 locker tests and 15 Settings tests pass; affected debug binaries rebuilt. Isolated visual smoke remains blocked by an unlocked nested screenshot timeout, matching the previously established baseline presentation limitation. Real DRM display sleep requires a live session check.
2026-09-30 05:10:04 +01:00
Samuel Onoja d26e1511d1 Implement native InputCapture with private EIS receiver transport
Add consent, zones and outside-edge barriers, connection-scoped leases, bounded input queues and keyboard/pointer forwarding. Restore local input on release, locking, topology or keymap changes, receiver loss and emergency escape. Preserve held-key state and distinguish finger stops from absent scroll axes.

Validation: independent review cleared; 5 native InputCapture unit tests; 32 portal tests; official D-Bus contract checks on a private bus; real installed libei receiver interoperability test. Live physical barrier and consent interaction remain to be checked in a desktop session.
2026-09-30 04:51:08 +01:00
Samuel Onoja baca852ee9 Support isolated live window ScreenCast streams
Render selected toplevels through a private portal-only capture protocol, preserve logical snapshot geometry, and renegotiate PipeWire video on window resizing. Bound outstanding snapshots and retry temporary contention; stop on source closure and session locking.

Validation: portal unit tests (31), capture budget unit, private-bus portal contracts, and real nested/PipeWire isolation, workspace, resize, close and paused-lock tests pass. Independent review cleared. Monitor restore integration timed out on both this build and the unchanged previous compositor under the current nested host.
2026-09-30 04:02:33 +01:00
Samuel Onoja 56a888adb3 Restore explicitly approved ScreenCast display permissions 2026-09-30 03:12:13 +01:00
Samuel Onoja da1428dd00 Clean up shared theme imports in portal consent dialog 2026-09-30 02:46:47 +01:00
Samuel Onoja 46a6d08a83 Use shared theme text and controls throughout native dialogs 2026-09-30 02:46:08 +01:00
Samuel Onoja 29a71e9974 Implement native inhibition and acknowledged session-ending confirmation 2026-09-30 02:38:54 +01:00
Samuel Onoja cc441c049e Show an active keybinding guide until disabled in Settings 2026-09-30 02:03:55 +01:00
Samuel Onoja 61870b9b6c Keep overview open when selecting workspace cards 2026-09-30 01:48:23 +01:00
Samuel Onoja 0ab5f2e05b Add isolated window screenshot targets with native selection 2026-09-29 23:54:32 +01:00
Samuel Onoja c8ed8e6c30 Add configurable session-scoped global shortcut portal 2026-09-29 23:32:41 +01:00
Samuel Onoja e71cd88ff8 Add native portal lockdown policy and serialize configuration writes 2026-09-29 23:10:50 +01:00
Samuel Onoja 09a8cd346a Align ScreenCast picker and stream metadata with portal contracts 2026-09-29 23:00:42 +01:00
Samuel Onoja ddbed192c0 Add background and USB consent with XDG session autostart 2026-09-29 22:53:30 +01:00
Samuel Onoja 915bc8afd6 Add native appearance, screenshot and wallpaper portals 2026-09-29 22:42:27 +01:00
Samuel Onoja d8a23748c8 Confirm power and logout actions in centered system modals 2026-09-29 22:21:15 +01:00
Samuel Onoja 4ca3a59cb7 Keep translucent backdrops blurred independently of tint opacity 2026-09-29 21:58:56 +01:00
Samuel Onoja 99d2a3468c Activate the displayed workspace when selecting an overview window 2026-09-29 21:37:20 +01:00
Samuel Onoja ae712b6b40 Keep workspace presentation in numeric order 2026-09-29 21:29:58 +01:00
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