Window placement

Jason Gerecke killertofu at gmail.com
Wed Jul 2 16:16:36 PDT 2014


On Wed, Jul 2, 2014 at 3:33 PM, Fabrice Rey <fabounet03 at gmail.com> wrote:
>> "The question is: what action triggers it to make this ring of icons
>> appear?"
> A global shortkey (and yes I know it's not yet possible on Wayland, that's
> another problem on its own).
>
>> "What's the application doing? Does it have keyboard focus but is
>> potentially not under the mouse pointer? Do you have a screenshot or video
>> of this feature you can share?"
> I'm not the developper of it, I actually don't even use it ^^ I was just
> thinking of it to see how it would fit in Wayland, what's potentially
> missing now in the protocol.
> Here is an article about it:
> http://www.webupd8.org/2011/10/gnome-pie-02-released.html and a video:
> https://www.youtube.com/watch?v=TFQDyZyMxO4.
> Basically, it appears under the mouse when you trigger the shortkey, and you
> can also use the keyboard to navigate in the items.
> So I see 2 main points here:
> - it places its window not relatively to a parent (which there is not), but
> to the mouse
> - it takes the (keyboard) focus when it appears
> The second point is not related to this topic, so we can probably think of
> it later.
>
>
>

This reminds me of a something similar[1] that comes with the Wacom
drivers on Windows and Mac. Its not a normal application that you
would open, interact with, (possibly switch away from temporarily),
and close. Rather, the application sits in the background and waits
for some button/mouse/hotkey to be pressed before spawning a window
under the mouse that you interact with for only a moment before
returning to your original task.

I do not mean to put words into Pekka's mouth, but I believe what he
means when saying that things like this are "a DE-component" he's
speaking conceptually more than anything else. Alternative menu
systems like this and desklets essentially exist to augment the
desktop itself. Just because they can be written in a DE-agnostic
manner and run on GNOME, KDE, or TWM (all hail xeyes?) doesn't change
that. They have fundamentally different needs than the average
application, and -- at least as far as I understand Wayland -- it
makes sense to leave some of these things up to the desktops to
define.

[1]: https://www.youtube.com/watch?v=McJMnMJydes

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....


> 2014-07-02 21:26 GMT+02:00 Bill Spitzak <spitzak at gmail.com>:
>
>>
>>
>> On 07/02/2014 11:39 AM, Fabrice Rey wrote:
>>>
>>>  > "I am not sure if wayland should allow this, and whether there are
>>> clients that expect this to work"
>>> Well, there is at least one application that exists and displays a ring
>>> of icons under the mouse. So, it needs to tell the compositor to place
>>> its window to (dx;dy) relatively to the mouse.
>>
>>
>> The question is: what action triggers it to make this ring of icons
>> appear?
>>
>> _______________________________________________
>> wayland-devel mailing list
>> wayland-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>


More information about the wayland-devel mailing list