Opened 6 years ago

Last modified 6 years ago

#7661 new defect

mouse selection wonkiness in Joyride

Reported by: Rmyers Owned by: bernie
Priority: normal Milestone: 8.2.0 (was Update.2)
Component: x window system Version: Development build as of this date
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed: never set
Verified: no


I installed tkinter on a Joyride 2137 machine so that I could run IDLE.

On opening IDLE, a trackpad movement and click doesn't move the insertion point, nor does click and drag select text. Moving the insertion point with the arrow keys and selecting text by shift/moving works. Right click works, bringing up a 'go to' tool tip.

So left click seem to be getting lost. This would seem to be a symptom of some underlying wonkiness. I suspect that this same behavior would occur in other X applications.

This works properly in 708.

Notes to help duplicate my situation:

To install tkinter (needed for IDLE):

yum install tkinter

To run IDLE:

cd /usr/lib/python2.5/idlelib

Change History (6)

comment:1 Changed 6 years ago by Rmyers

I'm beginning to think that this may be in IDLE, not an underlying XO problem.
I open idlelib/ and run it. It has a test stub that opens a Tk editing window. Mouse selection works properly there.

This is part of IDLE and calls the same tkinter and lower stuff that IDLE does. So it seems that the error is in IDLE.

However this works in 708, so what's changed?

comment:2 Changed 6 years ago by Rmyers

Stranger and stranger...

Both the 708 and Joyride machine have IDLE files dater 2007-11-02. However the version number ( on the 708 machine 1s 1.2 and on joyride 1.2.1. The version on my Mac is 1.2.2.

Time to try to load an update 1.2.later, or downgrade 1.2.

Time to resolve diffs.

comment:3 Changed 6 years ago by Rmyers

OK, some new characterization. In 708 the I beam cursor you get when you are in IDLE is quite small but scaled to the small type, while for example in terminal the cursor is larger and matches its type.

In joyride the I beam cursor is still tiny and stays tiny in spite of font size changes, and the cursor in terminal is normal.

So it seems as if _something_ understands the 200dpi scaling of the XO screen, but not _everything_.

Bug persists in 2230.

comment:4 follow-up: Changed 6 years ago by kimquirk

Please add some information about what the user sees. This doesn't look like a blocker for 8.2. Probably should move to 9.1.

comment:5 in reply to: ↑ 4 Changed 6 years ago by Rmyers

Replying to kimquirk:

Please add some information about what the user sees. This doesn't look like a blocker for 8.2. Probably should move to 9.1.

Certainly not a blocker, as this is currently 'off the reservation' usage. I thought I described the user experience reasonably well. --- The expected behavior in a text window is that you can move the I-beam cursor with the mouse (er, trackpad), click to move the selection point, and drag to make a selection. In this case, the I-beam cursor moves, but clicking does not move the selection point, and dragging does nothing. Moving the selection point with the keypad, and extending a selection with shift/keypad does work.

It would be nice for this to be fixed though, as a full functioning IDLE would sure seem to be a great tool for self-developing on the XO.

comment:6 Changed 6 years ago by Rmyers

A couple of other characterizations -- I thought I logged these, but apparently not.

In IDLE, open the file idlelib/, select 'Run/Run Module' to execute IOBinding's test main. This opens a TKinter window. Type, mouse, select, cut and paste in this window. It all works ok. So it seems to be that the problem is somewhere above TKInter. I haven't been able to decipher the IDLE code sufficiently to get farther.

On my Mac, using IDLE to cross develop, the same symptom -- loss of mouse click moving selection point sometimes occurs. So this may, at least in part, be an IDLE bug, not ours.

Note: See TracTickets for help on using tickets.