Tk Source Code

View Ticket
Login
Ticket UUID: 1695507
Title: ::tk::panedwindow::Motion fails
Type: Bug Version: obsolete: 8.4.14
Submitter: tombert Created on: 2007-04-06 10:03:20
Subsystem: 21. [panedwindow] Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2015-07-13 07:53:19
Resolution: Out of Date Closed By: fvogel
    Closed on: 2015-07-13 07:53:19
Description:
::tk::panedwindow::Motion fails when there is no frame inside and mouse is moved. My current workaround solution is to catch the identify and return:

if {[catch {set id [$w identify $x $y]}]} {return}
User Comments: fvogel added on 2015-07-13 07:53:19:
OK thanks, now closed.

tombert added on 2015-07-13 07:30:12:
Thx for support, but 8 years later I can't reproduce any more.
Please close.

Regards

fvogel added on 2015-07-12 18:34:53:
Waiting a few weeks more, then will close.

fvogel added on 2015-05-31 17:10:23:
Can't run the example provided. There are a lot of dependencies, it's way too complicated. Please trim down to a simpler test case (say, a few lines in just Tk, no extension).

tombert added on 2007-04-20 21:09:36:

File Added - 225825: crash7.tar

Logged In: YES 
user_id=696043
Originator: YES

A simple demonstration:
call main.tcl, open the plot menu and while clicking on "remove frame" simultaneously move the mouse - it's not always easy to get the error but I can do it once out of three times ...
The code that is affected: have a look in plotwindow.itk, method removeframe - there a current frame is destroyed and a new one immediately created.
****
Important Note! I cannot reproduce it on MS Windows - only on Suse Linux 10.1 with ActiveState 8.4.14
****

many thx
thomas
File Added: crash7.tar

patthoyts added on 2007-04-17 21:52:45:
Logged In: YES 
user_id=202636
Originator: NO

With 8.5a6: pack [panedwindow .p] -side left -expand 1 -fill both 
moving the mouse around raises no error.

patthoyts added on 2007-04-17 21:50:18:
Logged In: YES 
user_id=202636
Originator: NO

Needs a demonstration test case.

Attachments: