URL:
  <http://savannah.gnu.org/bugs/?42230>

                 Summary: Calling setState: on a button from the action method
of another button doesn't work...
                 Project: GNUstep
            Submitted by: gcasa
            Submitted on: Mon 28 Apr 2014 07:19:54 PM EDT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Use case: A gui with two buttons.   One button has an action method which
calls setState: on the other button with the value NSOnState.

Procedure:
1) Run the application attached.
2) click the button 

RESULT: None of the radio buttons in the matrix are highlighted.
EXPECTED: The second button from the top should be highlighted.

Procedure 2:
1) Load in the debugger
2) set a break point in buttonhit: method.
3) run the application attached in the debugger
4) hit the button, it should stop at the breakpoint
5) continue in the debugger console.

RESULT: The radio button which should have been highlighted in the previous
case is now highlighted.
EXPECTED: This is what was expected, except it should have happened in the
first case without the debugger breakpoint.

Does this issue indicate a race condition of some sort?  Given that GUI is
single threaded I'm not sure what's going on here.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 28 Apr 2014 07:19:54 PM EDT  Name: ButtonTest.tgz  Size: 6kB   By:
gcasa

<http://savannah.gnu.org/bugs/download.php?file_id=31269>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42230>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to