https://bugs.kde.org/show_bug.cgi?id=517603
Jean-Baptiste Mardelle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|User Interface & |general |Miscellaneous | Assignee|[email protected] |[email protected] Version First|25.12.2 |6.24.0 Reported In| | Product|kdenlive |frameworks-kxmlgui --- Comment #2 from Jean-Baptiste Mardelle <[email protected]> --- This is a Frameworks issue. KShortcutSchemeEditor, from KXmlGUI, uses QFileDialog::getSaveFileName to get the name of the file to save. However, when using non native file dialogs, like for example in AppImages, QFileDialog::getSaveFileName does not automatically append the extension to the filename typed by the user. This results in shortcuts files saved without extension. You can verify the bug using Kdenlive or Kate AppImages: 1. Go to Settings > Configure Keyboard Shortcuts > Manage Schemes > More Actions > Export Scheme. 2. Enter a name for the keyboard scheme 3. Save the keyboard scheme 4. Check in a filemanager, the file is saved without extension Problematic code is here: https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kshortcutschemeseditor.cpp#L187 Adding this at line 191 should fix the problem: if (QFileInfo(path).suffix().isEmpty()) { path.append(QStringLiteral(".shortcuts")); } } -- You are receiving this mail because: You are watching all bug changes.
