Review Request 115301: Add OSD notifications to plasma-shell
Marco Martin
notmart at gmail.com
Fri Jan 24 17:22:08 UTC 2014
> On Jan. 24, 2014, 4:56 p.m., David Edmundson wrote:
> > src/shell/osd.cpp, line 118
> > <https://git.reviewboard.kde.org/r/115301/diff/1/?file=240477#file240477line118>
> >
> > This seems a bit risky?
> >
> > Is it relying on the root item being a Plasma.Dialog?
> >
> > Given we load from a look & feel package which anyone can alter at least qFatal with an appropriate error message.
> >
> > Probably do this on show() as that's going to be called before hide().
if it doesn't anymore use qwindow directly, it can just set the "visible" property on it.. would then be on the responsibility of the osd root object to implement a visible property if it isn't using Dialog, but anyways, no crash
- Marco
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115301/#review48233
-----------------------------------------------------------
On Jan. 24, 2014, 4:40 p.m., Martin Klapetek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115301/
> -----------------------------------------------------------
>
> (Updated Jan. 24, 2014, 4:40 p.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-framework
>
>
> Description
> -------
>
> As we decided to make the OSD available only for certain things, the API is intentionally limited to very particular set of things. The list is not complete yet I believe, but I'd like to get comments on the general design and state.
>
> Also as it's not a public service, I left it under org.kde.plasma_shell on D-Bus. Makes sense? Does not? Should it be standalone at eg. org.kde.osd?
>
> Note: This still needs patches in kwin.
>
>
> Diffs
> -----
>
> src/shell/shellmanager.cpp 1188b48
> src/shell/osd.cpp PRE-CREATION
> src/shell/osd.h PRE-CREATION
> src/shell/CMakeLists.txt 5c4b360
>
> Diff: https://git.reviewboard.kde.org/r/115301/diff/
>
>
> Testing
> -------
>
> Can be invoked using qdbus from command line. Works rather well.
>
>
> Thanks,
>
> Martin Klapetek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140124/db7d787f/attachment.html>
More information about the Plasma-devel
mailing list