Yoda local fork of System76 cosmic-player
Find a file
Jeremy Soller 8923105997
feat: Keep controls and header bar visible when controls are hovered (#344)
Add a `controls_hovered` state tracked via new `ControlsHoverEnter`/
`ControlsHoverExit` messages. Previously the auto-hide timeout could
fire while the cursor was resting over the controls, since only mouse
movement/clicks reset the timer. Now, this is prevented whenever the
controls are hovered, i.e. `controls_hovered` is true.

Implementation comments:
- Controls popup is wrapped in a single `mouse_area` each to avoid
duplicate enter/exit events at internal widget boundaries.
- Double trigger of enter/exit messages in `update()` is guarded
against.

Resolves #304

- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
2026-10-01 07:12:11 -06:00
.github COSMIC policy update 2026-09-30 09:56:07 -06:00
.zed chore: update dependencies 2026-04-30 01:33:39 +02:00
debian Epoch 1.9.0 version update 2026-09-24 17:24:17 +02:00
i18n i18n: translation updates from weblate 2026-09-12 11:51:35 +00:00
res Add playback speed controls & minor UI \ UX improvements 2026-06-03 10:44:40 -04:00
src feat: Keep controls and header bar visible when controls are hovered 2026-09-27 18:08:47 +02:00
.gitignore fix: playback of malformed MP4 files with invalid framerates 2026-08-29 02:31:43 +02:00
build.rs Translate desktop and metainfo with xdgen 2026-05-07 17:23:41 -06:00
Cargo.lock Epoch 1.9.0 version update 2026-09-24 17:24:17 +02:00
Cargo.toml Epoch 1.9.0 version update 2026-09-24 17:24:17 +02:00
i18n.toml Convert to libcosmic and parse audio 2024-01-24 14:31:39 -07:00
justfile Translate desktop and metainfo with xdgen 2026-05-07 17:23:41 -06:00
LICENSE init 2024-01-23 21:55:34 -07:00
README.md Remove outdated dependencies 2024-10-08 07:58:08 -06:00
rustfmt.toml chore: update dependencies 2026-04-30 01:33:39 +02:00
shell.nix add shell.nix file 2025-03-13 12:18:18 -06:00
TESTING.md Add TESTING.md doc 2026-05-06 12:17:17 -06:00

cosmic-player

WIP COSMIC media player