<div dir="ltr"><div><div><div><div><div>> "
Why does it not have a parent window, if it is a normal application?"<br></div>There is only 1 window in this application; there is no menu or whatever.<br>The "circular menu" is just its name, it's not even a menu. It's an application that owns a surface to display stuff on it, and has to place this surface centered on the mouse.<br>
<br>> "Sounds like it is not a normal application but a component of the DE,"<br></div>Nope, it's a regular application that can work on any Window Manager currently, and should be able to work on any Compositor as well.<br>
<br>> "There have been discussions on how to create a protocol<br>
extension for registering global hotkeys from apps without compromising
usability or security, but that feature too has not yet been<br>
implemented AFAIK. I haven't even seen a serious protocol draft."<br></div>Yes, nothing yet, but that's a must-have. I couldn't even think of using a desktop where I can't call the Applications Menu from ctrl+F1 or the recent events from ctrl+F2 (and that's just a few example, I have a lot of shortkeys to control my dock and it's so convenient).<br>
</div>But that's quite a digression, I'd like to make a new topic on this point. :-)<br><br>> "
It sounds more like a DE feature."<br></div>As I said to Bill, there is currently such an application, and it's not linked to Gnome/KDE/any-DE. Really it shouldn't, we need to have compositor-agnostic applications. If KDE apps start to not work under Gnome, we're in a serious trouble.<br>
<div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-02 8:08 GMT+02:00 Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Wed, 2 Jul 2014 00:33:39 +0200<br>
Fabrice Rey <<a href="mailto:fabounet03@gmail.com">fabounet03@gmail.com</a>> wrote:<br>
<br>
> Pekka I think you misunderstod my point, let me try to be more clear.<br>
> The "circular menu" is actually just a window, that paints some icons on a<br>
> ring. It doesn't have a parent window, and that's the problem.<br>
<br>
</div>Why does it not have a parent window, if it is a normal application?<br>
<br>
Sounds like it is not a normal application but a component of the DE,<br>
in which case it uses whatever DE-specific means there are.<br>
<br>
If you meant that the hotkey is also global (triggerable also when the<br>
app's window is not active), then that must be handled by the compositor<br>
directly, too. There have been discussions on how to create a protocol<br>
extension for registering global hotkeys from apps without compromising<br>
usability or security, but that feature too has not yet been<br>
implemented AFAIK. I haven't even seen a serious protocol draft.<br>
<div class=""><br>
> How in Wayland will we be able to place this window so that its center is<br>
> right on the cursor position ?<br>
<br>
</div>That is DE-specific, because it is a DE-component, IMHO. You will have<br>
to explain the use case for regular applications better, if you really<br>
mean regular applications; for example, what should happen when there<br>
are multiple such applications running, why don't they have a<br>
window on screen, and why they need to have a global hotkey.<br>
<br>
Do you also assume some kind of modality? We do not have globally modal<br>
windows. In some very restricted cases (as a response to a direct user<br>
action) you are able to make a grab, but that grab is also breakable at<br>
any time (doesn't sound like it would be a problem to your case,<br>
anyway).<br>
<div class=""><br>
> We know the mouse position only relatively to a surface, but here we need<br>
> the mouse position on the screen, and then positionning the window<br>
> relatively to it.<br>
> In short, you press the shortkey, and then a ring of icons appear scentered<br>
> on the cursor. The question is "how?"<br>
<br>
</div>Like I said, there is no protocol for that yet, as far as I know. To me<br>
it seems quite unlikely to have such protocol interface that would be<br>
free for any and all apps to use.<br>
<br>
It sounds more like a DE feature.<br>
<br>
<br>
Thanks,<br>
pq<br>
</blockquote></div><br></div>