FLTK logo

STR #2116

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #2116

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:adding non-RADIO widgets to group "breaks" setonly()
Version:2.0-current
Created By:sedwards
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files


Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
 
#1 sedwards
15:23 Dec 28, 2008
Adding widgets that are not type RADIO to a group containing RadioButtons causes the setonly() function to break early, causing incorrect behavior (RadioButtons remain on when another RadioButton is selected).

Expected behavior is achieved by changing conditional in the for loops from:

if( RADIO != c->type() ) break;
    c->clear();

to:

if( RADIO == c->type() )
    c->clear();
 
     

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.