Recent

Author Topic: Wayland and Plasma 6  (Read 2836 times)

trapanator

  • New Member
  • *
  • Posts: 12
Wayland and Plasma 6
« on: July 31, 2025, 02:57:30 pm »
Hello, I discovered that the Top and Left property of TForm1 have no effect on wayland.

Is it true? When I launch the compiled executable, it's always at center of screen.

Thaddy

  • Hero Member
  • *****
  • Posts: 18707
  • To Europe: simply sell USA bonds: dollar collapses
Re: Wayland and Plasma 6
« Reply #1 on: July 31, 2025, 03:07:42 pm »
set form.position to poDesigned.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

trapanator

  • New Member
  • *
  • Posts: 12
Re: Wayland and Plasma 6
« Reply #2 on: July 31, 2025, 03:19:30 pm »
Already did that.

trapanator

  • New Member
  • *
  • Posts: 12
Re: Wayland and Plasma 6
« Reply #3 on: July 31, 2025, 03:22:36 pm »
Seems that in Wayland it's not possible (for security reasons?).

See here

https://www.reddit.com/r/linux/comments/16vciex/lets_make_wayland_have_support_for_window/

Thaddy

  • Hero Member
  • *****
  • Posts: 18707
  • To Europe: simply sell USA bonds: dollar collapses
Re: Wayland and Plasma 6
« Reply #4 on: July 31, 2025, 04:07:41 pm »
Not quite. You missed:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264
It is being worked on.

Anyway wayland is still a disaster.

Then again, Qt6 seems to have good Wayland support, so you may want to change your widgetset to Qt6.
« Last Edit: July 31, 2025, 04:11:32 pm by Thaddy »
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Fred vS

  • Hero Member
  • *****
  • Posts: 3735
    • StrumPract is the musicians best friend
Re: Wayland and Plasma 6
« Reply #5 on: July 31, 2025, 06:03:23 pm »
Not quite. You missed:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264
It is being worked on.

Hum, with an average commit of once a month (when all goes well), you will have to be very patient.
https://gitlab.freedesktop.org/wayland/wayland/-/commits/main?ref_type=HEADS
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

PascalDragon

  • Hero Member
  • *****
  • Posts: 6283
  • Compiler Developer
Re: Wayland and Plasma 6
« Reply #6 on: July 31, 2025, 09:14:10 pm »
Hello, I discovered that the Top and Left property of TForm1 have no effect on wayland.

Is it true? When I launch the compiled executable, it's always at center of screen.

Yes, positioning windows is completely up to the compositor.

set form.position to poDesigned.

That won't work if the compositor completely does not care about it (e.g. the Wayland compositor provided by WSL). Other compositors might always center the window no matter the settings (e.g. KDE's Plasma).

Not quite. You missed:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264
It is being worked on.

Hum, with an average commit of once a month (when all goes well), you will have to be very patient.
https://gitlab.freedesktop.org/wayland/wayland/-/commits/main?ref_type=HEADS

Even if they integrate it into the protocols, in the end it will depend on whether a specific compositor will also implement it.

Fred vS

  • Hero Member
  • *****
  • Posts: 3735
    • StrumPract is the musicians best friend
Re: Wayland and Plasma 6
« Reply #7 on: July 31, 2025, 10:13:30 pm »
Even if they integrate it into the protocols, in the end it will depend on whether a specific compositor will also implement it.

Yes, and it's a real pleasure for programmers to target Wayland, as they have to add independent code depending on the compositor used.

By the way, all of Wayland's "real pluses" (security, HDR, etc...) are integrated into XLibre.

I may (surely) be lazy, but I'll pass my turn on the transition and coding of my favorite widgetset to Wayland; a nice energy saver (actually just to satisfy Big Data).
« Last Edit: July 31, 2025, 11:26:10 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

dbannon

  • Hero Member
  • *****
  • Posts: 3647
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Wayland and Plasma 6
« Reply #8 on: August 01, 2025, 02:24:08 pm »
Hum, with an average commit of once a month (when all goes well), you will have to be very patient.
https://gitlab.freedesktop.org/wayland/wayland/-/commits/main?ref_type=HEADS

gee, thats a bit harsh Fred, only one commit in July but 17 in in June.

Hmm, 271 commits in the last month for XLibre, and two releases. Makes you think ....

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

Fred vS

  • Hero Member
  • *****
  • Posts: 3735
    • StrumPract is the musicians best friend
Re: Wayland and Plasma 6
« Reply #9 on: August 01, 2025, 02:31:15 pm »
@Davo:  For an open-source project to attract developers, it has to be a dream project. And, aside from a few slaves chained by Big Data, who would want to devote energy to a project that's been buggy/obsolete/bad-designed from the start?
« Last Edit: August 01, 2025, 02:39:58 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3735
    • StrumPract is the musicians best friend
Re: Wayland and Plasma 6
« Reply #10 on: August 01, 2025, 02:55:29 pm »
Hmm, 271 commits in the last month for XLibre, and two releases. Makes you think ....

Yes, over 400 commits since June 16th.
And the pace isn't slowing down, with 40 commits just yesterday.
And the number of highly skilled developers joining and participating is growing exponentially.
X11 still has a bright future ahead of it, thanks to XLibre...
And as for Wayland, we'll see if money-money will succeed in imposing it.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

bobihot

  • New Member
  • *
  • Posts: 44
Re: Wayland and Plasma 6
« Reply #11 on: October 21, 2025, 01:25:29 pm »
On Debian 13.1 with wayland I can't to run Lazarus and programs made by him, include Double Commander.
Are they have solution?

nixbody

  • New Member
  • *
  • Posts: 15
Re: Wayland and Plasma 6
« Reply #12 on: October 21, 2025, 02:55:48 pm »
You can always switch to X11/X.Org which is still in the official Debian repositories, or you can switch to X11/XLibre project which is under active development and provides third-party Debian repositories.

Fred vS

  • Hero Member
  • *****
  • Posts: 3735
    • StrumPract is the musicians best friend
Re: Wayland and Plasma 6
« Reply #13 on: October 21, 2025, 04:13:03 pm »
or you can switch to X11/XLibre project which is under active development and provides third-party Debian repositories.

 ;D : https://github.com/xlibre-deb/debian
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

dbannon

  • Hero Member
  • *****
  • Posts: 3647
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Wayland and Plasma 6
« Reply #14 on: October 25, 2025, 02:22:39 am »
;D : https://github.com/xlibre-deb/debian

Indeed Fred. I just installed it on Trixie Gnome and it appears to work fine. Still no System Tray unless you do the extension thing but thats a Gnome problem rather than Wayland. And installing xlibre does not make xlibre the default, still need to logout, select user, click the gear symbol and choose "Gnome on XOrg", login again.  But after that, it does work, presumably using XLibre rather than XOrg.

Thats on Debian Trixie, it still supports, out of the box, switching to XOrg. I know Ubuntu (U2510) no longer has that option, have not tested Fedora.  I imagine XLibre are also working on allowing the user to choose. Very interesting ....

I wonder which distro will be the first to jump ?

Davo

PS, I installed XLibre using extrepo, now, thats also a fantastic development ! 
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018