Re: Should I port my custom UI toolkit to Wayland or GTK/QT?

2021-10-31 Thread Brad Robinson
t 2021 10:58:59 +1100 > Brad Robinson wrote: > > > 2. Are there options for IME and Accessibility for pure Wayland apps? > > Yes, there are at least 2 approaches: > > - embed the IME in your application, like GNOME/Mutter seems to be doing > (I'm not super acquainted wit

Re: Should I port my custom UI toolkit to Wayland or GTK/QT?

2021-10-31 Thread Brad Robinson
t; On Fri, Oct 29, 2021 at 6:59 PM Brad Robinson > wrote: > > > > Hey All, > > > > I have a custom UI toolkit that I initially developed for my music > application over 15 years ago. Currently it runs on Windows and OSX, and > I'd like to port it to Linux. &

Should I port my custom UI toolkit to Wayland or GTK/QT?

2021-10-29 Thread Brad Robinson
Hey All, I have a custom UI toolkit that I initially developed for my music application over 15 years ago. Currently it runs on Windows and OSX, and I'd like to port it to Linux. The main thing I'm trying to decide is whether to port directly to Wayland or to a higher level UI toolkit like GTK

Re: Current state of Window Decorations

2020-06-25 Thread Brad Robinson
Thu, 25 Jun 2020 11:57:42 +1000 > Brad Robinson wrote: > > > Hey All, > > > > What's the current state and/or plans for window decorations with > Wayland? > > > > I just stumbled on this post > > < > https://blog.martin-graesslin.com/blog/2018/01/s

Current state of Window Decorations

2020-06-24 Thread Brad Robinson
Hey All, What's the current state and/or plans for window decorations with Wayland? I just stumbled on this post , and after reading the comments I've got to say I'm quite shocked that getting a window to appear

Re: Best practices for client side buffer management

2020-06-24 Thread Brad Robinson
Hi Pekka, The problem is, the compositor might not release the buffer until > you have already submitted a new one. > OK... good to know that approach won't work. I guess what I'm trying to figure out (and probably won't solve completely till I actually sit down and code it) is how to avoid the

Re: Best practices for client side buffer management

2020-06-24 Thread Brad Robinson
platforms. Brad On Wed, Jun 24, 2020 at 6:11 PM Guillermo Rodriguez Garcia < guille.rodrig...@gmail.com> wrote: > Hi Brad, > > El vie., 19 jun. 2020 a las 5:24, Brad Robinson > () escribió: > [...] > > > > Finally, the toolkit already maintains an off-screen b

Re: Best practices for client side buffer management

2020-06-23 Thread Brad Robinson
: > On Fri, 19 Jun 2020 11:21:34 +0100 > Carsten Haitzler (The Rasterman) wrote: > > > On Fri, 19 Jun 2020 13:24:12 +1000 Brad Robinson < > brobin...@toptensoftware.com> > > said: > > > > > Hi All, > > > > > > I'm fairly new to Wayland and Linux

Re: Best practices for client side buffer management

2020-06-19 Thread Brad Robinson
Hi Carsten, > i assume GetTempPath() will be looking at /tmp ... and /tmp may not be a > ramdisk. it may be a real disk... in which case your buffers may be getting > written to an actual disk. don't use /tmp. > That's kind of what was in the back of my head when I decided to post this, but

Re: Best practices for client side buffer management

2020-06-19 Thread Brad Robinson
: > On 19/06/20 3:24 pm, Brad Robinson wrote: > > Hi All, > > > > I'm fairly new to Wayland and Linux GUI programming in general, but > > doing some experiments to figure out how to integrate it into my custom > > UI toolkit library and have a couple of quest

Best practices for client side buffer management

2020-06-18 Thread Brad Robinson
Hi All, I'm fairly new to Wayland and Linux GUI programming in general, but doing some experiments to figure out how to integrate it into my custom UI toolkit library and have a couple of questions about client side buffer management. Firstly, this is how I'm allocating the backing memory for

Re: Language bindings for wl_registry_bind request

2020-06-18 Thread Brad Robinson
Hi Pekka, the rule is that a 'new_id' type of argument *without* an 'interface' > attribute extends to three arguments instead of one. The interface must > be known at runtime, and if the XML does not give it, then it must be > transmitted explicitly. > Great - glad to see this explicitly

Language bindings for wl_registry_bind request

2020-06-18 Thread Brad Robinson
Hi All, I'm putting together a set of C# bindings for Wayland and it's coming along nicely but I've hit an issue with wl_registry_bind where its implementation doesn't seem to match the xml. The wayland.xml file declares it as: (essentially one input parameter - name) Binds a new,

Best practices for saving and restoring window layout

2020-06-04 Thread Brad Robinson
Hi All, First post here... I'm looking into porting an existing UI library to Gtk+ and I'm struggling to solve a couple of problems related to window positioning when using Wayland as the backend. I've read through the posts on this list's archive about window positioning and it's clear that a