-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nautilus navigates folders very slowly and ignores theming #197188
Comments
Getting this issue too, it's really bad as nautilus is meant to be my trusty and reliable file manager. The theme looks nice and modern, maybe that was the change, but the fact it's not coloured and very slow and buggy means I can't use it anymore.
|
I have the same problem: sway/wayland. It's really annoying. |
The performance issue seems to have |
I still experience both issues (slow opening of folders, ignoring theming) on nixos-unstable, 667e558, using xmonad. The time it takes to open a folder seems to be roughly proportional to the number of files in the folder. |
If you want to switch to Dark theme, see #195985 (comment). For the slowness, please try killing nautilus and opening a debug inspector:
Then, in it, you find a CSS section at the top. Click it and paste the following CSS snippet. You may need to toggle the ⏸️ button for it to apply: .view picture {filter: none;} |
Getting this on my NixOS laptop and on a friend's Arch Linux desktop, but not on my main Arch Linux desktop or his laptop. The setups are extremely similar with sway, but I cannot pinpoint what is causing this to happen. The CSS thing made it go much faster but still very slow compared to before whatever is happening started happening. |
One difference might be the lack of icon cache on NixOS when not using X server. Could you try enabling |
It's always been enabled on my laptop :( More friends are reporting the same issue yet I cannot find anything on the internet except this thread, weird af. Slowness though, theming is not a problem, nautilus is just a gtk4 app now |
I'd consider this as a blocker for 22.11 (#194208). Nautilus is almost unusable at this state. Opening nautilus and opening home folder takes about 20 seconds. |
Would be useful if someone who can reproduce it was able to create a minimal NixOS config that exhibits the issue. |
I have some additional logging: Window is painted at home folder with no visible files at (+4s): Window is fully painted with all files at (+16s): asbachb@nixos-t14s ~ ls -la ~ | wc -l
108
(I wonder if we're all talking about the same issue) |
Thanks, it would be helpful if others also describe the slowness in more detail, as could just mean anything. Ideally in the form of:
Or
@asbachb In your case it seems to be closer to the second example. Is there a “Loading…” in the status bar in between the two states you describe? Does it happen for other directories than home? Or when you refresh the HOME directory with F5? Do you use SSD or HDD? Do you have any custom icon theme installed? |
Just to clarify:
F5 -> Seems to be the same time as 4. I use a NVMe SSD. I have |
Tried that without any success. Also enabled gtk icon cache, with no success and removed all icons without success. |
I tried a minimal VM { pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
bustle
strace
gdb
gnome.nautilus
gnome.metacity
];
services.xserver = {
enable = true;
layout = "cz";
xkbVariant = "qwerty";
desktopManager.xterm.enable = true;
displayManager.lightdm.enable = true;
};
services.openssh.enable = true;
programs.dconf.enable = true;
services.gnome.tracker.enable = true;
users.extraUsers.jtojnar = {
isNormalUser = true;
uid = 1000;
extraGroups = [ "wheel" "networkmanager" ];
password = "";
openssh.authorizedKeys.keys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYbOlZydfRRCGCT08wdtPcpfSrgxMc6weDx3NcWrnMpVgxnMs3HozzkaS/hbcZUocn7XbCOyaxEd1O8Fuaw4JXpUBcMetpPXkQC+bZHQ3YsZZyzVgCXFPRF88QQj0nR7YVE1AeAifjk3TCODstTxit868V1639/TVIi5y5fC0/VbYG2Lt4AadNH67bRv8YiO3iTsHQoZPKD1nxA7yANHCuw38bGTHRhsxeVD+72ThbsYSZeA9dBrzACpEdnwyXclaoyIOnKdN224tu4+4ytgH/vH/uoUfL8SmzzIDvwZ4Ba2yHhZHs5iwsVjTvLe7jjE6I1u8qY7X8ofnanfNcsmz/ jtojnar@kaiser"];
};
imports = [
<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>
];
environment.enableDebugInfo = true;
nixpkgs.config.allowUnfree = true;
virtualisation.memorySize = 2048;
virtualisation.diskSize = 8192;
virtualisation.qemu.options = [ "-device intel-hda" "-device hda-duplex" ];
virtualisation.forwardPorts = [
# forward local port 2222 -> 22, to ssh into the VM
{ from = "host"; host.port = 2222; guest.port = 22; }
];
} And I can see unusable slowness but it behaves differently from what you see:
Looking at Session Bus with Bustle, I see repeated services.gnome.at-spi2-core.enable = true; the window will appear just after ~4 seconds, though the unending loading persists (though it does not seem to when I do not start the metacity WM 😵💫). Will try to install the other services I can see accessed in Bustle. |
There's a bunch of performance improvements for list view here. I wouldn't have expected performance (in 43.0) to be as bad as some are seeing in this thread. https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/988 It would be interesting to hear whether the problems in this thread are in Grid View, List View, or both. |
@coreyberla Grid View seems to be much faster for my use case:
|
That branch should bring the List View / Grid View performance roughly in line. In 43.0 we are creating tons of unnecessary objects for the invisible columns in List View. 5 seconds is still slower than I'd expect. For me launching nautilus (completely fresh) takes 1 second. I'm opening straight into a large folder of 500 items. You can use |
I assume there's something else going on. I made a video for clarification: https://www.youtube.com/watch?v=tlY5D2fSWFQ |
@asbachb Could you try enabling services.gnome.at-spi2-core.enable = true; |
That works for me! |
I think I'm also experiencing this issue, my view turns empty, but there is no "Loading..." status message. My Adwaita-themed mouse cursor has the spin wheel though. While waiting for the folder view to populate, |
@svobot Could you try running |
Running
I can see that's the error mentioned in the description of the Here's also Bustle recording of the same thing: |
@svobot Then please try to enable And I would ask everyone else to do the same. I discovered one more issue that could be causing it (possibly related to mesa/llvmpipe driver in qemu) but hopefully, for most of you all, it will be just the accessibility bus. |
Enabling service fixes the issue on my NixOS laptop. I used to use |
just wanted to say, that my theming-issue was not fixed with 2fedbba (performance is fine now) and that I can circumvent the theming problem by running: nautilus -q
env GTK_THEME=Arc-Dark nautilus # (or any other name of an installed gtk theme) Following message from nautilus in terminal might be related:
alternate workaround: in |
The latest unstable version of nautilus is opening folders very slowly for me and also ignores system theming. I'm using dwm and lightdm. The problem appeared between fd54651 and 3209689.
Metadata
The text was updated successfully, but these errors were encountered: