This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vtudorache
Recipients vtudorache
Date 2018-08-10.18:28:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533925708.53.0.56676864532.issue34370@psf.upfronthosting.co.za>
In-reply-to
Content
The bug needs forwarding to the Tcl/Tk community. This is the script written in Tcl (run with tclsh8.6 script.tcl for Tcl 8.6 and tclsh8.5 script.tcl for 8.5):

package require Tk

scrollbar .vbar -width 10
text .edit

pack .vbar -side right -fill y
pack .edit -side left -fill both -expand 1

.vbar configure -command {.edit yview}
.edit configure -yscrollcommand {.vbar set}

bind .vbar {<Button-1> } {
	set cx %x
	set cy %y
	set dz [.vbar identify $cx $cy]
	puts "You clicked at ($cx,$cy) on $dz.\n"
}

for {set i 1} {$i <= 256} {incr i} {
	.edit insert "$i.0" "This is the line number $i.\n"
}

I will post two videos made on my MacBook, showing an expected behavior with Tk 8.5 and the scroll problems with Tk 8.6 on macOS.
History
Date User Action Args
2018-08-10 18:28:28vtudorachesetrecipients: + vtudorache
2018-08-10 18:28:28vtudorachesetmessageid: <1533925708.53.0.56676864532.issue34370@psf.upfronthosting.co.za>
2018-08-10 18:28:28vtudorachelinkissue34370 messages
2018-08-10 18:28:28vtudorachecreate