Re: Tklib's tooltip poss bug in method although fine in a function

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Tklib's tooltip poss bug in method although fine in a function
De : undroidwish (at) *nospam* googlemail.com (undroidwish)
Groupes : comp.lang.tcl
Date : 13. Jul 2024, 23:32:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6uval$3pem5$1@dont-email.me>
References : 1 2
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
On 7/13/24 18:21, greg wrote:
Am 13.07.24 um 12:50 schrieb Mark Summerfield:
In the script below, clicking button two works fine, but even hovering
over button One produces an error (shown at the end).
...
self may only be called from inside a method
...
"uplevel 2 { self }"
     (procedure "PackageNamespaceGet" line 17)
     invoked from within
"PackageNamespaceGet"
     (procedure "::msgcat::mc" line 2)
...
With tcl 8.6 with the helpers proc callback engine there is no error message.
The error occurs in 9.0.
As far as I understand, the handling has become more restrictive under 9.0.
...
My humble interpretation is that the problem lies in msgcat::mc fundamentally. Wrong assumptions over call context. Independent of
Tcl versions 8 or 9. But I might be mislead still. It is worth a
ticket anyways.
BR,
Christian

Date Sujet#  Auteur
13 Jul 24 * Tklib's tooltip poss bug in method although fine in a function14Mark Summerfield
13 Jul 24 `* Re: Tklib's tooltip poss bug in method although fine in a function13greg
13 Jul 24  `* Re: Tklib's tooltip poss bug in method although fine in a function12undroidwish
13 Jul 24   +- Re: Tklib's tooltip poss bug in method although fine in a function1undroidwish
14 Jul 24   `* Re: Tklib's tooltip poss bug in method although fine in a function10Harald Oehlmann
14 Jul 24    +* Re: Tklib's tooltip poss bug in method although fine in a function4greg
14 Jul 24    i`* Re: Tklib's tooltip poss bug in method although fine in a function3Harald Oehlmann
15 Jul 24    i `* Re: Tklib's tooltip poss bug in method although fine in a function2undroidwish
15 Jul 24    i  `- Re: Tklib's tooltip poss bug in method although fine in a function1Harald Oehlmann
15 Jul 24    `* Re: Tklib's tooltip poss bug in method although fine in a function5Mark Summerfield
15 Jul 24     `* Re: Tklib's tooltip poss bug in method although fine in a function4Mark Summerfield
15 Jul 24      `* Re: Tklib's tooltip poss bug in method although fine in a function3Harald Oehlmann
15 Jul 24       `* Re: Tklib's tooltip poss bug in method although fine in a function2Mark Summerfield
15 Jul 24        `- Re: Tklib's tooltip poss bug in method although fine in a function1Harald Oehlmann

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal