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.

classification
Title: Mac version of IDLE doesn't scroll as expected
Type: behavior Stage:
Components: IDLE, macOS Versions: Python 2.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: alextrob, emmanuelito, gpolo, ronaldoussoren
Priority: normal Keywords:

Created on 2008-05-04 12:26 by alextrob, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
tktext_scroll.py gpolo, 2009-01-02 14:13
Messages (5)
msg66202 - (view) Author: Alex Robinson (alextrob) Date: 2008-05-04 12:26
On a Mac running 10.5.2 in IDLE 1.2.1, the scroll bars don't move as 
expected & track pad/mouse scrolling is not enabled. I believe this is 
also the case on Tiger (10.4)

When using the scroll bar to scroll up through code, the scroll bar 
moves much faster than the mouse pointer. When scrolling down, the mouse 
pointer moves slightly faster.

Unlike Terminal, scrolling using a scroll wheel on a mouse or the two 
fingers on the trackpad doesn't work with IDLE.

I realize these are fairly minor UI issues, but they're still 
frustrating and slow down my workflow.
msg67161 - (view) Author: Viennet (emmanuelito) Date: 2008-05-21 16:41
I confirm this bug. The mouve wheel does not scroll the windows.
msg78786 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-01-02 11:51
This is almost certainly a Tk issue and hence not something we can fix.

I'm not closing the bug though because I no too little of Tk to be sure.
msg78798 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2009-01-02 14:13
I see some issues related to scrolling under macosx were fixed in tk
8.4.13, but I can't test them since I don't have a mac.

If scrolling doesn't work with the example below then I can just say the
problem is indeed with tk, but you could try upgrading it.

import Tkinter

root = Tkinter.Tk()

text = Tkinter.Text()
text.focus_set()
vbar = Tkinter.Scrollbar(orient='vertical', command=text.yview)
text.configure(yscrollcommand=vbar.set)

vbar.pack(side='right', fill='y')
text.pack(fill='both', expand=True)

for l in range(int(text['height']) + 10):
    text.insert('end', "x\n")

root.mainloop()
msg84551 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-03-30 14:32
I'm closing this issue because I'v confirmed that the issue goes away when 
I install a newer version of Tk In /Library/Frameworks.
History
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 47003
2009-03-30 14:32:08ronaldoussorensetstatus: open -> closed
resolution: not a bug
messages: + msg84551
2009-01-02 14:13:10gpolosetfiles: + tktext_scroll.py
nosy: + gpolo
messages: + msg78798
2009-01-02 11:51:34ronaldoussorensetnosy: + ronaldoussoren
messages: + msg78786
2008-05-21 16:41:51emmanuelitosetnosy: + emmanuelito
messages: + msg67161
2008-05-04 12:26:11alextrobcreate