To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66983
                 Issue #|66983
                 Summary|string status update resets a toolboxes (previously se
                        |nt) check state
               Component|framework
                 Version|680m173
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|fs





------- Additional comments from [EMAIL PROTECTED] Tue Jul  4 00:25:11 -0700 
2006 -------
If you have an UI feature where your dispatcher sends multiple status updates
(XStatusListener::statusChanged), where the first update describes the check
state (i.e. FeatureStateEvent::State contains a boolean), and the second update
describes the item text (i.e. State contains a string), then the second
stateChanged resets the check state of the toolbox item to "unchecked".

Suggested patch is going to be attached.

FS->CD: To verify this, you need to either construct such a scenario yourself
:), or use dbaccess/source/ui/browser/genericcontroller.cxx, in a revision from
CWS qiq (or a milestone where this CWS is integrated). There's a local function
lcl_collectStates, in which you can exchange the string and the checked state
initialization. Then, the "Add Table or Query" toolbox button in the query
designer shows the errornouseb behaviour.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to