Krusader is slow when starting or changing tabs

Linux: OpenSUSE Tumbleweed
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Krusader Version: 2.8.1

I run 2 PC’s both with the same setup, as above.

On PC1, Krusader starts immediately and is loaded within 1 second, there are no delays when switching tabs.

On PC2, Krusader starts but then take ~30 seconds to load, and there is a delay when switching tabs to a new location.

This started about a week ago and I’m baffled as to what the issue is.
I don’t have any issues with any other software, just Krusader.

1 Like

For all directories? Is there anything special about the filesystem?
Do you have the same problem when opening the same directories in Dolphin?
Is there any suspicious output when starting Krusader with debug output (krusader --debug)?

Oh, and is this a duplicate of Krusader is, most of the time, unresponsive on Plasma 6 - #3 by metalinx ?

Yes, it’s same for all directories, but once mount point loaded navigating folders is quick. There is nothing special about the file system, just ext4, same on both PC’s.
No problems with either Dolphin or Double Commander.

I did check starting Krusader with debug output on both PC’s and both have similar outputs, with output stopping for 30 seconds whilst Krusader loads on PC2.

Also, I created a new user, but I see the same slow behaviour when logged in as the new user.

I have the same problem.
And after I “discovered” a trick (@abikadorov mentioned above), it (seems) to be better, but Krusader still, randomly be slow when switching tabs or changing locations.

I have tested with a live distro, run KDE 5.x, and have no problems with Krusader.

Aaagh, it happened again.

Krusader becomes very slow on startup and switch tabs, so I must remove the “solved” status in my topic.

I tested with the “normal” krusader, copy from the live distro KDE 5.

I test with firejail to creat empty home and run both version of krusader (the default, and the copy version).

And both have this problem, so it seems that it’s not krusader problem, but something about the environment (??? I don’t know).

I would agree it’s something environmental.

Krusader works on PC1, but not PC2. . .both have the same base software, but will have differences in installed packages.

How do we find which is causing this issue?

I’m happy to report Krusader is now working normally.

I have done nothing specific to fix the issue. . .all that’s happened is I’ve run an update, something there must have been updated and fixed the error.

Actually, I don’t think that’s true. . .I was using Krusader yesterday at ~5pm and it was slow. The last update I did was yesterday at ~4pm, so this can’t be related to the fix.

So, I have no idea why Krusader is suddenly back to normal today when seemingly nothing has changed.

It seems like that.

Btw, could you share your list of updated packages.

Here are my recent updated packages, that appeared to fix this problem:

alsa-firmware
ark
b43-fwcutter
bluez
bluez-utils
cantarell-fonts
dmidecode
dmraid
firewalld
fisher
gimp
gst-plugin-pipewire
hwdetect
iwd
kdeconnect
keepassxc
lib32-gnutls
linux
linux-firmware
linux-headers
lsb-release
lsscsi
ltrace
lyx
microsoft-edge-stable-bin
nano
nano-syntax-highlighting
netctl
networkmanager
networkmanager-openconnect
nss-mdns
nvidia-settings
os-prober
pikaur
pipewire-alsa
pipewire-jack
pipewire-pulse
qt5-tools
reiserfsprogs
rtkit
sg3_utils
systemd-sysvcompat
telegram-desktop-bin
ttf-bitstream-vera
ttf-liberation
ttf-opensans
usb_modeswitch
vim
xf86-input-libinput
xterm
yt-dlp

I used rpm -qa --last, but I’m not sure this is the best way. . . below is the list of updates I’ve done this week.

Tuesday 9th July
----------------
remote-flathub-1.15.8-2.1.noarch      
flatpak-1.15.8-2.1.x86_64                     
spectacle-lang-24.05.2-1.2.noarch             
nomacs-plugins-3.17.2295-3.2.x86_64           
nomacs-lang-3.17.2295-3.2.noarch              
nomacs-3.17.2295-3.2.x86_64                   
spectacle-24.05.2-1.2.x86_64                  
qt6-printsupport-cups-6.7.2-2.1.x86_64        
qt6-platformtheme-gtk3-6.7.2-2.1.x86_64       
libQt6PrintSupport6-6.7.2-2.1.x86_64          
libQt6OpenGLWidgets6-6.7.2-2.1.x86_64         
qt6-networkinformation-nm-6.7.2-2.1.x86_64    
qt6-networkinformation-glib-6.7.2-2.1.x86_64  
libQt6Widgets6-6.7.2-2.1.x86_64               
libQt6OpenGL6-6.7.2-2.1.x86_64                
libQt6Gui6-6.7.2-2.1.x86_64                   
typelib-1_0-HarfBuzz-0_0-9.0.0-1.1.x86_64     
qt6-sql-sqlite-6.7.2-2.1.x86_64               
qt6-sql-mysql-6.7.2-2.1.x86_64                
qt6-network-tls-6.7.2-2.1.x86_64              
mpv-bash-completion-0.38.0+git20240706.00f43e0916fa-1.1.noarch 
libQt6Network6-6.7.2-2.1.x86_64               
libQt6Concurrent6-6.7.2-2.1.x86_64            
libharfbuzz-subset0-9.0.0-1.1.x86_64          
libharfbuzz-icu0-9.0.0-1.1.x86_64             
libharfbuzz-gobject0-9.0.0-1.1.x86_64         
libQt6Xml6-6.7.2-2.1.x86_64                   
libQt6Test6-6.7.2-2.1.x86_64                  
libQt6Sql6-6.7.2-2.1.x86_64                   
libQt6DBus6-6.7.2-2.1.x86_64                  
gstreamer-plugins-good-lang-1.24.5-2.1.noarch 
yast2-trans-en_GB-84.87.20240707.68063c4dc4-1.1.noarch 
xclip-0.13+git20220129-1.1.x86_64             
wol-0.7.1-163.1.x86_64                        
virtualbox-kmp-default-7.0.18_k6.9.7_1-1.11.x86_64 
mpv-0.38.0+git20240706.00f43e0916fa-1.1.x86_64 
speech-dispatcher-0.12.0~rc3-2.1.x86_64       
libspeechd2-0.12.0~rc3-2.1.x86_64             
libphonenumber8-8.13.40-1.1.x86_64            
libopencv410-4.10.0-1.1.x86_64                
libndp0-1.8-2.1.x86_64                        
libksba8-1.6.7-1.1.x86_64                     
libharfbuzz0-9.0.0-1.1.x86_64                 
libQt6Core6-6.7.2-2.1.x86_64                  
krb5-1.21.3-1.1.x86_64                        
gstreamer-plugins-good-gtk-1.24.5-2.1.x86_64  
gstreamer-plugins-good-1.24.5-2.1.x86_64      

Thursday 11 July
----------------
samba-python3-4.20.2+git.348.4fb6af61307-1.1.x86_64 
samba-4.20.2+git.348.4fb6af61307-1.1.x86_64   
libsamba-policy0-python3-4.20.2+git.348.4fb6af61307-1.1.x86_64 
samba-libs-python3-4.20.2+git.348.4fb6af61307-1.1.x86_64 
samba-libs-4.20.2+git.348.4fb6af61307-1.1.x86_64 
samba-ad-dc-libs-4.20.2+git.348.4fb6af61307-1.1.x86_64 
cups-client-2.4.10-2.1.x86_64                 
cups-2.4.10-2.1.x86_64                        
samba-client-4.20.2+git.348.4fb6af61307-1.1.x86_64 
python311-x86-64-v3-3.11.9-4.1.x86_64         
python311-certifi-2024.7.4-1.1.noarch         
python311-base-x86-64-v3-3.11.9-4.1.x86_64    
libpython3_11-1_0-x86-64-v3-3.11.9-4.1.x86_64 
samba-client-libs-4.20.2+git.348.4fb6af61307-1.1.x86_64 
libcupsimage2-2.4.10-2.1.x86_64               
python311-dbm-3.11.9-4.1.x86_64               
libexiv2-28-x86-64-v3-0.28.2-3.1.x86_64       
libabsl_2401_0_0-20240116.2-3.1.x86_64        
grub2-x86_64-efi-2.12-21.1.noarch             
grub2-systemd-sleep-plugin-2.12-21.1.noarch   
python311-curses-3.11.9-4.1.x86_64            
python311-base-3.11.9-4.1.x86_64              
python311-3.11.9-4.1.x86_64                   
libfreecell-solver0-6.12.0-1.1.x86_64         
libcups2-2.4.10-2.1.x86_64                    
libpython3_11-1_0-3.11.9-4.1.x86_64           
libibus-1_0-5-1.5.30-1.1.x86_64               
libexiv2-28-0.28.2-3.1.x86_64                 
libabsl_lite_2401_0_0-20240116.2-3.1.x86_64   
grub2-i386-pc-2.12-21.1.noarch                
grub2-2.12-21.1.x86_64                        
freecell-solver-presets-6.12.0-1.1.noarch     
cups-config-2.4.10-2.1.x86_64

Friday 12th July
----------------
zenmap-7.94-135.5.x86_64                      
nmap-7.94-135.5.x86_64                        
conky-1.13.1-1699.11.pm.66.x86_64             
typelib-1_0-Gtk-3_0-3.24.43-1.1.x86_64        
gtk3-lang-3.24.43-1.1.noarch                  
doublecmd-qt-1.1.16-1.11.x86_64               
NetworkManager-bluetooth-1.48.4-1.1.x86_64    
libgtk-3-0-3.24.43-1.1.x86_64                 
gtk3-immodule-vietnamese-3.24.43-1.1.x86_64   
gtk3-immodule-tigrigna-3.24.43-1.1.x86_64     
gtk3-immodule-thai-3.24.43-1.1.x86_64         
gtk3-immodule-inuktitut-3.24.43-1.1.x86_64    
gtk3-immodule-amharic-3.24.43-1.1.x86_64      
gtk3-branding-openSUSE-15.0-2.5.noarch        
NetworkManager-lang-1.48.4-1.1.noarch         
gvfs-lang-1.54.2-1.1.noarch                   
gvfs-backend-samba-1.54.2-1.1.x86_64          
gvfs-backend-goa-1.54.2-1.1.x86_64            
gvfs-backend-afc-1.54.2-1.1.x86_64            
gtk3-tools-3.24.43-1.1.x86_64                 
typelib-1_0-NM-1_0-1.48.4-1.1.x86_64          
typelib-1_0-Gio-2_0-2.80.4-1.1.x86_64         
NetworkManager-wwan-1.48.4-1.1.x86_64         
NetworkManager-tui-1.48.4-1.1.x86_64          
NetworkManager-branding-openSUSE-42.1-7.7.noarch 
NetworkManager-1.48.4-1.1.x86_64              
gvfs-fuse-1.54.2-1.1.x86_64                   
gvfs-backends-1.54.2-1.1.x86_64               
bolt-0.9.8-2.1.x86_64                         
upower-1.90.4-1.1.x86_64                      
typelib-1_0-GObject-2_0-2.80.4-1.1.x86_64     
typelib-1_0-GModule-2_0-2.80.4-1.1.x86_64     
libupower-glib3-1.90.4-1.1.x86_64             
libnm0-1.48.4-1.1.x86_64                      
gvfs-1.54.2-1.1.x86_64                        
libstorage-ng-ruby-4.5.217-1.1.x86_64         
libgio-2_0-0-2.80.4-1.1.x86_64                
glib2-tools-2.80.4-1.1.x86_64                 
bluez-obexd-5.71-4.2.x86_64                   
bluez-cups-5.71-4.2.x86_64                    
typelib-1_0-GLib-2_0-2.80.4-1.1.x86_64        
qt6-wayland-6.7.2-2.1.x86_64                  
kmail-lang-24.05.2-2.1.noarch                 
gio-branding-openSUSE-42.1-21.6.noarch        
yt-dlp-2024.07.09-1.1.noarch                  
openSUSE-release-20240711-2994.1.x86_64       
libstorage-ng1-4.5.217-1.1.x86_64             
glib2-lang-2.80.4-1.1.noarch                  
bluez-5.71-4.2.x86_64                         
libgthread-2_0-0-2.80.4-1.1.x86_64            
libgobject-2_0-0-2.80.4-1.1.x86_64            
libgmodule-2_0-0-2.80.4-1.1.x86_64            
libell0-0.67-1.1.x86_64                       
libQt6WlShellIntegration6-6.7.2-2.1.x86_64    
libQt6WaylandEglCompositorHwIntegration6-6.7.2-2.1.x86_64 
libQt6WaylandEglClientHwIntegration6-6.7.2-2.1.x86_64 
kmail-24.05.2-2.1.x86_64                      
yt-dlp-bash-completion-2024.07.09-1.1.noarch  
python311-yt-dlp-2024.07.09-1.1.noarch        
kdeplasma6-addons-lang-6.1.2-2.1.noarch       
ruby3.3-3.3.4-1.1.x86_64                      
polkit-default-privs-1550+20240708.7e0e3f4-1.1.noarch 
openSUSE-release-appliance-custom-20240711-2994.1.x86_64 
libstorage-ng-lang-4.5.217-1.1.noarch         
libruby3_3-3_3-3.3.4-1.1.x86_64               
libQt6WaylandCompositor6-6.7.2-2.1.x86_64     
libglib-2_0-0-2.80.4-1.1.x86_64               
libesmtp6_2_0-1.1.0-2.1.x86_64                
libbluetooth3-5.71-4.2.x86_64                 
libaa1-1.4.0-516.1.x86_64                     
libQt6WaylandClient6-6.7.2-2.1.x86_64         
ktnef-24.05.2-2.1.x86_64                      
kmail-application-icons-24.05.2-2.1.x86_64    
kdeplasma6-addons-6.1.2-2.1.x86_64            
gtk3-schema-3.24.43-1.1.noarch                
gtk3-data-3.24.43-1.1.noarch                  
ca-certificates-mozilla-2.68-1.1.noarch       
libQt6Pas6-3.4-83.19.x86_64

It happened again after (that) update.

:anguished:

I have just done another update, and my Krusader is still working.

I have just noticed something that may (or may not be) related.
Around the time Krusader stopped working normally, I had to update Conky as no details were showing due to the ethernet name changing from ‘enp2s0’ to ‘enp3s0’ - seen when running ‘ip a’, but confusingly in System Settings it was still showing as ‘enp2s0’. Why??

This has now reverted back to ‘enp2s0’ and Krusader is working, but I can’t be sure if this is related as I don’t know if the behaviour of Krusader changed at the same time as the ethernet name changed.

Something to look into perhaps?

In my case, I think I found out the cause, it may relate to bluetooth.

When problem occurs, I disconnect wireless keyboard and mouse and use buitin laptop keyboard/touchpad (or disconnect and reconnect keyboard and mouse via bluetooth) Kursader runs normal again.

Here is my (amateur) method, and you could try it (or you could find better way).

In my case when problem occurs, even if I reopen krusader it does not go away, so I can reopen it with strace (I’m not familiar with this program though).

  • install strace
  • run:
     strace krusader
    
    And make a video records what the output is.

Because, when problem occurs, krusader is hanged for a moment, and strace shows what krusader tries to do at that moment.

And in my case, it likely tries to read bluetooth device.

I don’t have any Bluetooth devices, but if the problem ever reoccurs, I’ll give the strace method a try.

My ethernet name changed again this morning back to enp3s0, but Krusader is still working normally.

It’s happened again. . .the only action I did was to update some flatpak packages.
Although I’m unsure how this can affect Krusader as that’s not a flatpak app.
I don’t have flatpak installed on my other PC, and I have no issues on that one (nor does my friends PC which also doesn’t have flatpak installed).

Coincidence or not?

I removed flatpak and the issue still exists.

Nothing else changed between this morning and this afternoon, but Krusader broke again. I’m at a loss to explain this behaviour :confounded: :confounded: :confounded:

After much digging, I do appear to have found the root cause of my issue.

I ran ‘strace krusader’ (thanks metalinx) and noticed it was stopping at these messages:

readlinkat(AT_FDCWD, “/sys/devices/pci0000:00/0000:00:1d.2/0000:08:00.0/usb5/subsystem”, “…/…/…/…/…/bus/usb”, 4096) = 22

I then remembered some message at boot to do with usb5, so I rebooted to check and this was it:

usb usb5-port1: connect-debounce failed

usb5 happens to be a usb3 pci expansion card into which I had a smart meter display plugged in. . .as soon as I unplugged this Krusader was back working normally.

I plugged my phone in using the same usb port and no issues with Krusader, so it appears to be the specific unit that is causing the issue.

Plugging this unit into a different usb port and the Krusader issue returns, proving it’s the unit and not my PC that’s at fault.

1 Like