Summary: | The .xmi file Extension has to be Added Manually to file Names | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Martin Vahi <martin.vahi> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | REPORTED --- | ||
Severity: | minor | CC: | code, ralf.habacker |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Umbrello's "Save as" dialog with Qt4 |
Description
Martin Vahi
2018-06-14 18:10:59 UTC
Opensuse provides several umbrello versions at https://software.opensuse.org/package/umbrello. Which are you using ? I checked this with recent version 18.4.2 and was able to reproduce this behavior only if the file filter in the save dialog was cleared or was set to any type. Can you confirm ? Actually, this has to do with the mangling of the file filters when the Gnome/Gtk native file dialog is used: https://bugreports.qt.io/browse/QTBUG-78557 Perhaps this could be a user-configurable option to add the .xmi part automatically? Created attachment 130571 [details]
Umbrello's "Save as" dialog with Qt4
The Qt4 version of Umbrello has this setting, as can be seen in the screenshot.
Since this dialog is provided by Qt, this seems to be a fundamental problem of Qt5.
(In reply to Ralf Habacker from comment #3) > Since this dialog is provided by Qt, this seems to be a fundamental problem > of Qt5. Looking into the source (https://invent.kde.org/sdk/umbrello/-/blob/master/umbrello/uml.cpp#L1356) , I need to correct that statement. The Qt4 variant uses KFileDialog::getSaveUrl() while the Qt5 variant uses QFileDialog::getSaveFileUrl() which does not support that feature. |