[PATCH] Allow the program to explicitly hide a notification

Marco Martin notmart at gmail.com
Thu Mar 3 16:12:41 UTC 2016


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)?

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)

-- 
Marco Martin


More information about the Plasma-devel mailing list