[kde] [Bug 494160] Open Folder... in vscode causes kdialog to leak memory rapidly on Wayland
Nicolas Fella
bugzilla_noreply at kde.org
Fri Oct 11 23:56:05 BST 2024
https://bugs.kde.org/show_bug.cgi?id=494160
Nicolas Fella <nicolas.fella at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nicolas.fella at gmx.de
--- Comment #4 from Nicolas Fella <nicolas.fella at gmx.de> ---
Okay, the problem is this:
Opening the file picker in VS Code uses kdialog. Internally kdialog uses
QMimeDatabase, which gets the information from shared-mime-info. Due to a
somewhat recent change in shared-mime-info it can happen that code reading it
runs into an infinite loop. This seems to be happening in particular since
Kubuntu and Snap both ship a (different) version of shared-mime-info.
The QMimeDatabase issue was fixed in Qt6 with
https://codereview.qt-project.org/c/qt/qtbase/+/518454, but Qt5 (which is used
on Kubuntu 24.04) wasn't fixed.
See https://github.com/microsoft/vscode/issues/230679,
https://github.com/microsoft/vscode/issues/230454,
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/258#note_2167707
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list