Bug 496325 - Krusader (seems to be) freeze about several seconds at start, or when open directories, or when changing tabs, ... after upgrading to KDE 6
Summary: Krusader (seems to be) freeze about several seconds at start, or when open di...
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-15 23:03 UTC by linnets
Modified: 2024-11-15 23:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linnets 2024-11-15 23:03:21 UTC
SUMMARY
* It happens with both stable 2.8.1 and git version of krusader
* It does not occur with krusader under kde plasma 5.x

DESCRIPTION:
It occurs randomly, but it has been happening more frequently recently. And it may be related to USB or bluetooth devices.
In my case, it's precisely my bluetooth keyboard that is the problem. If I disable keyboard and re-connect it, the problem is disappear for awhile.

When I run krusader with `strace`, it freezes at, when the output of `strace` shows:

At start:

```
getrandom("\x5a\x36\x16\x00\x61\x61\x74\x9e\xa9\xf1\xea\xef\x28\x7a\xf9\x4b", 16, GRND_INSECURE) = 16
readlinkat(AT_FDCWD, "/sys/devices/virtual/misc/uhid/0005:0A5C:8502.0007/power_supply/hid-01:00:01:41:5d:88-battery/subsystem", "../../../../../../../class/power"..., 4096) = 39
openat(AT_FDCWD, "/sys/devices/virtual/misc/uhid/0005:0A5C:8502.0007/power_supply/hid-01:00:01:41:5d:88-battery/uevent", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 33
fstat(33, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
read(33, 
```

And when changing tabs, or browsing (some directories):

```
getrandom("\x43\xb8\x67\xe7\xf5\x00\xe5\x37\xc6\xd8\xc3\x9c\x8e\xdd\x5a\xa3", 16, GRND_INSECURE) = 16
newfstatat(AT_FDCWD, "/sys/devices/virtual/misc/uhid/0005:0A5C:8502.0007/input/input29/input29::scrolllock/MAJOR", 0x7ffdef605740, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/devices/virtual/misc/uhid/0005:0A5C:8502.0007/power_supply/hid-01:00:01:41:5d:88-battery/uevent", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 50
fstat(50, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
read(50, 
```

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 
Qt Version: 6.8.0

ADDITIONAL INFORMATION

Here is discussion about this problem on KDE's forum:
https://discuss.kde.org/t/krusader-is-most-of-the-time-unresponsive-on-plasma-6/15050/
https://discuss.kde.org/t/krusader-is-slow-when-starting-or-changing-tabs/18257/

And someone has problem with Dolphin too, although I don't have problem with Dolphin (I don't use it much)
https://forums.fedoraforum.org/showthread.php?332926-Dolphin-freezes-a-few-seconds-when-opening