https://bugs.kde.org/show_bug.cgi?id=404833
Bug ID: 404833 Summary: KDE's platform file dialog embedding Product: plasma-integration Version: unspecified Platform: Compiled Sources OS: All Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: rjvber...@gmail.com Target Milestone: --- SUMMARY Scribus disables the use of native file dialogs (and thus the KDE platform file dialog) because of https://bugs.scribus.net/view.php?id=11996. At first glance it seems that this is "simply" due to the fact that Scribus wants to embed the QFileDialog instance, i.e. use it as a widget in a dialog that gets other widgets as well. I'm not aware of any other non-KDE application that does this sort of thing so cannot judge whether or not Scribus has a less-obvious bug in its embedding approach, but if it doesn't there's a glitch elsewhere that breaks the assumption that the KDE platform dialog is a transparent extension to (or replacement of) QFileDialog. STEPS TO REPRODUCE 1. rebuild Scribus without disallowing native file dialogs (https://bugs.scribus.net/file_download.php?file_id=10351&type=bug) 2. run it 3. in the startup-wizard, go to the "open existing file" tab, or cancel the wizard and invoke "Open file" 4. move the resulting file dialog OBSERVED RESULT Under X11, Scribus's own dialog window that should have held the file dialog widget appears behind the KDE file dialog. In regular "open file mode" there will be a preview option in that dialog, which fails to show any previews (presumably because no QFileDialog::currentChanged signal is delivered). (If you do this on Mac with the same KDE file dialog implementation, the dialog will actually open and remain stuck behind the Scribus dialog) EXPECTED RESULT The KDE file dialog behaves exactly as the QFileDialog would, and gets embedded in the Scribus dialog. External preview mechanisms continue to work (this may be a different bug in the slot/signal magic). SOFTWARE/OS VERSIONS Tested (by me) with a 5.14.90 plasma-integration build on Linux, and a corresponding implementation of my own osx-integration plugin on Mac. KDE Frameworks Version: 5.52.0 Qt Version: 5.9.7 ADDITIONAL INFORMATION For additional discussion, see https://bugs.scribus.net/view.php?id=15404 I'm not entirely certain where the bug is, or if it *is* a bug (i.e. Qt may not officially support embedding a "themed" QFileDialog). -- You are receiving this mail because: You are watching all bug changes.