Tk Library Source Code

View Ticket
Login
Ticket UUID: 891254
Title: utils.tcl, place proc: does not place left or top
Type: Bug Version: None
Submitter: rmaris Created on: 2004-02-05 19:15:07
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-05-19 21:32:22
Resolution: Fixed Closed By: rmaris
    Closed on: 2004-05-19 12:36:48
Description:
BWidget V1.7 has very minor changes in the place proc 
of utils.tcl (compared to V1.6).
child windows will not display on top or to the left side of 
the parent window. Probably coordinates run out of a 
valid range.

When I substitute the old place procedure within the 
new utils.tcl, all works well.

NOTE: the Activestate 8.4.5 distribution contails 
BWidget V1.7, but the subdirectory under "lib" is still 
named "bwidget1.6".
User Comments: damonc added on 2004-02-11 03:30:21:
Logged In: YES 
user_id=50387

Oh.  I see now.  I think I already fixed this from another
bug that was reported.  I will commit my changes tonight and
see if that fixes your problem.

rmaris added on 2004-02-10 19:25:39:

File Added - 76266: utils.tcl

damonc added on 2004-02-07 00:55:20:
Logged In: YES 
user_id=50387

I'm not sure what result I'm looking for.  I tested it
against the last version of BWidgets, and it seems to work
as advertised.

If I put the window against the left side of the screen and
ask for a left placement, it goes to the right.  Vice versa
on the other side.

The same goes for above and below.  What are you expecting
to see that you're not seeing?  Can you tell me where to put
my window or modify the test code to place the window
exactly where you're seeing the problem?

rmaris added on 2004-02-06 17:46:33:

File Added - 75892: test.tcl

Logged In: YES 
user_id=968757

Here is the sample code.
Note that automatic placement "above" when there is not 
sufficient space for placement "below" does not work, too.

damonc added on 2004-02-06 05:40:36:
Logged In: YES 
user_id=50387

Can you provide a piece of sample code along with what you
expect the result to be?  I'm not exactly sure what I'm
looking for here.

hobbs added on 2004-02-06 02:47:06:
Logged In: YES 
user_id=72656

The ActiveTcl version issue was recently corrected.  The
other problem I'm referring to Damon.

Attachments: