[Kile-devel] Kile on Windows: Save and Load Dialog inconsistency
Patrick Spendrin
ps_ml at gmx.de
Thu Jun 14 07:51:57 UTC 2012
Am 14.06.2012 09:23, schrieb Andreas Pakulat:
> Hi,
>
> On Thu, Jun 14, 2012 at 1:04 AM, Mogliii <mogliii at gmx.net
> <mailto:mogliii at gmx.net>> wrote:
>
> Forwarding from kile-devel
> Does anyone of have an answer? Is kile supposed to have different
> dialogs for opening/saving?
>
>
> Sounds like Kile is using the static QFileDialog::openFileName()
> function to get a filename to open, this function uses the native dialog
> on all platforms by default and hence would open the windows native dialog.
>
> On the other hand, saving seems to be done through KFileDialog as you
> say it opens the KDE file dialog.
>
> On a Linux system with a KDE desktop there would be no noticeable
> difference, since the 'native platform file dialog' there is the KDE
> file dialog and hence the static function would open that one.
>
> Thats of course just a guess based on the behaviour you describe. But if
> this is really happening it is a bug in Kile, though its not clear which
> of the two cases is buggy. That depends on the intent of the Kile
> developers, i.e. do they want native platform dialogs for open/save or
> do they always want KDE dialogs....
That sounds really plausible (it is also the only idea I had), normally
KDE apps on windows can switch from the KDE dialogs to the native
dialogs with a setting in .kdeglobals (or using the platform kcm), as
Andreas pointed out, this won't work for Qt dialogs (they use the native
ones on Windows).
>
> Andreas
>
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>
regards,
Patrick
More information about the Kde-windows
mailing list