Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Stay the curse.


comp / comp.lang.tcl / Re: tk and wayland?

SubjectAuthor
* tk and wayland?Ralf Fassel
+- Re: tk and wayland?Petro Kazmirchuk
+- Re: tk and wayland?Gerald Lester
+- Re: tk and wayland?Kevin Walzer
`- Re: tk and wayland?undroidwish

1
Subject: tk and wayland?
From: Ralf Fassel
Newsgroups: comp.lang.tcl
Date: Wed, 8 May 2024 07:19 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ralfixx@gmx.de (Ralf Fassel)
Newsgroups: comp.lang.tcl
Subject: tk and wayland?
Date: Wed, 08 May 2024 09:19:10 +0200
Lines: 10
Message-ID: <ygav83osrdd.fsf@akutech.de>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net O1Lub0lH2VC9HSgcv+TYhwFA8kUbwK2b4saI3Z1mzd2Khdotk=
Cancel-Lock: sha1:sCVExdnrUCRlElUrsWcRmOrhvlQ= sha1:7pqwD3CBE0gqgwzXYSLm6wSEugU= sha256:1T61rRvIQ03cySTm3DPZjdM6Tjlj9oMyYiR4l2C17Uc=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
View all headers

While I'm quite content with X11 (especially the X11 forwarding into my
homeoffice :-), many distros nowadays introduce Wayland as #1 for the
display server.

Are there plans to support Wayland natively (not via XWayland) in Tk?

R'

PS. Now that google groups is 'gone', is there a good way to search
comp.lang.tcl articles for keywords?

Subject: Re: tk and wayland?
From: Petro Kazmirchuk
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Wed, 8 May 2024 13:34 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vivid.tree7955@fastmail.com (Petro Kazmirchuk)
Newsgroups: comp.lang.tcl
Subject: Re: tk and wayland?
Date: Wed, 8 May 2024 15:34:27 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <v1fv13$3vs58$1@dont-email.me>
References: <ygav83osrdd.fsf@akutech.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 08 May 2024 15:34:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="47b74e0da43124ea35e6604380fa7fe9";
logging-data="4190376"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yZQKspWBcldhl6t4IGnHW9v3Nm0MT5aY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:O2IBFxw28SLXgo/DXS9WBR3J+Y4=
Content-Language: en-US
In-Reply-To: <ygav83osrdd.fsf@akutech.de>
View all headers

On 08/05/2024 09:19, Ralf Fassel wrote:
> While I'm quite content with X11 (especially the X11 forwarding into my
> homeoffice :-), many distros nowadays introduce Wayland as #1 for the
> display server.
>
> Are there plans to support Wayland natively (not via XWayland) in Tk?
>
> R'
>
> PS. Now that google groups is 'gone', is there a good way to search
> comp.lang.tcl articles for keywords?

On the second question, Rock Solid BBS seems to work fine:
https://www.rocksolidbbs.com/devel/thread.php?group=comp.lang.tcl

Subject: Re: tk and wayland?
From: Gerald Lester
Newsgroups: comp.lang.tcl
Organization: fastusenet - www.fastusenet.org
Date: Wed, 8 May 2024 16:03 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!s1-1.netnews.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: tk and wayland?
Newsgroups: comp.lang.tcl
References: <ygav83osrdd.fsf@akutech.de>
Content-Language: en-US
From: Gerald.Lester@gmail.com (Gerald Lester)
In-Reply-To: <ygav83osrdd.fsf@akutech.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 21
Message-ID: <JnN_N.100141$yf_8.98740@fx14.iad>
X-Complaints-To: abuse@fastusenet.org
NNTP-Posting-Date: Wed, 08 May 2024 16:03:53 UTC
Organization: fastusenet - www.fastusenet.org
Date: Wed, 8 May 2024 11:03:53 -0500
X-Received-Bytes: 1413
X-Original-Bytes: 1362
View all headers

On 5/8/24 02:19, Ralf Fassel wrote:
> While I'm quite content with X11 (especially the X11 forwarding into my
> homeoffice :-), many distros nowadays introduce Wayland as #1 for the
> display server.
>
> Are there plans to support Wayland natively (not via XWayland) in Tk?

The place to look would be at the TIPS
(https://core.tcl-lang.org/tips/doc/trunk/index.md) or Tk Tickets
(https://core.tcl-lang.org/tk/ticket) or in the Tk Branches
(https://core.tcl-lang.org/tk/brlist).

I see no mention of Wayland in any of those, so I would guess at this
time the answer is no.

You could create a TIP requesting it and/or put a Tk Ticket in
requesting it. In either case, providing a sample implementation would
tend to get it more attention.

Subject: Re: tk and wayland?
From: Kevin Walzer
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sat, 11 May 2024 19:47 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kw@codebykevin.com (Kevin Walzer)
Newsgroups: comp.lang.tcl
Subject: Re: tk and wayland?
Date: Sat, 11 May 2024 15:47:26 -0400
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <v1oi0e$275fu$1@dont-email.me>
References: <ygav83osrdd.fsf@akutech.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 11 May 2024 21:47:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="eb95fc8f631d1dafd05f4b8d3b33ad8f";
logging-data="2332158"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190oLGzueH+6YyLYd7sFg6NllDrIDpRrcc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DRiu3YxssTq8i3uRp0UNHAvXQHs=
In-Reply-To: <ygav83osrdd.fsf@akutech.de>
Content-Language: en-US
View all headers

On 5/8/24 3:19 AM, Ralf Fassel wrote:
> Are there plans to support Wayland natively (not via XWayland) in Tk?

I'm not aware of any discussion around this topic. My guess is it would
be a large undertaking, and given that our developer community is small,
that makes it less likely to get started and get done.

I understand Wayland is considered the newest/shiniest next-generation
display server, but with X so entrenched, it seems unlikely that it will
go away. Is there a real reason for a legacy toolkit like Tk to adopt
Wayland support natively? XWayland seems like a clever bridge.

Subject: Re: tk and wayland?
From: undroidwish
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sun, 12 May 2024 18:44 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: undroidwish@googlemail.com (undroidwish)
Newsgroups: comp.lang.tcl
Subject: Re: tk and wayland?
Date: Sun, 12 May 2024 20:44:50 +0200
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <v1r2n3$2snap$1@dont-email.me>
References: <ygav83osrdd.fsf@akutech.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 12 May 2024 20:44:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c9bad44726dc2446fcdf38c9a183400e";
logging-data="3038553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5b0bdD9Y4zRkJzrwVks066eyDuF+NcfE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:lRNxIxolMzo7hAurTSae7iTbzRU=
In-Reply-To: <ygav83osrdd.fsf@akutech.de>
Content-Language: en-US
View all headers

On 5/8/24 09:19, Ralf Fassel wrote:

> Are there plans to support Wayland natively (not via XWayland) in Tk?

Apparently no official plans, however, LUCKily, you could try out
one of the undroidwishes with Wayland support as mentioned in

https://wiki.tcl-lang.org/page/Binary+Distributions
https://wiki.tcl-lang.org/page/LUCK

There are still many rough edges and loose ends, e.g. GNOME on Wayland
insists on CSD (Client Side Decorations) which isn't exactly how the
undroidwish implementation works, but for first experiments it should
do. On the pro side you get anti-aliased rendering e.g. in the canvas
widget and a whole lot of bundled extensions.

Cheers,
Christian

1

rocksolid light 0.9.8
clearnet tor