<div dir="auto"><div>Hi,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 8, 2022, 8:38 AM Benoît Gschwind <<a href="mailto:gschwind@gnu-log.net">gschwind@gnu-log.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
After a quick reading of your DevHelp case, I think the issue belong<br>
devhelp and your app that using it. DevHelp have to provide an API to<br>
be embeded in another application and Wayland protocol should not be<br>
involved. Maybe d-bus can be used as pipe between DevHelp and others<br>
applications.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Problem is - DevHelp is like a plug-in- it can be used with a thousands of applications, not just a specific one. And DevHelp don't have control over them.</div><div dir="auto"><br></div><div dir="auto">So you reading comprehension is too fast. :-)</div><div dir="auto"><br></div><div dir="auto">Thank you </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best Regards<br>
<br>
Le lundi 08 août 2022 à 14:12 +0200, Sébastien Wilmet a écrit :<br>
> Hi,<br>
> <br>
> I've seen the discussion this month about positioning windows.<br>
> <br>
> The use-case is something concrete: the Devhelp [1] assistant window.<br>
> <br>
> For some background, Devhelp (and libdevhelp) is implemented<br>
> flexibly:<br>
> it can be used as a standalone app, it can be integrated into GTK<br>
> IDEs,<br>
> the standalone app can be called to search or open a symbol.<br>
> <br>
> And there is the Devhelp assistant window: it is typically used by a<br>
> text editor, to ask Devhelp to show a small window with the<br>
> documentation for the symbol under the cursor.<br>
> <br>
> And that is where positioning is necessary: to not occlude the line<br>
> of<br>
> text where the cursor is, and to show the documentation at a sensible<br>
> place (near the cursor position).<br>
> <br>
> With Wayland, this should be implemented with a subsurface. I may be<br>
> wrong, but in this case it's not possible, because it's not the same<br>
> app (the same process).<br>
> <br>
> (For example you open a terminal, then open Vim, then you press a key<br>
> and it opens the Devhelp assistant window).<br>
> <br>
> So, what would be your suggestion in such a use-case? To still retain<br>
> the flexibility of Devhelp.<br>
> <br>
> Thanks,<br>
> Sébastien<br>
> <br>
> [1] <a href="https://wiki.gnome.org/Apps/Devhelp" rel="noreferrer noreferrer" target="_blank">https://wiki.gnome.org/Apps/Devhelp</a> (an API browser)<br>
<br>
</blockquote></div></div></div>