Disabling KDE dialogs for Qt applications
Kevin Krammer
kevin.krammer at gmx.at
Wed Mar 24 11:00:43 GMT 2010
On Tuesday, 2010-03-23, Jeremy Sanders wrote:
> Hi - Seriously, is there any way to disable the KDE dialogs the appear to
> replace the standard Qt dialogs when running Qt-only apps under KDE 4.4+?
>
> I've filed a bug here about the file dialog
> https://bugs.kde.org/show_bug.cgi?id=229375
> but it has gone into a vacuum.
Olivier is the Qt developer working on the platform integration things so you
could probably get this moving again by providing the test case for the second
problem.
> Now I've discovered that the KDE replacement colour selection dialog box
> doesn't support setting alpha channel values, which my program needs. Argh!
That should be added to KColorDialog then. I recommend adding it to the bug
report.
> It would be fine if these dialogs worked just like the Qt dialogs, but they
> don't. The implementation is pretty flawed.
Seems like it indeed.
> Is there any way I can tell KDE not to do this dialog replacement? It
> presents serious usability problems for my applications under KDE which I
> can't fix unless I rewrite the dialogs completely.
I don't think that KDE is doing this since the Qt application does not link or
execute any KDE code at startup. It is more likely handled somewhere in Qt,
some code that decides to try loading the KDE platform integration plugin
(like it would decide to load a different one when running in a different
workspace).
A KDE Plasma workspace session is often identifies using the KDE_FULL_SESSION
environment variable. If this check is used in Qt as well you could try
unsetting it before launching the Qt app that shouldn't use workspace
integration.
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20100324/8af65bd1/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list