Re: Disabling KDE dialogs for Qt applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message 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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux