Skip to content

KDE applications are slow in Plasma #363068

Open

Description

@ilsubyeega

Describe the bug

I recently upgraded from NixOS 24.05 to 24.11 and performed a fresh install of Plasma 6. While using Plasma, I've observed that programs run noticeably slower compared to the GNOME environment.
The issue is significantly worse when it is on energy-saving mode, which takes an unusually long time.

After getting suggestions from Matrix, I'm opening issue about this, becuase it may be a way to speedup the startup/launch time.

This issue probably covers the following issues:

Thank you.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install NixOS 24.11 with each GNOME and KDE Plasma(6) system in virtual machine.
  2. Add strace, kdePackages.kcalc package in configuration.nix on both system, Add kdePackages.full in plasma system.
  3. Run following: strace --summary --timestamps=unix,ms -o log kcalc & (sleep 20 && pkill kcalc)
    • This runs kcalc, and then after 20s, kills kcalc process.
  4. Compare the timestamp with first line and memfd_create("wayland-shm", MFD_CLOEXEC|MFD_ALLOW_SEALING) from log
    • I assume this is the time when windows are going to create and then rendered.

The benchmarks are following, which is the kcalc application's startup time:

  • GNOME: 6.8s
  • Plasma: 12.69s

Expected behavior

The application startup may really fast. I believe this can be improved.

Screenshots

If this require need more screenshots/videos, I'll add it.

Here is a comparison of running zeditor and kcalc in Performance mode. In Energy Saving Mode, the difference is dramatically worse.

a.mp4

Additional context

Metadata

  1. host
sob@t14:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.1, NixOS, 24.11 (Vicuna), 24.11.20241203.b681065`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/w66xaybnxjf5zhxapxs3pd3zp7gxk9dw-source`
  • Processor: 8 × Intel® Core™ i5-10210U CPU @ 1.60GHz
  • RAM 50.2 GB
  1. GNOME vm
    image

  2. Plasma vm
    image

Notify maintainers

Mentioning plasma-workspace maintainers: @ilya-fedin @K900 @LunNova @mjm @NickCao @SuperSandro2000 @ttuegel


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on Dec 8, 2024
  2. added
    6.topic: qt/kde
    on Dec 8, 2024
  3. ilsubyeega commented on Jan 15, 2025

    @ilsubyeega
    ContributorAuthor

    I've been investigating for a couple of days, and although it's far from perfect, here's what I found.
    I have very little experience with the C/C++ ecosystem and could be wrong. So, if you have any mismentions, please send feedback.

    For investigation, I got the following results via catch syscall openall/access command in gdb.

    Qt side:

    • On Every QFactoryLoader::update, a fs syscall is made.
    • Every time single plugin is loaded, all directories are traversed. (QPlatformThemeFactory::create -> QLibraryPrivate::loadPlugin)
    • QTranslator loads all of language(of all kde programs), although the application does not related.

    KDE side:

    Other things:

    • libglvnd access every directories for library searching.
    • When loading fonts, bunch of fs syscall called. (Called by QFontconfigDatabase::populateFontDatabase)

    To conclude, I don't know what I can do on Nix related work to fix the Qt-specific issue out of box.

    I wonder if there is something like directory caching in Qt library[1]. There were cases where there was no directory above level 2, but it was searched.

    [1]: It has, but i don't think that thing works well, maybe it's only file hit caching? https://doc.qt.io/qt-6/qfileinfo.html#performance-considerations

  4. SuperSandro2000 commented on Jan 15, 2025

    @SuperSandro2000
    Member

    related to #126590

  5. ilsubyeega commented on Mar 2, 2025

    @ilsubyeega
    ContributorAuthor

    For now, I gave up using KDE plasma. Just some information, I can reduce the fontconfig load overhead by reducing fonts (had installed google-fonts which is really huge font base)

  6. nixos-discourse commented on Mar 14, 2025

    @nixos-discourse
  7. alexjp commented on May 20, 2025

    @alexjp
    Contributor

    @ilsubyeega Maybe you can try/test this solution I am testing: https://github.com/alexjp/env-dedup

    It should clean up duplicate variables (at least it does here, seems to work and is fast, but haven't tested it thoroughly).

  8. ilsubyeega commented on May 21, 2025

    @ilsubyeega
    ContributorAuthor

    @ilsubyeega Maybe you can try/test this solution I am testing: https://github.com/alexjp/env-dedup

    It should clean up duplicate variables (at least it does here, seems to work and is fast, but haven't tested it thoroughly).

    @alexjp

    I've tried at fresh installation of NixOS 25.05 Plasma, It does not seems to be worked as expected. (maybe I might be wrong that plasma was pretty slow as default)
    Did compile dynamic libraries and then append LD_PRELOAD to system environment.

    Just in case, try using QT_DEBUG_PLUGINS=1 for verbose qt log.

  9. alexjp commented on May 21, 2025

    @alexjp
    Contributor

    @ilsubyeega

    I've tried at fresh installation of NixOS 25.05 Plasma, It does not seems to be worked as expected. (maybe I might be wrong that plasma was pretty slow as default)
    Did compile dynamic libraries and then append LD_PRELOAD to system environment.

    Strange. Can you test env | wc or any other duplicate checker, with and without it?

    BTW... I saw that you were on Linux x86-64, that was where you did the test, right? I have yet to do compatibility with other systems.

    Just in case, try using QT_DEBUG_PLUGINS=1 for verbose qt log.

    I did tried it here and didn't catch any duplicate search of directories.
    I am using nushell, my testing example is:

    QT_DEBUG_PLUGINS=1 konsole | complete | get stderr | lines | find -n "checking directory path" | uniq -d

  10. added
    2.status: stale
    on Nov 17, 2025
  11. 0x53A commented on Mar 8, 2026

    @0x53A
    Contributor

    super-T blocks the whole desktop, every time, not just the first, for around 2 seconds.

    I've run strace and asked Claude to analyse the trace.

    the result is:

    260,530 statx() syscalls, of which 259,948 return ENOENT, as KWin searches through 81 nix store paths in XDG_DATA_DIRS for theme files.

    Details

    KDE Plasma Tiling (Super+T) Performance Bug on NixOS

    Summary

    Pressing Super+T to open the KDE Plasma tiling editor causes a ~2-7 second freeze of the entire compositor. The root cause is 260,530 statx() syscalls, of which 259,948 return ENOENT, as KWin searches through 81 nix store paths in XDG_DATA_DIRS for theme files.

    This happens every time, not just on first use. It's a NixOS-specific issue caused by the long XDG_DATA_DIRS containing a store path for every KDE dependency.

    Environment

    • NixOS 25.11 (Xantusia)
    • KDE Plasma 6.6.1 (kwin_wayland)
    • Kernel 6.19.3
    • Intel Raptor Lake-P (Iris Xe Graphics)

    Reproduction

    1. Log into KDE Plasma Wayland session
    2. Press Super+T
    3. Compositor freezes for ~2-7 seconds before the tile editor overlay appears

    Analysis

    Tracing command

    sudo timeout 15 strace -p $(pidof kwin_wayland) -f -tt -e trace=!write,read -o /tmp/kwin_trace2.txt

    Then press Super+T during the 15-second window.

    Syscall breakdown for main thread (pid 1954)

    grep '^\s*1954' /tmp/kwin_trace2.txt | grep -oP '\w+\(' | sort | uniq -c | sort -rn | head -15
     260530 statx(
       2889 access(
       1597 getpid(
       1182 newfstatat(
       1076 ioctl(
        268 futex(
        162 close(
        153 ppoll(
         69 sendmsg(
         60 fcntl(
         54 poll(
         50 mmap(
         48 rt_sigprocmask(
         40 _IOC(
         30 recvmsg(
    

    statx() dominates at 260K calls out of ~268K total syscalls.

    Almost all stat calls fail with ENOENT

    grep '^\s*1954.*statx.*ENOENT' /tmp/kwin_trace2.txt | wc -l
    259948
    

    99.97% of the statx() calls return "No such file or directory".

    81 unique nix store paths are searched

    grep '^\s*1954.*statx' /tmp/kwin_trace2.txt | grep -oP '/nix/store/[^/]+' | sort -u | wc -l
    81
    

    What the stat calls look like

    For each theme file (e.g. translucent/colors), KWin walks every store path in XDG_DATA_DIRS:

    statx(AT_FDCWD, "/home/lukas/.local/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/7jnqd4dw84h6msi52i9hnzlx6kngyz0p-kwin-6.6.1/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/an014ayfg6dri9a91rl18gc89x6ijd38-kscreenlocker-6.6.1/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/f9jh0jm73dcf6c0bjhsa5j0kvq4glcay-libplasma-6.6.1/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/da92irax7h6lm7lxhi4idrmqr3pzwv2r-kparts-6.23.0/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/s2llc5y2wwzbcrwr70056rc9m6q1kva8-libkscreen-6.6.1/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/0pkr6ng8nk6lb2gnygh8xr1k1l2f1r9j-kauth-6.23.0/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/m5vjssrfski4azp9qvhfkla4jazmj9fl-kpipewire-6.6.1/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/zvhi0igbs36m1sw233slad8035nxzgns-kholidays-6.23.0/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/01j36m55qgy9xnc5avvk5ychm10c7cp0-kdeclarative-6.23.0/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/sxdh8v31v6hyhhcsq1zxn21w8k9gaf57-breeze-6.6.1/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    statx(AT_FDCWD, "/nix/store/bv5swcgyc41klc8al0k76s8f8wwzbxz8f-frameworkintegration-6.23.0/share/plasma/desktoptheme/default/translucent/colors", ...) = -1 ENOENT
    ... (repeated for 81 store paths)
    

    Files that do exist (like button.svgz) are also stat'd multiple times redundantly:

    statx(AT_FDCWD, "/nix/store/f9jh0jm73dcf6c0bjhsa5j0kvq4glcay-libplasma-6.6.1/share/plasma/desktoptheme/default/widgets/button.svgz", ...) = 0
    statx(AT_FDCWD, "/nix/store/f9jh0jm73dcf6c0bjhsa5j0kvq4glcay-libplasma-6.6.1/share/plasma/desktoptheme/default/widgets/button.svgz", ...) = 0
    statx(AT_FDCWD, "/nix/store/f9jh0jm73dcf6c0bjhsa5j0kvq4glcay-libplasma-6.6.1/share/plasma/desktoptheme/default/widgets/button.svgz", ...) = 0
    statx(AT_FDCWD, "/nix/store/f9jh0jm73dcf6c0bjhsa5j0kvq4glcay-libplasma-6.6.1/share/plasma/desktoptheme/default/widgets/button.svgz", ...) = 0
    statx(AT_FDCWD, "/nix/store/f9jh0jm73dcf6c0bjhsa5j0kvq4glcay-libplasma-6.6.1/share/plasma/desktoptheme/default/widgets/button.svgz", ...) = 0
    statx(AT_FDCWD, "/nix/store/f9jh0jm73dcf6c0bjhsa5j0kvq4glcay-libplasma-6.6.1/share/plasma/desktoptheme/default/widgets/button.svgz", ...) = 0
    

    Timeline from first trace (network/ipc only)

    An earlier trace with -e trace=network,ipc revealed the 7.5s gap more clearly since it only captured IPC:

    16:24:57.985  pid 1967 sends D-Bus message to /VirtualDesktop, gets EAGAIN
                  --- 7.5 second gap (main thread busy with statx) ---
    16:25:05.459  pid 1954 receives on Wayland client socket
    16:25:05.693  D-Bus message with "Edit Tiles" finally sent
    

    Root Cause

    On NixOS, XDG_DATA_DIRS contains a store path for every KDE-related package (81 in this case). When libplasma looks up a theme file, it searches through each $dir/share/plasma/desktoptheme/... path sequentially. With hundreds of theme files to resolve and 81 paths to search for each, this results in 260K statx() calls.

    On a conventional distro, XDG_DATA_DIRS typically contains just /usr/share and /usr/local/share, so the same lookup requires ~2 stat calls per file instead of ~81.

    Two sub-problems compound the issue:

    1. No negative caching — libplasma doesn't cache ENOENT results, so the same non-existent paths are stat'd repeatedly across lookups
    2. No result caching — even files that are found successfully (e.g. button.svgz) are stat'd 6+ times redundantly
  12. removed
    2.status: stale
    on Mar 8, 2026
  13. SuperSandro2000 commented on Mar 8, 2026

    @SuperSandro2000
    Member

    Run the following as part of /etc/profile

    # dedupe XDG_DATA_DIRS
    DEDUPE_XDG_DATA_DIRS="$(awk -v RS=: '{ if (!arr[$0]++) { printf("%s%s", !ln++ ? "" : ":", $0) }}' <<<"$XDG_DATA_DIRS")"
    export XDG_DATA_DIRS=$DEDUPE_XDG_DATA_DIRS
    unset DEDUPE_XDG_DATA_DIRS
    
  14. erolm-a commented on Mar 16, 2026

    @erolm-a

    Deduplicating does not help the cause (at least, for me).

    In my environment very few variables are repeated, no blowup happens, and yet using any QML-based app (which is almost the entirety of plasma, or the Bismuth script etc.) causes may calls to stat(). The suggested hacks (#126590 (comment) and #126590 (comment)) to put all libraries in XDG_DATA_DIRS work but to some extent, depending on where the xdgdata derivation ends up in the search path (and often does not contain the app's own libraries, of course). And won't help with QML, as another variable is used (NIXPKGS_QT6_QML_IMPORT_PATH I believe). For example, the lag when opening the mixer tray has got down from 2s to 1s, but on traditional FHS-compliant systems it should be way less than 1s. If the laptop battery goes to 10%, the lag can get up to 3s. If the system changes theme (which it does from dark to light and vice versa 2 times a day) it freezes for 5s.

    This is so bad on laptops (ironically following KDE's powerdevil policies) I have decided to completely switch away from KDE, which is a shame because I love the project.

    Besides, I don't think it's a good architectural decision to rely on a FS cache to tell you whether a file exists or not. First, because it requires a syscall anyway (which eats user time), and secondly because it is a leaky abstraction that is not even always true. And clearly, Qt's QFileInfo cache is not working as intended.

    That being said: I personally think this is an issue with Qt's design (and yes I have read #86369 ). I don't really have a solution that would work well with nixos, but only some ideas:

    • patch Qt so that for specific classes of searches (e.g. themes) it will start looking for specific environment variables containing theme/icon derivations first
    • secondly, always favor its own absolute folder first
  15. ilsubyeega commented on Mar 16, 2026

    @ilsubyeega
    ContributorAuthor

    i believe dedupe wont give great performance but noticable for some users, it still scans each directories(resources etc), still no idea what approach would really work at all.

    this could be fixed in nixpkgs side(do symlink farming, or explicitly set symlinked resources path each wrapper), but 90% sure qt/upstream can improve their strategy to figure out where plugin and resources are.

  16. 16 remaining items

  17. erolm-a commented on Aug 18, 2026

    @erolm-a

    EDIT, but if my understanding is not wrong, every GTK app basically ships with its own index of used assets that is made available by glib-compile-schemas. For runtime-only dependencies they instead rely on dconf. Again, I never worked on GTK.

    EDIT again: basically some special plugins like IM, printers rely on special caching to avoid searching on GTK_PATH every time but just once. But for others it's just pure enumeration..

  18. K900 commented on Aug 18, 2026

    @K900
    Contributor

    That's not entirely correct in a bunch of ways that actually matter here.

  19. ilya-fedin commented on Aug 18, 2026

    @ilya-fedin
    Contributor

    I just noticed that actually QT plugins can be added statically: https://doc.qt.io/qt-6/plugins-howto.html#static-plugins ;

    If you mention that in the context of desktoptheme/default/translucent/colors then I have to upset you, that's not a Qt plugin, it just attempts to find a textual colorscheme config like https://invent.kde.org/plasma/libplasma/-/blob/master/src/desktoptheme/breeze-light/colors

  20. ilya-fedin commented on Aug 18, 2026

    @ilya-fedin
    Contributor

    Given the files in libplasma repo, using breeze light/breeze dark instead of just breeze could be a workaround (theoretically)

  21. c3r5b8 commented on Aug 18, 2026

    @c3r5b8

    Yes

    Breeze Light

    % time     seconds  usecs/call     calls    errors syscall
    ------ ----------- ----------- --------- --------- ----------------
    100.00    0.000644           3       168        72 statx
    ------ ----------- ----------- --------- --------- ----------------
    100.00    0.000644           3       168        72 total
    

    Breeze

    % time     seconds  usecs/call     calls    errors syscall
    ------ ----------- ----------- --------- --------- ----------------
    100.00    0.898788           2    319686    319639 statx
    ------ ----------- ----------- --------- --------- ----------------
    100.00    0.898788           2    319686    319639 total
    
  22. c3r5b8 commented on Aug 18, 2026

    @c3r5b8

    I found another hack

    But it breaks theme preview in setting and requires rebuilding whole plasma (on my ryzen 7 5700x3d it took 40 minutes)

        (final: prev: {
          kdePackages = prev.kdePackages.overrideScope (kfinal: kprev: {
            ksvg = kprev.ksvg.overrideAttrs (old: {
              patches =
                (old.patches or [])
                ++ [
                  (prev.writeText "ksvg.patch" ''
                    --- a/src/ksvg/private/imageset_p.cpp
                    +++ b/src/ksvg/private/imageset_p.cpp
                    @@ -244,6 +244,13 @@
                             }
                         }
    
                    +    if (image == QLatin1String("colors")) {
                    +        if (cache) {
                    +            discoveries.insert(image, QString());
                    +        }
                    +        return QString();
                    +    }
                    +
                         QString search;
    
                         // TODO: use also QFileSelector::allSelectors?
    
                  '')
                ];
            });
          });
        })
  23. MagicRB commented on Aug 31, 2026

    @MagicRB
    Contributor

    For ZFS users:

    I've been fighting random lockups and general sluggishness for a while. The best way to reproduce it that me and @ElvishJerricco found was PrismLauncher. Opening it, clicking on the "Settings" button, then closing the window would take take 10 seconds on a system with 2 1tb HDDs in raid1 + l2arc and slog on an NVME SSD. We concluded that the reason why PrismLauncher was slow as hell is due to openzfs/zfs#13446 which also manifests with flatpak (openzfs/zfs#11140) and was originally introduced in openzfs/zfs#4276.

    @robn provided a patch which disables O_TMPFILE on ZFS, which you can apply on NixOS like so (don't forget to adapt to your specific kernel version, ZFS version and patch file location):

      {
          boot = {
            kernelPackages = pkgs.linuxKernel.packages.linux_6_18;
            zfs = {
              modulePackage = pkgs.linuxKernel.packages.linux_6_18.zfs_2_4.overrideAttrs (old: {
                patches =
                  old.patches
                  ++ [
                    ./zfs-disable-tmpfile.patch
                  ];
              });
              package = pkgs.zfs_2_4.overrideAttrs (old: {
                patches =
                  old.patches
                  ++ [
                    ./zfs-disable-tmpfile.patch
                  ];
              });
            };
          };
      }

    with the above applied, PrismLauncher settings menu closes instantly, KDE boots in 5 seconds not 20 and krunner is also instant. There is a slight freeze during switch-to-configuration still, but it also went from very noticeable to barely perceptible.

    The patch provided by robn applies cleanly to master (i think), for 2.4.3 you need zfs-disable-tmpfile.patch. Both patches should be safe as they merely disable a feature, which the VFS will work around if not available, or will return not supported to userspace if it cannot.

  24. ElvishJerricco commented on Sep 1, 2026

    @ElvishJerricco
    Contributor

    For the record, this was particularly noticeable because the entire system ran on a ZFS pool with HDDs in it. If you're not using ZFS, obviously this is not related to anything you're experiencing. And if you're running on SSD(s), I can't say with confidence that this same problem would be noticeable to you. Experience reports on whether that patch makes a noticeable difference for SSD+ZFS users would be helpful. Note: @MagicRB was using SSDs for SLOG and L2ARC, just not for main vdevs. But these were irrelevant because the linked ZFS bug is about O_TMPFILE bypassing the ZIL (and therefore SLOG) entirely, which destroys the performance of the f(data)sync operations typically done alongside O_TMPFILE (more accurately, it destroys the performance of the linkat that comes after because the f(data)sync was ignored and has to be compensated with a full async TXG commit during linkat). Bypassing the ZIL would hurt performance on any pool, not just HDD pools or ones with SLOG, so this may still be a problem on SSD pools. It's just hard to say; it could be that this ZFS bug is unrelated to all of the experiences in this thread because it's only significant with HDDs, or it could be that the bug is pretty noticeable in any pool.

    (As an aside: There's a very minor security consideration with disabling O_TMPFILE. It's used to create files with no name in the file system so that no other processes can open it. But unix permissions can keep other users from opening files created without O_TMPFILE, and processes using same user as your process can open your process's O_TMPFILE file descriptors anyway using /proc/$your_pid/fd/$fd. So realistically, the security concern here is practically nothing)

  25. MagicRB commented on Sep 1, 2026

    @MagicRB
    Contributor

    Regarding the specific PrismLauncher manifestation, i do see it also on my (ssd) laptop, instead of being 10 seconds its just 0.5 seconds. So i do believe there is something to be gained here in general. And as an added point, i never relied on krunner even on my laptop because it would sometimes just take a hot second to open. However since patching my desktop, it opens instantly there, always.

  26. usr40k commented on Sep 1, 2026

    @usr40k

    another thing to note is the first launch of krunner will always take more time or if your krunner shuts down completely after each use, krunner (atleast on openSUSE) remains open (but hidden) for faster subsequent launches. So the very first launch will always take longer than any subsequent launch. (assuming krunner was not already running)

  27. n0099 commented on Sep 1, 2026

    @n0099
    Contributor

    Based on #363068 (comment)
    This zfs patch targeting 2.4.4 and only overlaying config.boot.kernelPackages.${config.boot.zfs.package.kernelModuleAttribute} like #473637 (comment) as userland zfs-utils shouldn't need this:

    nixpkgs.overlays = [
      (_: prev: {
        kernelPackagesExtensions = prev.kernelPackagesExtensions ++ [
          # https://github.com/NixOS/nixpkgs/blob/5dfba6236110080a54247d6460bc2ff5dda939cc/pkgs/top-level/linux-kernels.nix#L668
          (
            _: prev:
            let
              pkgName = config.boot.zfs.package.kernelModuleAttribute; # https://github.com/NixOS/nixpkgs/blob/fd1462031fdee08f65fd0b4c6b64e22239a77870/nixos/modules/tasks/filesystems/zfs.nix#L22
            in
            {
              ${pkgName} = prev.${pkgName}.overrideAttrs (prev: {
                patches = prev.patches ++ [
                  (pkgs.writeText "https://github.com/openzfs/zfs/issues/11140#issuecomment-5498519538" ''
                    diff --git a/module/os/linux/zfs/zpl_inode.c b/module/os/linux/zfs/zpl_inode.c
                    index 3492f4a..37caaab 100644
                    --- a/module/os/linux/zfs/zpl_inode.c
                    +++ b/module/os/linux/zfs/zpl_inode.c
                    @@ -279,6 +279,7 @@ zpl_mknod(struct inode *dir, struct dentry *dentry, umode_t mode,
                     	return (error);
                     }
    
                    +#if 0
                     static int
                     #ifdef HAVE_TMPFILE_IDMAP
                     zpl_tmpfile(struct mnt_idmap *userns, struct inode *dir,
                    @@ -347,6 +348,7 @@ zpl_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
    
                     	return (error);
                     }
                    +#endif
    
                     static int
                     zpl_unlink(struct inode *dir, struct dentry *dentry)
                    @@ -851,7 +853,6 @@ const struct inode_operations zpl_dir_inode_operations = {
                     	.rmdir		= zpl_rmdir,
                     	.mknod		= zpl_mknod,
                     	.rename		= zpl_rename,
                    -	.tmpfile	= zpl_tmpfile,
                     	.setattr	= zpl_setattr,
                     	.getattr	= zpl_getattr,
                     	.listxattr	= zpl_xattr_list,
                  '')
                ];
              });
            }
          )
        ];
      })
    ];
  28. jackboykin commented on Sep 24, 2026

    @jackboykin
    Contributor
  29. jackboykin commented on Oct 21, 2026

    @jackboykin
    Contributor

    A fix, though partial and not all-encompassing, has been merged which should take care of the colors pain. Due in KF 6.32 https://invent.kde.org/frameworks/ksvg/-/merge_requests/120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: qt/kde

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions