Skip Menu |

This queue is for tickets about the Tcl-pTk CPAN distribution.

Report information
The Basics
Id: 129831
Status: resolved
Priority: 0/
Queue: Tcl-pTk

People
Owner: Nobody in particular
Requestors: raysakamoto2019 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Issue with 8.6.9 and scrollbar invisible, Mac
Date: Sun, 16 Jun 2019 00:45:39 +0200
To: bug-Tcl-pTk [...] rt.cpan.org
From: ray sakamoto <raysakamoto2019 [...] gmail.com>
Scrollbars slider becomes to small/invisible if text widget size is reduced or if the text is quite long. my $scrollbar= $ParentFrame->Scrollbar(); $WidgetTextView = $ParentFrame->Text( -yscrollcommand => ['set' => $scrollbar], ); $scrollbar->pack(-side => 'right', -fill => 'y'); $WidgetTextView->pack(-side=>'right', -expand => 1,-fill => 'both'); $scrollbar>configure(-command => ['yview' => $WidgetTextView]); Or even the simple: $WidgetTextView= $ParentFrame->Scrolled('Text')->pack; Note that both (above) work fine with 8.5! However, the pure Tcl/Tk version seems to work fine also on 8.6.9: $int->Eval(<<'EOS'); text .t -yscrollcommand {.s set} scrollbar .s -command {.t yview} grid .t .s -sticky nsew EOS
Subject: Re: [rt.cpan.org #129831] AutoReply: Issue with 8.6.9 and scrollbar invisible, Mac
Date: Sun, 16 Jun 2019 01:01:49 +0200
To: bug-Tcl-pTk [...] rt.cpan.org
From: ray sakamoto <raysakamoto2019 [...] gmail.com>
Please note that in my first example, the slider is visible BUT is not usable (it is as if the mouse pointer would not control it, i.e. it can control it only in a very specific and small area of the slider. In the second example, the slider decreases in size. The third, pure Tcl/Tk, it works just fine. Am So., 16. Juni 2019 um 00:46 Uhr schrieb Bugs in Tcl-pTk via RT < bug-Tcl-pTk@rt.cpan.org>: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Issue with 8.6.9 and scrollbar invisible, Mac", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #129831]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=129831 > > Please include the string: > > [rt.cpan.org #129831] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > bug-Tcl-pTk@rt.cpan.org > > ------------------------------------------------------------------------- > Scrollbars slider becomes to small/invisible if text widget size is reduced > or if the text is quite long. > > my $scrollbar= $ParentFrame->Scrollbar(); > $WidgetTextView = $ParentFrame->Text( > -yscrollcommand => ['set' => $scrollbar], > ); > $scrollbar->pack(-side => 'right', -fill => 'y'); > $WidgetTextView->pack(-side=>'right', -expand => 1,-fill => 'both'); > $scrollbar>configure(-command => ['yview' => $WidgetTextView]); > > Or even the simple: > > $WidgetTextView= $ParentFrame->Scrolled('Text')->pack; > > Note that both (above) work fine with 8.5! > > However, the pure Tcl/Tk version seems to work fine also on 8.6.9: > > $int->Eval(<<'EOS'); > text .t -yscrollcommand {.s set} > scrollbar .s -command {.t yview} > grid .t .s -sticky nsew > EOS >
Subject: Re: [rt.cpan.org #129831] AutoReply: Issue with 8.6.9 and scrollbar invisible, Mac
Date: Sun, 16 Jun 2019 01:38:00 +0200
To: bug-Tcl-pTk [...] rt.cpan.org
From: ray sakamoto <raysakamoto2019 [...] gmail.com>
I could reproduce the issue even with pure Tcl/Tk so I posted also a ticket on the Tcl/Tk page. Am So., 16. Juni 2019 um 01:01 Uhr schrieb ray sakamoto < raysakamoto2019@gmail.com>: Show quoted text
> Please note that in my first example, the slider is visible BUT is not > usable (it is as if the mouse pointer would not control it, i.e. it can > control it only in a very specific and small area of the slider. In the > second example, the slider decreases in size. The third, pure Tcl/Tk, it > works just fine. > > Am So., 16. Juni 2019 um 00:46 Uhr schrieb Bugs in Tcl-pTk via RT < > bug-Tcl-pTk@rt.cpan.org>: >
>> >> Greetings, >> >> This message has been automatically generated in response to the >> creation of a trouble ticket regarding: >> "Issue with 8.6.9 and scrollbar invisible, Mac", >> a summary of which appears below. >> >> There is no need to reply to this message right now. Your ticket has been >> assigned an ID of [rt.cpan.org #129831]. Your ticket is accessible >> on the web at: >> >> https://rt.cpan.org/Ticket/Display.html?id=129831 >> >> Please include the string: >> >> [rt.cpan.org #129831] >> >> in the subject line of all future correspondence about this issue. To do >> so, >> you may reply to this message. >> >> Thank you, >> bug-Tcl-pTk@rt.cpan.org >> >> ------------------------------------------------------------------------- >> Scrollbars slider becomes to small/invisible if text widget size is >> reduced >> or if the text is quite long. >> >> my $scrollbar= $ParentFrame->Scrollbar(); >> $WidgetTextView = $ParentFrame->Text( >> -yscrollcommand => ['set' => $scrollbar], >> ); >> $scrollbar->pack(-side => 'right', -fill => 'y'); >> $WidgetTextView->pack(-side=>'right', -expand => 1,-fill => 'both'); >> $scrollbar>configure(-command => ['yview' => $WidgetTextView]); >> >> Or even the simple: >> >> $WidgetTextView= $ParentFrame->Scrolled('Text')->pack; >> >> Note that both (above) work fine with 8.5! >> >> However, the pure Tcl/Tk version seems to work fine also on 8.6.9: >> >> $int->Eval(<<'EOS'); >> text .t -yscrollcommand {.s set} >> scrollbar .s -command {.t yview} >> grid .t .s -sticky nsew >> EOS >>
>
Subject: Re: [rt.cpan.org #129831] AutoReply: Issue with 8.6.9 and scrollbar invisible, Mac
Date: Sun, 16 Jun 2019 17:55:55 +0200
To: bug-Tcl-pTk [...] rt.cpan.org
From: ray sakamoto <raysakamoto2019 [...] gmail.com>
I can confirm it is an upstream bug and not a Tcl::pTk issue. Using ttkScrollbar instead of Scrollbar makes the slider smaller (in the situation described in my post), but at least does not deceive the user with a bigger slider that does not work. Am So., 16. Juni 2019 um 01:38 Uhr schrieb ray sakamoto < raysakamoto2019@gmail.com>: Show quoted text
> I could reproduce the issue even with pure Tcl/Tk so I posted also a > ticket on the Tcl/Tk page. > > Am So., 16. Juni 2019 um 01:01 Uhr schrieb ray sakamoto < > raysakamoto2019@gmail.com>: >
>> Please note that in my first example, the slider is visible BUT is not >> usable (it is as if the mouse pointer would not control it, i.e. it can >> control it only in a very specific and small area of the slider. In the >> second example, the slider decreases in size. The third, pure Tcl/Tk, it >> works just fine. >> >> Am So., 16. Juni 2019 um 00:46 Uhr schrieb Bugs in Tcl-pTk via RT < >> bug-Tcl-pTk@rt.cpan.org>: >>
>>> >>> Greetings, >>> >>> This message has been automatically generated in response to the >>> creation of a trouble ticket regarding: >>> "Issue with 8.6.9 and scrollbar invisible, Mac", >>> a summary of which appears below. >>> >>> There is no need to reply to this message right now. Your ticket has >>> been >>> assigned an ID of [rt.cpan.org #129831]. Your ticket is accessible >>> on the web at: >>> >>> https://rt.cpan.org/Ticket/Display.html?id=129831 >>> >>> Please include the string: >>> >>> [rt.cpan.org #129831] >>> >>> in the subject line of all future correspondence about this issue. To do >>> so, >>> you may reply to this message. >>> >>> Thank you, >>> bug-Tcl-pTk@rt.cpan.org >>> >>> ------------------------------------------------------------------------- >>> Scrollbars slider becomes to small/invisible if text widget size is >>> reduced >>> or if the text is quite long. >>> >>> my $scrollbar= $ParentFrame->Scrollbar(); >>> $WidgetTextView = $ParentFrame->Text( >>> -yscrollcommand => ['set' => $scrollbar], >>> ); >>> $scrollbar->pack(-side => 'right', -fill => 'y'); >>> $WidgetTextView->pack(-side=>'right', -expand => 1,-fill => 'both'); >>> $scrollbar>configure(-command => ['yview' => $WidgetTextView]); >>> >>> Or even the simple: >>> >>> $WidgetTextView= $ParentFrame->Scrolled('Text')->pack; >>> >>> Note that both (above) work fine with 8.5! >>> >>> However, the pure Tcl/Tk version seems to work fine also on 8.6.9: >>> >>> $int->Eval(<<'EOS'); >>> text .t -yscrollcommand {.s set} >>> scrollbar .s -command {.t yview} >>> grid .t .s -sticky nsew >>> EOS >>>
>>
I want to note here that on the upstream ticket, one of the Tk Aqua developers not only suggests using new Ttk scrollbar (to appeaer in 8.6.10) as a workaround, but also avoiding the non-Ttk scrollbar entirely on Aqua. Another developer thinks there is still use cases where the non-Ttk scrollbar is acceptable. Both are currently considering leaving the non-Ttk scrollbar as "broken" though, due to the difficulty in properly fixing it as well as keeping a consistent appearance on older macOS versions. I would hope that the issues/limitations and suggested workarounds can be better documented in 8.6.10.
Appears to have been addressed by Tcl/Tk 8.6.10. Upstream ticket: https://core.tcl-lang.org/tk/info/8476b75781