FLTK logo

STR #1286

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 1.1 | SVN ⇄ GIT ]

STR #1286

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Can't set focus on child widget in Fl_Tabs
Version:1.1.7
Created By:mhack
Assigned To:matt
Fix Version:1.1-current (SVN: v5163)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 mhack
06:25 May 23, 2006
test_focus.cxx
2k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 mhack
06:25 May 23, 2006
In a window that uses Fl_Tabs, it is not possible to set the focus to a child widget such as Fl_Input. This appears to be a direct result of the patch in STR#870, where FL_FOCUS and FL_UNFOCUS events are not passed to Fl_Group in Fl_Tabs::handle().

This patch was done to fix a bug reported by Greg Ercolano. However, not only does the patch introduce the new bug reported here, but it does not even appear to fix his bug, as the focus is still lost from tab3 after resizing in fltk-1.1.7/test/tabs! I also verified that the new bug still occurs in the latest version, fltk-1.1.x-r5132.

Attached is a program (created by Greg Ercolano) which demonstrates the new bug.
 
 
#2 matt
02:39 May 30, 2006
Fixed in Subversion repository.

fl_xfocus was not set correctly
 
     

Return to Bugs & Features ]

 
 

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'.