ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> incrtcl-develop
incrtcl-develop
[Incrtcl-develop] [ incrtcl-Iwidgets Bugs-1405162 ] Extbutton::state does not check previous state
by SourceForge.net other posts by this author
Jan 13 2006 11:57AM messages near this date
[Incrtcl-develop] [ incrtcl-Iwidgets Bugs-1408996 ] Use of -sticky doesn't work | [Incrtcl-develop] [ incrtcl-Bugs-1403583 ] configure fails with latest bash
Iwidgets Bugs item #1405162, was opened at 2006-01-13 19:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=383687&aid=1405162&group_id=13244

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: DayDayUp (daydayup)
Assigned to: Nobody/Anonymous (nobody)
Summary: Extbutton::state does not check previous state 

Initial Comment:
I looked up the file extbutton.itk in my ActiveTcl 
package. 

In iwidgets::Extbutton::state function 
implementation, if state is set to 'disabled', it 
will save the current configurations of foreground 
and cursor to _oldValues(-fg) and _oldValues(-
cursor); if state is set to 'normal', it will set the 
foreground and cursor back by reading the _oldValues.

It works fine as long as the extbutton change the 
state between 'disabled' and 'normal' back and force.
But if you set the state to 'disabled' consecutively, 
for example, twice, the values stored in _oldValues 
will be replaced by the disabled configuration. When 
you set the state to 'normal' after that, you will 
not get the correct 'normal' settings.

The fix might be comparing the button's current state 
with the state it tries to set. If they are the same, 
we can break out of this function.


Regards,
Chengyi


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=383687&aid=1405162&group_id=13244


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Incrtcl-develop mailing list
Incrtcl-develop@[...].net
https://lists.sourceforge.net/lists/listinfo/incrtcl-develop

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved