mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-17 06:11:21 +01:00
test(nix): share the columns of the scrolling layout, and two monitors
The checks of the scrolling suite were KDE's, but kfde and komorebi for Windows lay the strip out with the same model. scrolling.columns is the scenario of the five windows in two columns, now run by the scrolling suite and by core-e2e; scrolling.two_monitors checks that a strip with a display next to it leaves no window shown on that display.
This commit is contained in:
1 parent
b4edd1c023
commit
a8e79ca5d2
9 files changed
+438
-185
No files matched your search
@@ -60,6 +60,8 @@ runs, and goes stale when the code changes.
|
||||
| `pausing` | a paused daemon leaves a new window alone, and an unpaused one takes the next | pass | pass |
|
||||
| `tiling_off` | `toggle-tiling` leaves the windows where they are, a layout change moves none, and tiling again tiles them | pass | pass |
|
||||
| `scrolling` | in the scrolling layout each window in turn has the focus and is inside the work area | pass | pass |
|
||||
| `scrolling.columns` | five windows in two columns: the ones out of view rest at an edge with their width, the strip follows the focus and `pan`, and `consume`, `expel`, `toggle-column-stack` and `scrolling-layout-full-width` work | pass | not run yet |
|
||||
| `scrolling.two_monitors` | a strip with a display next to it: scrolling with `focus` and `pan` shows no window on the second display | pass | not run yet |
|
||||
| `monitors` | the monitor commands (`send-to-monitor`, `move-to-monitor`, their cycle, workspace and named forms, `focus-monitor`, `cycle-monitor`, `focus-monitor-workspace`, `cycle-move-workspace-to-monitor`, `focus-monitor-at-cursor` where there is a pointer) put each window on the monitor and workspace asked for, tiled in its display, and the focus where each leaves it | not run | not run |
|
||||
| `layout_flip` | `layout_flip` in the config (`Horizontal`, `Vertical`, `HorizontalAndVertical`) mirrors a workspace's layout from the start, `flip-layout` turns it off and on, and it is the named workspace's own | not run | not run |
|
||||
|
||||
|
||||
@@ -55,8 +55,9 @@ is, whether it is hidden, how wide it really is) is a call to the backend in kfd
|
||||
`WindowManager::process_command` against the fake desktop, a strip next to another monitor, and a
|
||||
drag of the left edge of a column.
|
||||
- `komorebic/tests/cli.rs`: each new subcommand sends its message.
|
||||
- `nix/tests/vm/lib/komorebi_vm/platforms/kde/extras/scrolling.py`, run by `vm-scrolling`: where KWin
|
||||
keeps a window at the edge and the commands of the columns, in a real session. Run on KDE: 24 passed,
|
||||
0 failed. KWin leaves a window resting at the left edge with its right edge a few pixels inside the
|
||||
- `nix/tests/vm/lib/komorebi_vm/core/scenarios/scrolling.py` (`columns`, shared with komorebi for
|
||||
Windows), run by `vm-scrolling` and `core-e2e`: where the daemon keeps a window at the edge and the
|
||||
commands of the columns, in a real session. Run on KDE: the `scrolling` suite passes
|
||||
(32 checks, with `two_monitors`). KWin leaves a window resting at the left edge with its right edge a few pixels inside the
|
||||
work area, or a cell short of them, because foot rounds its frame to whole cells. The shared
|
||||
`scrolling` scenario passes in `core-e2e` too.
|
||||
@@ -181,15 +181,15 @@ per-output desktops.
|
||||
|
||||
## scrolling
|
||||
|
||||
The shared `scrolling` scenario (run by `core-e2e`) puts each window in view in turn. This suite is
|
||||
about the windows that are not in view: where KWin keeps the columns that scroll off the screen
|
||||
(at an edge, with a few pixels of them on it), and that the strip follows the focus. It also runs
|
||||
the commands of the columns of several windows (`pan`, `consume`, `toggle-column-stack`, `expel`,
|
||||
`scrolling-layout-full-width`), which are kfde's and not in the shared scenario because komorebi
|
||||
for Windows has them only on its `next` branch. All of it is KWin's; it is the extra
|
||||
`scrolling.run`. The check that a window keeps the distance of a column from the one in view,
|
||||
which the layout does not keep any more (a window rests at the edge), was replaced by two that it
|
||||
rests there and keeps its width.
|
||||
The shared `scrolling` scenario (run by `core-e2e`) puts each window in view in turn. This suite
|
||||
runs the shared `scrolling.columns`: five windows in two columns, where the daemon rests the ones
|
||||
that scroll out of view (at an edge, a few pixels of them on the screen, their width kept), that the
|
||||
strip follows the focus and `pan`, and the commands of the columns of several windows (`consume`,
|
||||
`toggle-column-stack`, `expel`, `scrolling-layout-full-width`). kfde and komorebi for Windows lay
|
||||
the strip out with the same model, so none of it is KDE's: the extra `scrolling.run` is gone, and
|
||||
`core-e2e` runs `scrolling.columns` too, from a workspace with no window. The check that a window
|
||||
keeps the distance of a column from the one in view, which the layout does not keep any more (a
|
||||
window rests at the edge), was replaced by two that it rests there and keeps its width.
|
||||
|
||||
## stacks
|
||||
|
||||
|
||||
Reference in new issue
Block a user