Recent

Author Topic: Gtk3 widgetset - call for testing  (Read 2169 times)

dbannon

  • Hero Member
  • *****
  • Posts: 3826
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Gtk3 widgetset - call for testing
« Reply #30 on: May 09, 2026, 03:23:51 am »
Zones will be available imediatelly for any lazarus WS that supports wayland. Zones primary usage is to restore window positions (not exact x,y but zones) at next application start.

Are you sure of that zeliko ?  It looks to me that all that has been merged is the protocol, looking at the commit, its just "function prototypes". No real code.

And the real code, when and if provided needs to be in a release of wayland, certainly not in my current wayland equipped VMs.

Yes, its about "restoring previous position" but I get the impression that the app can fiddle that data to achieve what we want, eg, the tool bar complex in Lazarus across the top of the screen. In my app, the opening window top left (just because that is traditionally where it pops up, less important).

Davo
Lazarus 4, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

PascalDragon

  • Hero Member
  • *****
  • Posts: 6398
  • Compiler Developer
Re: Gtk3 widgetset - call for testing
« Reply #31 on: May 12, 2026, 09:17:47 pm »
Zones will be available imediatelly for any lazarus WS that supports wayland. Zones primary usage is to restore window positions (not exact x,y but zones) at next application start.

You are thinking about the Session Management protocol which is only relevant for storing and restoring top level windows. What dbannon is talking about is the Zones protocol which allows placing windows in a zone assigned by the compositor which is what for example Lazarus would use for initial startup in windowed mode.

zeljko

  • Hero Member
  • *****
  • Posts: 1959
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Gtk3 widgetset - call for testing
« Reply #32 on: May 12, 2026, 09:44:13 pm »
Yes, probably mismatch in my head, I've read about that experimental stuff maybe one/two years ago (seem about both protocols). In any case, there's no compositor which implements Zones protocol atm (as I can see on Zones page). Is there any useable Zones protocol implemented or it's official page is accurate with 0 compositors support ?

dbannon

  • Hero Member
  • *****
  • Posts: 3826
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Gtk3 widgetset - call for testing
« Reply #33 on: May 14, 2026, 10:03:14 am »
Zones is "officially" an experimental protocol. As I understand it no code to implement it exists in any release (and possibly unreleased) version yet.  So, it needs code in Wayland, then perhaps, code in the compositors, then we need to hit that API.

Or, is it possible we can go straight to Wayland ? Naughty but maybe nice...

Davo
Lazarus 4, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

zeljko

  • Hero Member
  • *****
  • Posts: 1959
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Gtk3 widgetset - call for testing
« Reply #34 on: May 14, 2026, 10:23:59 am »
It is possible to go straight to Wayland of course, directly from lazarus and play with zones if we are under wayland (see recent customdrawn commits from danny milosavljevic).

PascalDragon

  • Hero Member
  • *****
  • Posts: 6398
  • Compiler Developer
Re: Gtk3 widgetset - call for testing
« Reply #35 on: May 14, 2026, 09:30:45 pm »
Is there any useable Zones protocol implemented or it's official page is accurate with 0 compositors support ?

There are some proof-of-concept implementations mentioned in that eternal merge request.

 

TinyPortal © 2005-2018