View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012534 | Scribus | Import / Export | public | 2014-07-17 08:24 | 2015-11-15 19:14 |
Reporter | JLuc | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | duplicate | ||
Product Version | 1.5.0svn | ||||
Summary | 0012534: native FileDialog | ||||
Description | Qt managed filedialogs bookmarks are buggy (regularly forgotten) Do we have to use non-native filedialogs ? | ||||
Steps To Reproduce | following patch brings use of native filedialogs and systemwide bookmarks Index: scribus/ui/scfilewidget.cpp =================================================================== --- scribus/ui/scfilewidget.cpp (révision 19352) +++ scribus/ui/scfilewidget.cpp (copie de travail) @@ -18,7 +18,7 @@ ScFileWidget::ScFileWidget(QWidget * parent) : QFileDialog(parent, Qt::Widget) { - setOption(QFileDialog::DontUseNativeDialog); +// setOption(QFileDialog::DontUseNativeDialog); setSizeGripEnabled(false); setModal(false); setViewMode(QFileDialog::List); Are there any drawbacks ? | ||||
Tags | No tags attached. | ||||
Patch | |||||
duplicate of | 0012068 | confirmed | [Qt5 BUG] Open file dialog doesnt remember bookmarked folders |
|
Note 1) The multi-tabs splash dialog is not changed with this patch. Some dedicated patch has to be done for it. Note 2) Drawback with system-wide bookmarks is that they are system wide, and not specifically dedicated to scribus DTP work. With Qt managed bookmarks, when they work, scribus user benefits of his DTP-work specifics bookmarks. This is an advantage when these specific bookmarks have been setup (and are not forgotten), but it is a drawback when opening scribus for the first time and having no bookmark at all. |
|
after having removed the multi-tabs dialog from all my scribuses, i wonder if we really need it... all in all, i don't miss it in any of the programs that don't have it and it only shines for annoyance in the ones that implement it (mostly poorly). just my point of view... |
|
well, to be honnest, i like the multitab open dialog a lot. It's a powerfull central place to be ready for any-every SLA files related action. I wouldnt be chocked when it would become a non-modal window, available for any SLA file action at any time. |
|
but these tabs vs no-tabs discussions are a bit out of the subject of this report... |
|
So as to bring systemwide bookmarks (= native filedialogs) to the splash open dialog, diff is : Index: scribus/ui/newfile.cpp =================================================================== --- scribus/ui/newfile.cpp (révision 19357) +++ scribus/ui/newfile.cpp (copie de travail) @@ -368,7 +368,7 @@ fileDialog = new QFileDialog(openDocFrame, tr("Open"), docDir, formats); fileDialog->setFileMode(QFileDialog::ExistingFile); fileDialog->setAcceptMode(QFileDialog::AcceptOpen); - fileDialog->setOption(QFileDialog::DontUseNativeDialog); +// fileDialog->setOption(QFileDialog::DontUseNativeDialog); fileDialog->setNameFilterDetailsVisible(false); fileDialog->setReadOnly(true); fileDialog->setSizeGripEnabled(false); This patch has to be added to the initial report one (it adds to it, not replace). Its not perfect because with this patch, the native filedialog pops up off the multitab splash dialog instead of being opened inside it. |
|
These qt bookmarks issues make me feel like wanting a scribus option : - yes/no : use system wide bookmarks / Qt managed bookmarks |
|
hacking 0012068 |
|
Hack refused, breaks file dialogs on Windows and cause other issues on Ubuntu and OS X such as 0011996. |
|
Does this hack still break file dialogs on Windows and Ubuntu ? |
|
Yes, it still does. |
|
Closing as this is a duplicate of 0012068. And we won't use native file dialogs. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-07-17 08:24 | JLuc | New Issue | |
2014-07-17 09:39 | JLuc | Note Added: 0032805 | |
2014-07-17 11:01 | ale | Note Added: 0032806 | |
2014-07-17 11:01 | ale | Note Edited: 0032806 | |
2014-07-17 12:36 | JLuc | Note Added: 0032807 | |
2014-07-17 12:38 | JLuc | Note Added: 0032808 | |
2014-07-19 08:06 | JLuc | Note Added: 0032829 | |
2014-07-19 08:07 | JLuc | Note Added: 0032830 | |
2014-07-26 13:41 | JLuc | Note Edited: 0032829 | |
2014-07-26 13:42 | JLuc | Note Added: 0033026 | |
2014-07-26 13:46 | jghali | Note Added: 0033028 | |
2015-03-27 11:55 | Kunda | Note Added: 0034770 | |
2015-03-27 17:40 | jghali | Note Added: 0034771 | |
2015-11-15 19:14 | jghali | Note Added: 0037506 | |
2015-11-15 19:14 | jghali | Relationship added | duplicate of 0012068 |
2015-11-15 19:14 | jghali | Status | new => resolved |
2015-11-15 19:14 | jghali | Resolution | open => duplicate |
2015-11-15 19:14 | jghali | Assigned To | => jghali |
2015-11-15 19:14 | jghali | Status | resolved => closed |