[frameworks-kio] [Bug 454229] kioslave5 keeps laptop from sleeping when searching in dolphin

2024-02-12 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=454229

--- Comment #2 from JanLukas  ---
Update for 23.10:

NEW STEPS TO REPRODUCE
1. Open Dolphin File Manager
2. Go to any folder where searching for files takes a while (long enough to put
laptop into sleep mode while it's searching), like "/"
3. Search for some string (which doesn't matter from what I can tell)
4. Try to go to sleep

NEW OBSERVED RESULT
The desktop no longer freezes, and the laptop goes to sleep successfully. A
kioslave5 with (on my machine) about 100MB of memory usage stays, and a
baloorunner with about 80MB of memory use also stays. kio-fuse also stays, but
doesn't have high memory usage.

EXPECTED RESULT
I am not sure if the processes described above and their high memory usage are
intended, but because it's the same "problem" as in my previous bug reports, I
want to report it again. The most annoying part of the bug, the freezing, is
fixed however.

HARDWARE/SOFTWARE VERSIONS
Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-15-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics

ADDITIONAL INFORMATION

dmesg doesn't show the previously described error messages anymore

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 454229] kioslave5 keeps laptop from sleeping when searching in dolphin

2022-10-26 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=454229

JanLukas  changed:

   What|Removed |Added

Version|5.92.0  |5.98.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 454229] kioslave5 keeps laptop from sleeping when searching in dolphin

2022-10-26 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=454229

--- Comment #1 from JanLukas  ---
I just upgraded to 22.10, and this bug is still present, but with a few crucial
changes:

NEW STEPS TO REPRODUCE
1. Open Dolphin File Manager (package version 4:22.08.2-0ubuntu1, default on
Kubuntu 22.10)
2. File-search ANYWHERE for ANYTHING
3. Try to go to sleep. It doesn't matter if you do it while searching, or long
after it finished

NEW OBSERVED RESULT
Again the desktop freezes on a black screen and/or the login screen for about
20 seconds (my machine), after which it returns to the lock screen. Now,
instead of just killing the kioslave5 program, you have to kill kio-fuse, to
get your laptop to sleep properly again, as killing kioslave5 doesn't do
anything (not through the GUI nor using the terminal).

STILL EXPECTED RESULT
The laptop goes to sleep successfully.

HARDWARE/SOFTWARE VERSIONS
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-23-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics

ADDITIONAL INFORMATION

The dmesg is still really similar, so I won't copy that in here again

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-baloo] [Bug 457271] Baloo indexes files it shouldn't index

2022-07-29 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=457271

--- Comment #5 from JanLukas  ---
(In reply to Nate Graham from comment #4)
> Ok. Do you seen the same error anymore when you disable, purge and enable
> baloo using balooctrl?

It looks like it's gone, but I will try to replicate the bug again tomorrow
when I have some time

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-baloo] [Bug 457271] Baloo indexes files it shouldn't index

2022-07-29 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=457271

--- Comment #3 from JanLukas  ---
1. Disabling indexing, purging and re-enabling it fixed the problem
2.

[Basic Settings]
Indexing-Enabled=true

[General]
dbVersion=2
exclude
filters=*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,core-dumps,lost+found
exclude filters version=6
exclude folders[$e]=$HOME/
index hidden folders=true

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-baloo] [Bug 457271] Baloo indexes files it shouldn't index

2022-07-29 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=457271

--- Comment #1 from JanLukas  ---
When I disable, purge and enable baloo using balooctrl, it results in this
output
> kf.baloo: Failed to add exclude folder config entry for "/home/jan/"

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-baloo] [Bug 457271] New: Baloo indexes files it shouldn't index

2022-07-29 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=457271

Bug ID: 457271
   Summary: Baloo indexes files it shouldn't index
   Product: frameworks-baloo
   Version: 5.92.0
  Platform: Kubuntu Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: baloo-bugs-n...@kde.org
  Reporter: j...@garloff.de
  Target Milestone: ---

Created attachment 150977
  --> https://bugs.kde.org/attachment.cgi?id=150977=edit
File are indexed even though it's disabled in the settings

STEPS TO REPRODUCE
1. Go to File Search in system settings
2. Set /home/yourname to Not Indexed

OBSERVED RESULT
Index process is shown, and baloo_file/baloo_file_extractor use up a lot of CPU
and RAM

EXPECTED RESULT
No files are indexed, and baloo_file/baloo_file_extractor use up little to no
CPU and RAM

SOFTWARE/OS VERSIONS
Linux Kernel: 5.15.0-41-generic (64-bit)
Kubuntu: 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Tell me what info else you might need

-- 
You are receiving this mail because:
You are watching all bug changes.

[kde] [Bug 457047] New: Restart enables Caps Lock when disabled in settings

2022-07-23 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=457047

Bug ID: 457047
   Summary: Restart enables Caps Lock when disabled in settings
   Product: kde
   Version: unspecified
  Platform: Kubuntu Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: unassigned-b...@kde.org
  Reporter: j...@garloff.de
  Target Milestone: ---

STEPS TO REPRODUCE
1. Set "Input Devices > Keyboard > Advanced > Caps Lock behavior > Caps Lock is
disabled"
2. Set "Input Devices > Keyboard > Advanced > Position of Compose Key > Caps
Lock"
3. Apply changes
4. Restart PC
5. Press Caps Lock

OBSERVED RESULT
After pressing Caps Lock, Caps Lock is activated, while Compose Key is not.

EXPECTED RESULT
After pressing Caps Lock, Compose Key is activated, while Caps Lock is not.

SOFTWARE/OS VERSIONS
Kernel: 5.15.0-41-generic (64-bit)
Distribution: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Hardware: Acer Aspire 5 Laptop with Intel 11th Gen i5-1135G7, 15.4 GiB RAM

ADDITIONAL INFORMATION
After unsetting and setting 
"Input Devices > Keyboard > Advanced > Caps Lock behavior > Caps Lock is
disabled"
and applying the changes (which is possible even though nothing changed in the
GUI), the expected result happens again. 

POSSIBLY RELATED
https://bugs.kde.org/show_bug.cgi?id=408227
https://bugs.kde.org/show_bug.cgi?id=442515

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 454229] kioslave5 keeps laptop from sleeping when searching in dolphin

2022-05-22 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=454229

JanLukas  changed:

   What|Removed |Added

   Keywords||usability

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 454229] New: kioslave5 keeps laptop from sleeping when searching in dolphin

2022-05-22 Thread JanLukas
https://bugs.kde.org/show_bug.cgi?id=454229

Bug ID: 454229
   Summary: kioslave5 keeps laptop from sleeping when searching in
dolphin
   Product: plasmashell
   Version: 5.24.4
  Platform: Kubuntu Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: plasma-b...@kde.org
  Reporter: j...@garloff.de
CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

STEPS TO REPRODUCE
1. Open Dolphin File Manager (package version 4:21.12.3-0ubuntu1, current
default on Kubuntu 22.04)
2. Go to any folder where searching for files takes a while (long enough to put
laptop into sleep mode while it's searching), like "/"
3. Search for some string (which doesn't matter from what I can tell)
4. Try to go to sleep

OBSERVED RESULT
The desktop freezes on a blackscreen with only the mouse cursor still visible
(but only occasionally moving for short times). Recently playing audio starts
looping, and switching to login shells tty2-tty6 doesn't work. After 30-40
seconds (for me), it returns to the lock screen, as if the laptop had woken up
from sleep. After waking up the searching doesn't continue, and even after all
dolphin instances are closed, a kioslave5 program continues running, which uses
up a lot of memory and cpu and is potentially leaking memory (I haven't found
enough time to test this yet), and the memory usage of kio-fuse also increases
potentially leaking more memory. This remaining kioslave5 program also stops
subsequent tries to go to sleep, leading to the same results as described above
and the same error messages described below. Killing this program (typically
the kioslave5 program with the highest memory by far (>100MB) usage if no other
file search is happening) resolves the problems, until you do the steps to
reproduce again.

EXPECTED RESULT
The laptop goes to sleep successfully, after waking up the file search
continues and kio-fuse and kioslave5 don't have high memory usage/memory leaks

SOFTWARE/OS VERSIONS:
Linux Kernel: 5.15.0-30-generic (64bit)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Hardware: Acer Aspire 5 Laptop  with Intel 11th Gen i5-1135G7, 15.4 GiB RAM

When using sudo dmesg to get the kernel log, I get this error message:

[ 2311.801748] Freezing user space processes ...

...

[ 2331.806769] Freezing of tasks failed after 20.005 seconds (5 tasks refusing
to freeze, wq_busy=0):
[ 2331.806960] task:kioslave5   state:D stack:0 pid:11294 ppid: 1
flags:0x4006
[ 2331.806967] Call Trace:
[ 2331.806970]  
[ 2331.806973]  __schedule+0x23d/0x590
[ 2331.806982]  schedule+0x4e/0xb0
[ 2331.806986]  request_wait_answer+0xa6/0x210
[ 2331.806991]  ? wait_woken+0x70/0x70
[ 2331.806996]  fuse_simple_request+0x1b1/0x360
[ 2331.806999]  fuse_send_open+0xb7/0x110
[ 2331.807003]  fuse_file_open+0xdf/0x180
[ 2331.807007]  fuse_open_common+0x9c/0x190
[ 2331.807011]  ? fuse_dir_release+0x20/0x20
[ 2331.807014]  fuse_dir_open+0x13/0x20
[ 2331.807016]  do_dentry_open+0x157/0x380
[ 2331.807021]  vfs_open+0x2d/0x30
[ 2331.807025]  do_open+0x205/0x3d0
[ 2331.807029]  path_openat+0x10e/0x2b0
[ 2331.807032]  do_filp_open+0xb2/0x150
[ 2331.807035]  ? __check_object_size+0x19/0x20
[ 2331.807039]  do_sys_openat2+0x9b/0x160
[ 2331.807043]  __x64_sys_openat+0x55/0x90
[ 2331.807047]  do_syscall_64+0x59/0xc0
[ 2331.807052]  ? exit_to_user_mode_prepare+0x37/0xb0
[ 2331.807057]  ? syscall_exit_to_user_mode+0x27/0x50
[ 2331.807060]  ? __x64_sys_read+0x19/0x20
[ 2331.807063]  ? do_syscall_64+0x69/0xc0
[ 2331.807067]  ? exit_to_user_mode_prepare+0x37/0xb0
[ 2331.807070]  ? syscall_exit_to_user_mode+0x27/0x50
[ 2331.807073]  ? __x64_sys_write+0x19/0x20
[ 2331.807075]  ? do_syscall_64+0x69/0xc0
[ 2331.807079]  ? asm_sysvec_apic_timer_interrupt+0xa/0x20
[ 2331.807084]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 2331.807088] RIP: 0033:0x7f6544e1bbcc
[ 2331.807092] RSP: 002b:7ffc3fc40b90 EFLAGS: 0287 ORIG_RAX:
0101
[ 2331.807096] RAX: ffda RBX: 7ffc3fc40f30 RCX:
7f6544e1bbcc
[ 2331.807098] RDX: 00090800 RSI: 561f997bd018 RDI:
ff9c
[ 2331.807100] RBP: 7ffc3fc40f20 R08: 00090800 R09:
561f997bd018
[ 2331.807102] R10:  R11: 0287 R12:
7ffc3fc40ce8
[ 2331.807104] R13: 7ffc3fc40da8 R14: 7ffc3fc40da8 R15:
7ffc3fc40f00
[ 2331.807107]  
[ 2331.807110] task:kioslave5   state:D stack:0 pid:11347 ppid:  1041
flags:0x4006
[ 2331.807115] Call Trace:
[ 2331.807116]  
[ 2331.807117]  __schedule+0x23d/0x590
[ 2331.807122]  schedule+0x4e/0xb0
[ 2331.807126]  request_wait_answer+0xa6/0x210
[ 2331.807129]  ? wait_woken+0x70/0x70
[ 2331.807132]  fuse_simple_request+0x1b1/0x360
[ 2331.807135]  fuse_send_open+0xb7/0x110
[ 2331.807139]  fuse_file_open+0xdf/0x180
[