| [ 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: | |
Trouble Report Files:
Trouble Report Comments:
|
#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 ]
|
| |