Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Be cheerful while you are alive. -- Phathotep, 24th Century B.C.


comp / comp.lang.tcl / Re: Can Tk 9.0 handle touch events of a touch display?

SubjectAuthor
* Can Tk 9.0 handle touch events of a touch display?Robert Csok
`* Re: Can Tk 9.0 handle touch events of a touch display?Harald Oehlmann
 `* Re: Can Tk 9.0 handle touch events of a touch display?undroidwish
  `- Re: Can Tk 9.0 handle touch events of a touch display?undroidwish

1
Subject: Can Tk 9.0 handle touch events of a touch display?
From: Robert Csok
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sat, 21 Dec 2024 12:57 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: robert.csok@gmx.de (Robert Csok)
Newsgroups: comp.lang.tcl
Subject: Can Tk 9.0 handle touch events of a touch display?
Date: Sat, 21 Dec 2024 13:57:54 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vk6e0i$1eqd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Dec 2024 13:57:54 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dbac6266465dc93d8854bbe7b4dfeca3";
logging-data="47949"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fwTgECgowrAQTIgWGycNB"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IXabK7L1BH6UCZCxHl5h/nSlrCQ=
Content-Language: de-DE, en-US
View all headers

Hello everyone,

While reading through the “Highlights of Tk 9.0” I noticed the point
“Platform Features and Conventions: many improvements, including
two-finger gesture support where available”. I was initially pleased
because I thought that Tcl 9 could react to touch events of a touch
display. This function would make it easier to operate our cadastre
application on devices with a touch-capable display (“Pinch To Zoom” etc.).

However, I had to realize that this message probably refers more to the
possibility of scrolling with two fingers on a touchpad (new event type
“TouchpadScroll”). I also came across TIP 570, which describes the
desired feature:

https://core.tcl-lang.org/tips/doc/trunk/tip/570.md

The proposal has been in a draft state since 2020.

Can anyone give a hint on a possibility, trick or workaround to react to
touch events of a touch display in a Tk application under Linux?

Best regards

Robert

Subject: Re: Can Tk 9.0 handle touch events of a touch display?
From: Harald Oehlmann
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sat, 21 Dec 2024 16:45 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Can Tk 9.0 handle touch events of a touch display?
Date: Sat, 21 Dec 2024 17:45:39 +0100
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <vk6rbg$4imb$1@dont-email.me>
References: <vk6e0i$1eqd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Dec 2024 17:45:37 +0100 (CET)
Injection-Info: dont-email.me; posting-host="5ebe977d4dc8df635547f923bce6d25c";
logging-data="150219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Pwr396gM0Wx3CtYVj4po/"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:njifjywEKhE4DuxokADbje/QtmI=
In-Reply-To: <vk6e0i$1eqd$1@dont-email.me>
Content-Language: en-GB
View all headers

Robert,

I have authored the TIP in 2020 and the described knowledge there has
not changed.
As it is clear that this in an important feature, there was never any
movement here.
Eventually, undrowish by Christian Werner has some support on Linux.

On Windows, we only have the button press emulation, that's all.

And the branch by Peter Sputh did not get any love since 2022.
Aparently, Peters work also has some Mac aspects.

Any initiative appreciated - we need that !

Take care,
Harald

Am 21.12.2024 um 13:57 schrieb Robert Csok:
> Hello everyone,
>
> While reading through the “Highlights of Tk 9.0” I noticed the point
> “Platform Features and Conventions: many improvements, including two-
> finger gesture support where available”. I was initially pleased because
> I thought that Tcl 9 could react to touch events of a touch display.
> This function would make it easier to operate our cadastre application
> on devices with a touch-capable display (“Pinch To Zoom” etc.).
>
> However, I had to realize that this message probably refers more to the
> possibility of scrolling with two fingers on a touchpad (new event type
> “TouchpadScroll”). I also came across TIP 570, which describes the
> desired feature:
>
> https://core.tcl-lang.org/tips/doc/trunk/tip/570.md
>
> The proposal has been in a draft state since 2020.
>
> Can anyone give a hint on a possibility, trick or workaround to react to
> touch events of a touch display in a Tk application under Linux?
>
> Best regards
>
> Robert

Subject: Re: Can Tk 9.0 handle touch events of a touch display?
From: undroidwish
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sat, 21 Dec 2024 21:29 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: undroidwish@googlemail.com (undroidwish)
Newsgroups: comp.lang.tcl
Subject: Re: Can Tk 9.0 handle touch events of a touch display?
Date: Sat, 21 Dec 2024 22:29:40 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <vk7c05$7qgd$1@dont-email.me>
References: <vk6e0i$1eqd$1@dont-email.me> <vk6rbg$4imb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 21 Dec 2024 22:29:41 +0100 (CET)
Injection-Info: dont-email.me; posting-host="06973559dc090a5643369034b45765b9";
logging-data="256525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/81L5nug/8kTZh4FRrx/H8rTPmXQa1OXM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:mR9KS4DyfMsv+CgROmgXAWO8QSE=
Content-Language: en-US
In-Reply-To: <vk6rbg$4imb$1@dont-email.me>
View all headers

On 12/21/24 17:45, Harald Oehlmann wrote:

> And the branch by Peter Sputh did not get any love since 2022.
Indeed is it part of vanillawish for Win32 since this check in

https://www.androwish.org/home/info/35d71c4ec8

Thus, it can be played with, tested, weight, and found to be
too light or too heavy.

Due to sheer LUCK, a current vanillawish isn't that far away
for one's fingertips and mouse clicks. Read more in

https://wiki.tcl-lang.org/page/LUCK

Cheers,
Christian

Subject: Re: Can Tk 9.0 handle touch events of a touch display?
From: undroidwish
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sat, 21 Dec 2024 21:35 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: undroidwish@googlemail.com (undroidwish)
Newsgroups: comp.lang.tcl
Subject: Re: Can Tk 9.0 handle touch events of a touch display?
Date: Sat, 21 Dec 2024 22:35:34 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <vk7cb7$7snk$1@dont-email.me>
References: <vk6e0i$1eqd$1@dont-email.me> <vk6rbg$4imb$1@dont-email.me>
<vk7c05$7qgd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Dec 2024 22:35:36 +0100 (CET)
Injection-Info: dont-email.me; posting-host="06973559dc090a5643369034b45765b9";
logging-data="258804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MmbqlKEgwnXcWBtUI6+omHeG1qNbNTk0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:dpcAlAnUG3rOx3/8CBCe9u+ct10=
In-Reply-To: <vk7c05$7qgd$1@dont-email.me>
Content-Language: en-US
View all headers

On 12/21/24 22:29, undroidwish wrote:

> Due to sheer LUCK, a current vanillawish isn't that far away
> for one's fingertips and mouse clicks. Read more in
>
>   https://wiki.tcl-lang.org/page/LUCK

Aah, reading the OP thorougly I should have seen Linux. My bad.
Then play with undroidwish which should have touch support by
SDL2's design. And is part of LUCK, too.

Cheers,
Christian

1

rocksolid light 0.9.8
clearnet tor