mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-23 00:44:15 +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
@@ -71,7 +71,7 @@ per architecture, with a `checksums.txt` of SHA-256 sums. The `nightly`
|
||||
prerelease is built from `master` every week. CI builds the binaries;
|
||||
[`CONTRIBUTING.md`](CONTRIBUTING.md#releases) says how. They use the glibc of
|
||||
the system they run on, which has to be 2.39 or newer at time of writing
|
||||
(2026-10-27). NixOS cannot run them without
|
||||
(2026-10-28). NixOS cannot run them without
|
||||
[nix-ld](https://github.com/nix-community/nix-ld); on NixOS, build komorebi
|
||||
from this flake instead.
|
||||
|
||||
|
||||
+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.
|
||||
|
||||
Generated
+6
-6
@@ -72,11 +72,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1792842277,
|
||||
"narHash": "sha256-pGPnZGi8y9d76xNeracniXO3dsYVROEmMkMc8jD0Ihc=",
|
||||
"lastModified": 1793136825,
|
||||
"narHash": "sha256-2pkE69JpFRInaARSczZytcfPw83IL82E2KdhbWGwdMs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d3b13ad75cc492690728f9307e443dec9ef9a20e",
|
||||
"rev": "f05535a0efcb2134c478d1e88434fadf486d42b5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -118,11 +118,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1793086596,
|
||||
"narHash": "sha256-ObKS44vw4IIVpQ69YJzUGjZ0IwnpWoUlwjJSY7gefdo=",
|
||||
"lastModified": 1793174968,
|
||||
"narHash": "sha256-u5nUf4cewaT36iIzG1s/VECktqUMiZaGF5BsgervsvQ=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "c7e9d512653a35ef4d5879c3df4d44d7b78d0e6d",
|
||||
"rev": "19ecdd08213836b36c4296a3a4f4af5a3d5308db",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -33,8 +33,9 @@
|
||||
//! | An effect the user had loaded stays loaded, with the user's settings | [`EffectsState::finish`] unloads only the effects komorebi loaded, and puts the settings back | no test |
|
||||
//! | The user's settings of an effect are put back when komorebi stops using it or exits, even after a crash | [`Kwinrc`], which keeps the first value of every key it sets in a backup file | `kwin::kwinrc::tests::a_backup_left_by_a_crash_keeps_the_values_from_before_the_first_run` |
|
||||
//!
|
||||
//! At time of writing (2026-10-27) the stock KDE Rounded Corners in nixpkgs is 0.10.0, which draws
|
||||
//! the border about 24 pixels too low on KWin 6.8; `nix/kde-rounded-corners.nix` builds 0.11.0.
|
||||
//! KDE Rounded Corners 0.10.0 draws the border about 24 pixels too low on KWin 6.8, and
|
||||
//! `nix/kde-rounded-corners.nix` builds 0.11.0, which does not. At time of writing (2026-10-28)
|
||||
//! nixpkgs has 0.11.0 as well.
|
||||
|
||||
#![deny(missing_docs)]
|
||||
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{ kde-rounded-corners, fetchFromGitHub }:
|
||||
|
||||
# nixpkgs ships 0.10.0, which draws its outline in the wrong place on KWin 6.8: 6.8 inverted the
|
||||
# 0.11.0 is the release that draws the outline in the right place on KWin 6.8: 6.8 inverted the
|
||||
# texture coordinates of the offscreen window, and with Breeze's shadow (deeper below a window than
|
||||
# above it) the whole ring lands about 24px too low, across the title bar. 0.11.0 is the release
|
||||
# that handles it ("KWin 6.8 compatibility for inverted texture coordinates").
|
||||
# above it) the whole ring of 0.10.0 lands about 24px too low, across the title bar ("KWin 6.8
|
||||
# compatibility for inverted texture coordinates"). nixpkgs has 0.11.0 too (2026-10-28; it had
|
||||
# 0.10.0 at d3b13ad of 2026-10-24), and the version and the source are set here all the same: the
|
||||
# patch below is written for the 0.11.0 source.
|
||||
kde-rounded-corners.overrideAttrs (old: {
|
||||
version = "0.11.0";
|
||||
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
|
||||
# The newest KWin that every VM suite has passed against. A commit that raises it says which
|
||||
# suites ran, and against which nixpkgs (CONTRIBUTING.md).
|
||||
# 2026-10-27: every VM suite, nixpkgs-unstable d3b13ad (2026-10-24), KWin 6.8.1.
|
||||
testedMax = "6.8.1";
|
||||
# 2026-10-28: every VM suite, nixpkgs-unstable f05535a (2026-10-27), KWin 6.8.2.
|
||||
testedMax = "6.8.2";
|
||||
}
|
||||
Reference in new issue
Block a user