KMessageBox runtime dependency on FrameworkIntegrationPlugin makes it useless

Christoph Cullmann cullmann at absint.com
Sun Jun 12 18:29:56 UTC 2016


Hi,

> Having KMessageBox "dontShowMeAgain" feature depend on an integration plugin
> is a very bad idea.
> 
> Basically it means programs that use KMessageBox can never asusme it will work
> so basically they have to use alternative methods to have the
> "dontShowMeAgain" feature or not have it at all.
> 
> I understand someone thought that it was a better idea having a feature that
> may work or not randomly that increasing the dependency chain of KMessageBox,
> but I disagree.
> 
> I don't think the status quo is good at all, my program basically gets a
> runtime dependency that is not specified anywhere and that makes some features
> work or not randomly.
> 
> The options I can see are:
> * Remove the "dontShowMeAgain" feature from KMessageBox
> * Make the "dontShowMeAgain" feature use QSettings (always or if
> FrameworkIntegrationPlugin is not available)
> * Show a KMessageBox warning when trying to use the "dontShowMeAgain" feature
> and the FrameworkIntegrationPlugin is not available saying the user to install
> that package if he wants to get the functionality.
I would go for the "just use QSettings always" solution.

Greetings
Christoph

-- 
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann at AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234


More information about the Kde-frameworks-devel mailing list