[PATCH] Allow the program to explicitly hide a notification
Dirk Hohndel
dirk at hohndel.org
Thu Mar 3 16:16:23 UTC 2016
> On Mar 3, 2016, at 8:12 AM, Marco Martin <notmart at gmail.com> wrote:
>
> On Thursday 03 March 2016 06:19:19 Dirk Hohndel wrote:
>> AH, right, I forgot to post about that problem.
>>
>> So for me the magic notification attached to the action button didn't seem
>> to work - or more precisely, I couldn't figure out how to access it from a
>> page that didn't have it's own action button. So I simply instantiated the
>> private component myself like this:
>
> hmm, it's not supposed to be linked in any ways with the action button, except
> that it pops up covering it
>
> you should have a function "showPassiveNotification" available from anywhere
> (since it's in Applicationwindow that's the root element, should be always in
> context from anywhere)
>
> I have to check, there may be a bug there: where is that you are trying to use
> it? any branch/patch i can try over subsurface master to see if i can make it
> work how the api is supposed (or, to reproduce the bug if it doesn't work)?
It's in master :-)
> the notification is a private component, so it's not supposed to be used like
> that (in this case it works because subsurface includes the controls as a
> subdirectory, but that may become not true anymore as deployment and build
> system issues gets more ironed out)
I'm open to any other means of using the component.
As long as that gives me a way to actively hide the notification (which was
the patch that I sent) :-)
/D
More information about the Plasma-devel
mailing list