aboutsummaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)Author
2025-10-15Implement maximize-to-edges (true Wayland maximize)Ivan Molodetskikh
2025-10-15layout: Unfullscreen before removing for interactive moveIvan Molodetskikh
Several reasons for this: - Remove the sizing code from interactive move duplicated with toggle_window_floating. - Make the tiled size restore too instead of requesting 0x0 (which doesn't work for windows in the Tiled state).
2025-10-15tests/floating: Add more edge casesIvan Molodetskikh
2025-10-15tests/floating: Extract set_up_with_config()Ivan Molodetskikh
2025-10-02Partially implement config includesIvan Molodetskikh
Subsequent commits will add merging for all leftover sections.
2025-10-02Add layout overrides to window_opening testIvan Molodetskikh
2025-10-02config: Split Layout from LayoutPartIvan Molodetskikh
2025-09-18Fix layer-shell initial commit logicIvan Molodetskikh
I didn't properly update it for the Smithay refactor. It was reading initial_configure_sent too early. This worked before when niri had to reset it manually, but it no longer works now that it is automatically reset already before entering this function.
2025-09-17Update Smithay (last_acked refactor, Qt layer-shell popup grab fix, popup ↵Ivan Molodetskikh
ordering fix)
2025-09-17Add unmap-from-floating testIvan Molodetskikh
Hits a code path that reads the last acked state after unmapping.
2025-09-17tests/client: Check and panic on protocol errorIvan Molodetskikh
Otherwise it keeps inf-looping.
2025-09-17layout/scrolling: Store view_offset_before_fullscreen when column actually ↵Ivan Molodetskikh
goes fullscreen Simplifies the handling and correctly saves/restores view offset for clients that are slow to fullscreen, as can be seen from the fixed test.
2025-09-17tests/fullscreen: Add broken slow client unfullscreen view offset ↵Ivan Molodetskikh
restoration test
2025-09-17tests: Move complete_animations() to FixtureIvan Molodetskikh
2025-08-29Improve filtering for tests that need EGLIvan Molodetskikh
This way we don't skip the layout animation tests.
2025-08-27config: Clean up animations struct namesIvan Molodetskikh
2025-08-27Fix focus=false for move-column-to-workspace*, add to ↵gibberish
move-window-to-workspace-up/down
2025-08-14Add basic client-server resize animation testsIvan Molodetskikh
2025-07-14Set logind LockedHint on lock/unlock (#1763)peelz
* Set logind LockedHint on lock/unlock * fixup! Set logind LockedHint on lock/unlock - use warn!() instead of error!() - extract dbus call into a separate method * fixup! Set logind LockedHint on lock/unlock - Update LockedHint in refresh_and_flush_clients * fixup! Set logind LockedHint on lock/unlock woops * fixup! Set logind LockedHint on lock/unlock - only call SetLockedHint if niri was run with `--session` * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-07-13tests: Add layer-shell scaffolding and an overflow testIvan Molodetskikh
2025-06-18Fix typos (#1822)Baily
* Fix: Correct typo in xwayland module and update documentation This commit includes several improvements: 1. **Code Fix (clippy):** - I corrected a typo in `src/utils/xwayland/mod.rs` from `OFlags::WRONGLY` to `OFlags::WRONLY`. This was identified by `clippy` during the build process. 2. **Documentation Updates:** - **README.md**: - I clarified the sentence about finding help in the Matrix channel to be more inviting for new users. - I corrected a future date typo in the Media section for an interview (June 2025 to June 2024). - **wiki/Getting-Started.md**: - I changed the Russian month "мая" to "May" in an example output for better international readability. - I improved keybinding notation for monitor focus/move keys (e.g., Mod+Shift+H / J / K / L) to avoid ambiguity. - I updated `apt-get` to `apt` in Ubuntu dependency installation commands for modern practice. No new typos were found by `typos-cli` in this pass. * Revert README&GS.md to previous version * Apply rustfmt --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-07Add a resize transaction client-server testIvan Molodetskikh
2025-03-17Track uncommitted windowed fullscreen stateIvan Molodetskikh
Alright, this is the proper implementation. No more flickering.
2025-02-10tests: Mark window_opening/target_size as slowIvan Molodetskikh
2025-02-10tab indicator: Implement place-within-column settingIvan Molodetskikh
2025-02-05mapped: Add needs_configure flagIvan Molodetskikh
Allows to de-duplicate configures from requests that require one.
2025-01-30misc: Fix typosbbb651
Using [`typos`](https://github.com/crate-ci/typos) cli
2025-01-27Don't create on-disk sockets in testsIvan Molodetskikh
2025-01-27Use Niri::insert_client() in testsIvan Molodetskikh
2025-01-09Force-update insta snapshotsIvan Molodetskikh
1.42.0 reverted a 1.41.0 change to snapshot metadata.
2024-12-30Implement default-window-height for scrolling windowsIvan Molodetskikh
2024-12-30Dump post-unfullscreen configure in snapshot testsIvan Molodetskikh
2024-12-30tests: Respond to post-initial configuresIvan Molodetskikh
2024-12-30Implement default-window-height window ruleIvan Molodetskikh
Only works for floats that aren't initially fullscreen atm.
2024-12-30tests: Rename DefaultWidth to DefaultSizeIvan Molodetskikh
2024-12-30floating: Support default-column-width in most casesIvan Molodetskikh
open-fullscreen + open-floating default width is still not supported in this commit.
2024-12-30layout: Implement next-to + open-fullscreenIvan Molodetskikh
2024-12-30Add window opening size client-server testsIvan Molodetskikh
2024-12-30floating: Take into account non-fixed min/max size window ruleIvan Molodetskikh
2024-12-30tests: Fix spelling mistake in wfs DisplayIvan Molodetskikh
2024-12-30floating: Don't use fullscreen size as floating sizeIvan Molodetskikh
2024-12-30Restore floating size during interactive moveIvan Molodetskikh
2024-12-30floating: Improve expected size requests to avoid (0, 0) and duplicatesIvan Molodetskikh
2024-12-30floating: Remember and restore window sizeIvan Molodetskikh
2024-12-30Add floating sizing testsIvan Molodetskikh
2024-12-30floating: Request size only onceIvan Molodetskikh
Let floating windows resize themselves and keep that size.
2024-12-30layout: Support fullscreen for auto-floating windowsIvan Molodetskikh
2024-12-30Initial WIP floating window implementationIvan Molodetskikh
2024-12-22Implement client-server test infra and window opening testsIvan Molodetskikh
These tests make a real Niri instance and real Wayland clients (via manual wayland-rs implementation), both on the same event loop local to the test. This allows testing the full Wayland interaction, including arbitrary event ordering and delays. To start off, add a massive powerset test for the settings that influence where a window may open.