Global flag to suppress popups?
Jasem Mutlaq
mutlaqja at ikarustech.com
Tue Apr 20 12:24:39 BST 2021
Great, I've created an issue here:
https://invent.kde.org/education/kstars/-/issues/84
--
Best Regards,
Jasem Mutlaq
On Tue, Apr 20, 2021 at 1:53 PM Hans <hans at lambermont.dyndns.org> wrote:
> Wolfgang Reissenberger wrote on 20210420:
>
> > Good point, these message boxes are not a good idea for running KStars
> in a (more or less) unattended way.
> >
> > I would even opt for having both, so having the option to avoid message
> boxes in general plus making all message boxes non-blocking timer-based.
>
> Yes, both please. And if that is no option then the first, an option to
> suppress them all. That is also needed for any future option where ekos
> would
> be fully scriptable from the outside for automation.
>
> -- Hans
>
> > > Am 20.04.2021 um 07:37 schrieb Jasem Mutlaq <mutlaqja at ikarustech.com>:
> > >
> > > Hello everyone,
> > >
> > > What do you guys think about having a global flag that would suppose
> any KSMessageBox messages? This can be set for example when Ekos scheduler
> is running, and for any errors that would end up as a popup, this would
> just block the program.
> > >
> > > I've actually fixed quite a few of these cases before and redirected
> the output to the log instead of blocking KSMessage. Please note that we
> have KSMessageBox class that has pop ups with timeouts (why isn't this a
> standard in KDE or Qt?).
> > >
> > > So we have a couple of options:
> > >
> > > 1. Create a global flag where it suppresses any calls to
> KSNotication::sorry or KSNotification:error ..etc
> > > 2. Convert all existing KSNotification::error..etc to a non-blocking
> timer-based KSMessageBox?
> > >
> > > This is of course for the next release of KStars, not 3.5.3 which is
> already overdue.
> > > --
> > > Best Regards,
> > > Jasem Mutlaq
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20210420/22c47745/attachment.htm>
More information about the Kstars-devel
mailing list