Itcl - the [incr Tcl] extension

View Ticket
Login
Ticket Hash: 5775d7979aba9a76c9e60babac7eb48f41e7aa54
Title: IWidget dateentry Calender appears off screen
Status: Closed Type: Code_Defect
Severity: Cosmetic Priority: Immediate
Subsystem: Resolution: Rejected
Last Modified: 2013-11-09 15:30:32
Version Found In: 4.0.2
Description:
In file: C:\Tcl\lib\teapot\package\tcl\lib\Iwidgets4.0.2\scripts\dateentry.itk (this is the install path of the File)

In Method itcl::body iwidgets::Dateentry::_popup

Right around the following comment

# The icon button will be used as the basis for the position of the # popup on the screen. We'll always attempt to locate the popup # off the lower right corner of the button. If that would put # the popup off the screen, then we'll put above the upper left.

This chunk of code calculates the position to place the popup calender that is associated to the widget. the logic accounts for the widget going off the screen to the right, by placing above the upper left. If does not check to see if upper left would put the popup off the screen. I am running into that exact scenario. I am using the widget on a laptop with a small screen and low resolution (sad I know :( ) and the application is maximized. This results in no room to the right or top, and I end up with the months being cut off on the calender popup. The widget should check and make sure there is room to place to popup above the upper left and if there is no room place it bottom right (or something like that)


wiede added on 2012-03-25 08:51:53 UTC:
IWidget is not part of itcl 4.0 so I think the bug is not in the right bug tracker here

User Comments:
wiede added on 2013-11-09 15:30:32:
IWidgets is not part of itcl 4.0, So wrong version of itcl for the bug.