[frameworks-kio] [Bug 353813] File System Browser freezes Kate when opening a file in a folder with thousands of files
https://bugs.kde.org/show_bug.cgi?id=353813 Nate Graham changed: What|Removed |Added Resolution|--- |UPSTREAM Status|CONFIRMED |RESOLVED --- Comment #6 from Nate Graham --- #6 QMessageLogger::fatal (this=this@entry=0x7fffd70c5ba0, msg=msg@entry=0x7ff994ac00b8 "The Wayland connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893 This means that the compositor crashed. Due to a Qt issue, when this happens, the app using it will crash too. KDE developers submitted a fix, but sadly it was not merged. See https://codereview.qt-project.org/c/qt/qtwayland/+/308984. Until we get better handling of this in Qt, the best we can do is debug why the compositor crashed in the first place. So can you please get a backtrace of the crash in kwin_wayland and then file a new bug report with it on kwin | wayland-generic? Thanks! You may be able to use the `coredumpctl` utility to retrieve the backtrace. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kio] [Bug 353813] File System Browser freezes Kate when opening a file in a folder with thousands of files
https://bugs.kde.org/show_bug.cgi?id=353813 Patrick Silva changed: What|Removed |Added CC||bugsefor...@gmx.com --- Comment #5 from Patrick Silva --- This bug persists :( Operating System: Arch Linux KDE Plasma Version: 5.15.3 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.2 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kio] [Bug 353813] File System Browser freezes Kate when opening a file in a folder with thousands of files
https://bugs.kde.org/show_bug.cgi?id=353813 --- Comment #4 from Méven Car --- The problem is more likely related to the lines in void KDirOperator::setUrl(const QUrl &_newurl, bool clearforward) d->openUrl(newurl); And bool KDirOperator::Private::openUrl(const QUrl , KDirLister::OpenUrlFlags flags) { const bool result = KProtocolManager::supportsListing(url) && isSchemeSupported(url.scheme()) && dirLister->openUrl(url, flags); They call dirLister->openUrl which calls in the end KCoreDirListerCache::listDir, which is a synchronous call, hence the freeze of the UI during the IO. About the crash, it happens under wayland (I haven't tried with X): # dolphin // opens the dir with 25000 files Using Wayland-EGL qt.accessibility.core: Cannot create accessible child interface for object: PlacesView(0x55d684e6f100) index: 15 Using the 'xdg-shell-v6' shell integration The Wayland connection broke. Did the Wayland compositor die? -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kio] [Bug 353813] File System Browser freezes Kate when opening a file in a folder with thousands of files
https://bugs.kde.org/show_bug.cgi?id=353813 --- Comment #3 from Méven Car --- I believe this can be explained indeed by kdiroperator.cpp In void KDirOperator::setUrl(const QUrl &_newurl, bool clearforward) [...] KIO::StatJob *job = KIO::stat(newurl); KJobWidgets::setWindow(job, this); bool res = job->exec(); // <- The job is executed synchronously, main thread is paused [...] -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kio] [Bug 353813] File System Browser freezes Kate when opening a file in a folder with thousands of files
https://bugs.kde.org/show_bug.cgi?id=353813 Méven Car changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 CC||meve...@gmail.com --- Comment #2 from Méven Car --- I reproduced on a SSD drive with 25000 0 byte files. Dolphin can even crashes. python code to reproduce creating 25000 files: for i in range(0, 25000): open("file_%d" % i, "w") When testing with kdeconnect (introducing slower IO) on a mounted phone in a directory containing thousands of files, the issue is more severe. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kio] [Bug 353813] File System Browser freezes Kate when opening a file in a folder with thousands of files
https://bugs.kde.org/show_bug.cgi?id=353813 Christoph Cullmannchanged: What|Removed |Added Component|kfile |general Assignee|pfeif...@kde.org|fa...@kde.org CC||kdelibs-b...@kde.org Product|kio |frameworks-kio -- You are receiving this mail because: You are watching all bug changes.