mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-30 12:14:10 +01:00
chore(deps): flake.lock: update
nixpkgs moves from d3b13ad (2026-10-24) to f05535a (2026-10-27) and rust-overlay from c7e9d51 to 19ecdd0; the other six inputs have no newer revision. KWin, Plasma and KRDP go from 6.8.1 to 6.8.2, so testedMax in nix/supported-kwin.nix goes to 6.8.2, with its dated comment. Qt (6.12.0), FreeRDP (3.32.2) and the glibc of nixpkgs (2.44) keep their versions. The stable Rust toolchain stays at 1.99.1; the nightly rustfmt moves from 2026-10-27 to 2026-10-28. nixpkgs now has KDE Rounded Corners 0.11.0. nix/kde-rounded-corners.nix still sets the version and the source, because its patch is written for the 0.11.0 source, so the package does not change: it builds with its patch, and Geometry Change builds, against KWin 6.8.2. The dated sentences of README.md, DESIGN.md, PLATFORM.md, COMPARE.md and of the docs of kwin/effects.rs say 2026-10-28 and the new versions. Measurements taken on 6.8.1 keep their date and version, since none was repeated on 6.8.2. The glibc floor does not move: komorebi and komorebic still need 2.39 on aarch64 and on x86_64 (pidfd_getpid and pidfd_spawnp, both weak references), measured as the build job measures it, before and after patchelf. The gate with the nix checks passes on an aarch64 box and on x86-1, nixos-module-eval among them (the KWin version scenarios included). The VM suites run against the tip of these two commits; the result is in the message of the next commit.
This commit is contained in:
1 parent
01179af18d
commit
e8497344e7
8 files changed
+46
-37
No files matched your search
+4
-3
@@ -585,7 +585,8 @@ This has consequences that are measured, or read from KWin's sources:
|
||||
its floating windows and its monocle) when they leave it, so a window they do not manage stays
|
||||
visible across workspaces.
|
||||
- The floor is KWin 6.8, because per-output desktops arrived there. Older KWin versions were not
|
||||
tested. At time of writing (2026-10-27) the version measured is 6.8.1, in Plasma 6.8.1.
|
||||
tested. At time of writing (2026-10-28) the versions run are 6.8.1 (the spikes) and 6.8.2 (the VM
|
||||
suites), in Plasma 6.8.1 and 6.8.2.
|
||||
- komorebi turns `PerOutputVirtualDesktops` on in `kwinrc` when it starts and puts it back when it
|
||||
exits. It edits the file itself: `kwriteconfig6` was not on the path of the user service in the
|
||||
first live run.
|
||||
@@ -631,8 +632,8 @@ The limits, as of 2026-10-27:
|
||||
of kfw's rules: `single`, `stack`, `monocle`, `floating`, `unfocused` and `unfocused_locked`.
|
||||
Without that build, every kind falls back to `single` and `unfocused`, and komorebi says so once in
|
||||
its log.
|
||||
- At time of writing (2026-10-27) nixpkgs has KDE Rounded Corners 0.10.0, which draws the ring about
|
||||
24 px too low on KWin 6.8 (measured on screenshots of KWin 6.8.1). kfde builds 0.11.0 instead.
|
||||
- KDE Rounded Corners 0.10.0 draws the ring about 24 px too low on KWin 6.8 (measured on screenshots
|
||||
of KWin 6.8.1). kfde builds 0.11.0, which nixpkgs has too at time of writing (2026-10-28).
|
||||
- KWin finds effects when it starts, so an effect installed later is not loaded until the next
|
||||
login.
|
||||
|
||||
|
||||
+9
-7
@@ -400,14 +400,16 @@ ordered after `plasma-workspace` (`X-KDE-autostart-after`), as the module's unit
|
||||
`plasma-core.target`: the daemon exits when KWin is not on the session bus. The entry and the
|
||||
unit do not go together, since the session bus gives its name to one komorebi.
|
||||
|
||||
## Why is KDE Rounded Corners built from source, and not taken from nixpkgs?
|
||||
## Why does the flake set the version of KDE Rounded Corners?
|
||||
|
||||
Because the version in nixpkgs draws its outline in the wrong place on KWin 6.8, the oldest
|
||||
KWin komorebi supports. At time of writing (2026-10-27, nixpkgs `d3b13ad`) nixpkgs has
|
||||
0.10.0, which puts the outline about 24 px too low, across the title bar. 0.11.0 is the
|
||||
release that handles the texture coordinates KWin 6.8 inverted, so
|
||||
[`nix/kde-rounded-corners.nix`](../../nix/kde-rounded-corners.nix) overrides the nixpkgs
|
||||
package with it ([PLATFORM.md](PLATFORM.md#kwin-effects)).
|
||||
Because 0.10.0 draws its outline in the wrong place on KWin 6.8, the oldest KWin komorebi
|
||||
supports: about 24 px too low, across the title bar. 0.11.0 is the release that handles the
|
||||
texture coordinates KWin 6.8 inverted, so
|
||||
[`nix/kde-rounded-corners.nix`](../../nix/kde-rounded-corners.nix) sets the version and the
|
||||
source of the nixpkgs package to it ([PLATFORM.md](PLATFORM.md#kwin-effects)). nixpkgs `d3b13ad`
|
||||
(2026-10-24) has 0.10.0 and `f05535a` (2026-10-27) has 0.11.0, so at time of writing
|
||||
(2026-10-28) setting them changes nothing. The package still sets them, because the patch that
|
||||
gives each window its own color is written for the 0.11.0 source.
|
||||
|
||||
## Why are the effects built disabled by default?
|
||||
|
||||
|
||||
+16
-13
@@ -8,7 +8,9 @@ missing.
|
||||
|
||||
Facts that change with KWin and Plasma releases are dated. Unless a fact says otherwise, it
|
||||
was measured with KWin 6.8.1, Plasma 6.8.1 and Qt 6.12.0 from nixpkgs `d3b13ad`
|
||||
(2026-10-24), in NixOS virtual machines under QEMU on an Apple silicon Mac (HVF).
|
||||
(2026-10-24), in NixOS virtual machines under QEMU on an Apple silicon Mac (HVF). The VM
|
||||
tests of this repository run against the nixpkgs that `flake.lock` pins: at time of writing
|
||||
(2026-10-28), `f05535a` (2026-10-27), with KWin 6.8.2, Plasma 6.8.2 and Qt 6.12.0.
|
||||
|
||||
## Vocabulary
|
||||
|
||||
@@ -40,9 +42,9 @@ was measured with KWin 6.8.1, Plasma 6.8.1 and Qt 6.12.0 from nixpkgs `d3b13ad`
|
||||
KWin 6.8 is the oldest KWin komorebi supports. komorebi's workspaces are KWin's virtual
|
||||
desktops, one shown on each output, which needs the per-output virtual desktops KWin 6.8
|
||||
introduced (`workspace.currentDesktopForScreen`, `workspace.setCurrentDesktopForScreen`, and
|
||||
the setting `[Windows] PerOutputVirtualDesktops` in `kwinrc`). At time of writing (2026-10-27)
|
||||
KWin 6.8.1 is the only version komorebi has been run against; 6.7 and older have not been
|
||||
tried.
|
||||
the setting `[Windows] PerOutputVirtualDesktops` in `kwinrc`). At time of writing (2026-10-28)
|
||||
komorebi has been run against KWin 6.8.1 (the spikes) and 6.8.2 (every VM suite); 6.7 and older
|
||||
have not been tried.
|
||||
|
||||
### Per-output virtual desktops
|
||||
|
||||
@@ -92,7 +94,7 @@ komorebi's use of them in a headless KWin:
|
||||
|
||||
[`nix/supported-kwin.nix`](../../nix/supported-kwin.nix) records both ends: `min`, the oldest
|
||||
KWin komorebi supports (6.8), and `testedMax`, the newest KWin every VM suite has passed against
|
||||
(6.8.1, with nixpkgs-unstable `d3b13ad`). The NixOS module reads the file. A system whose KWin
|
||||
(6.8.2, with nixpkgs-unstable `f05535a`). The NixOS module reads the file. A system whose KWin
|
||||
is older than `min` does not evaluate; one whose KWin is newer than `testedMax` builds with a
|
||||
warning, unless `services.komorebi.kwin.untestedIsError` is set, which makes it an error. Outside
|
||||
NixOS nothing checks the version.
|
||||
@@ -193,13 +195,13 @@ Some of what the bridge reports is the user's doing, not the answer to a command
|
||||
shortcut) alike, and the bridge reports a window as maximized only when it is maximized both
|
||||
ways (`maximizeMode` 3): a window maximized in one direction is a restored window to komorebi.
|
||||
The VM test `vm-user-maximize` maximizes windows with `kdotool windowstate`, in both directions,
|
||||
and passes against KWin 6.8.1 at time of writing (2026-10-27).
|
||||
and passes against KWin 6.8.2 at time of writing (2026-10-28).
|
||||
A fullscreen window is reported by `fullScreenChanged`, and komorebi asks KWin for no frame for
|
||||
it while it is fullscreen. When it leaves fullscreen KWin gives it the frame it had before,
|
||||
whatever komorebi has done to the layout since. The VM test `vm-features` takes a window
|
||||
fullscreen with `kdotool windowstate`, and checks that it covers the output, that a window that
|
||||
opens meanwhile leaves it there, and that it is in a tile when it comes back. It passes against
|
||||
KWin 6.8.1 at time of writing (2026-10-27).
|
||||
KWin 6.8.2 at time of writing (2026-10-28).
|
||||
|
||||
#### When KWin restarts
|
||||
|
||||
@@ -665,11 +667,12 @@ At time of writing (2026-10-27):
|
||||
is true, and `loadEffect` with `kwin4_effect_shapecorners` on `org.kde.KWin`'s `/Effects`
|
||||
loads it. The metadata is compiled into the plugin, which is where the check reads the
|
||||
flag, with `qtplugininfo`.
|
||||
- **KDE Rounded Corners 0.10.0, the version in nixpkgs, draws the outline about 24 px too low
|
||||
on KWin 6.8**: across the title bar at the top, the same distance below the frame at the
|
||||
bottom, and in the right place at the sides. KWin 6.8 inverted the texture coordinates of
|
||||
the offscreen window, and Breeze's shadow is deeper below a window than above it; the error
|
||||
is the difference of the two. 0.11.0 is the release that handles it.
|
||||
- **KDE Rounded Corners 0.10.0 draws the outline about 24 px too low on KWin 6.8**: across
|
||||
the title bar at the top, the same distance below the frame at the bottom, and in the right
|
||||
place at the sides. KWin 6.8 inverted the texture coordinates of the offscreen window, and
|
||||
Breeze's shadow is deeper below a window than above it; the error is the difference of the
|
||||
two. 0.11.0 is the release that handles it. nixpkgs `d3b13ad` (2026-10-24) has 0.10.0 and
|
||||
`f05535a` (2026-10-27) has 0.11.0, which the package here sets as well.
|
||||
- **KDE Rounded Corners links `libkwin.so.6`**, so it is built against the KWin that loads
|
||||
it. With the package in a NixOS system's `environment.systemPackages`, KWin finds the
|
||||
plugin in `/run/current-system/sw/lib/qt-6/plugins/kwin/effects/plugins/`, and the plugin
|
||||
@@ -840,7 +843,7 @@ and KRDP 6.8.1 and FreeRDP 3.32.2:
|
||||
At time of writing (2026-10-28) these are gaps, not findings. Nothing on this page says that
|
||||
they work or that they do not.
|
||||
|
||||
- KWin before 6.8: only 6.8.1 was run ([KWin 6.8 or newer](#kwin-68-or-newer)).
|
||||
- KWin before 6.8: only 6.8.1 and 6.8.2 were run ([KWin 6.8 or newer](#kwin-68-or-newer)).
|
||||
- Activities.
|
||||
- More outputs than a second one to the right of the first: the geometry was checked, the
|
||||
pixels were not.
|
||||
|
||||
Reference in new issue
Block a user