Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000030 [tweak] minor always 06-27-04 19:25 07-08-04 02:53
Reporter tedka View Status public  
Assigned To andreas
Priority normal Resolution open Platform
Status confirmed   OS
Projection none   OS Version
ETA none Product Build
Summary 0000030: position: can't accept Floats in the Point
Description When the point argument to CPlayer>>open:in:at: is has Floats in it, the object changes extent many times before settling down to a small size.

open: aPlayer in: aContainer at: aPoint

   aPlayer costume position: (parent globalToLocal: aPoint).

position: is not expecting Floats. Perhaps it should have a truncate: in it.

Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0000024 - 147 - 183 - 183 - 183 - 183 - 183)
06-28-04 23:59

Do you have an example? If I try something like:

bb := CButton new.
bb label: 'Hello'.
bb openAt: 100.5@100.5.

everything seems to be fine.
(0000026 - 908 - 1214 - 1214 - 1214 - 1214 - 1214)
07-06-04 23:12

Andreas & Michael,

OK, here is code to reproduce the "wiggling window" bug!

In a standard TCAR Tweak that has Updates, file in the method below. The change in this code is to supply a float as a position in the open method.
Get a CheckBox from the Wigets menu.
Click it's debug handle (gets an inspector).
    The green debug window will open, and then shrink up vertically four times.
    If you erase the decimal part of X and Y and accept the method, the window will not shrink during opening!
    The fix of making the target of a window return the window's geometry as its own, has no effect on this bug.
        Yes, there are those suspicious calls on (self hand) and (self defaultContainer)... but really, they should not cause any problem.

!CPlayer methodsFor: 'opening' stamp: 'tk 7/6/2004 13:27'!

    self hand.
    ^ self open: self defaultContainer at: 196.4@94.4
! !

- Issue History
Date Modified Username Field Change
06-27-04 19:25 tedka New Issue
06-28-04 23:59 andreas Note Added: 0000024
06-28-04 23:59 andreas Status new => feedback
07-06-04 23:12 tedka Note Added: 0000026
07-06-04 23:12 tedka Issue Monitored: tedka
07-08-04 02:53 andreas Assigned To  => andreas
07-08-04 02:53 andreas Status feedback => confirmed

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed.
31 unique queries executed.
Powered by Mantis Bugtracker