[frameworks-sonnet] [Bug 477897] Dolphin crashes when renaming a file or folder

Oded Arbel bugzilla_noreply at kde.org
Mon Jan 8 17:06:36 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=477897

--- Comment #18 from Oded Arbel <oded at geek.co.il> ---
(In reply to Akseli Lahtinen from comment #17)
> I wonder if 
> 
> KItemListRoleEditor::~KItemListRoleEditor()
> {
>     disconnect(this, &KItemListRoleEditor::textChanged, this,
> &KItemListRoleEditor::autoAdjustSize);
> }
> 
> would fix this? I can't reproduce the problem so I cant really test it

I have a pretty good repro, and I will try to evaluate this change (though it
may take some time - I'm not immediately available and have never built Dolphin
for Plasma 6), but in case you want to try, my repro is this:

1. Open Dolphin and navigate to a folder where you have many files, at least
one with a longish name (>30 characters).
2. Change to Details View
3. Set columns to auto size
4. Reduce size of window such that there is a vertical scroll bar and also the
name width is just wide enough to fit the longer file name without a horizontal
scrollbar.
5. Edit the file name that is long and add a few characters somewhere.
6. Approve
7. Edit the file name again and remove the characters you've added previously.
8. Approve
9. Wait patiently for a few seconds as it crashes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list