| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #571
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | MacOS |
Summary: | Subwindow of a subwindow (Mac OS X) |
Version: | 1.1.5rc3 |
Created By: | geuzaine.acm.caltech |
Assigned To: | mike |
Fix Version: | 1.1-current (SVN: v4485) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | geuzaine.acm.caltech 00:21 Oct 17, 2004 |
| On Mac OS X, if a window "subsubwin" is a child of another window "subwin", itself child of a third window "win", there seems to be a bug with the computation of the origins of "subsubwin".
On Windows and Linux everything works just fine.
Here is a simple example:
#include <FL/Fl.H> #include <FL/Fl_Window.H>
int main(int argc, char **argv) { Fl_Window *win = new Fl_Window(400,400); Fl_Window *subwin = new Fl_Window(110,10,280,380); subwin->color(FL_RED); Fl_Window *subsubwin = new Fl_Window(50, 50, 200, 200); subsubwin->color(FL_GREEN); subsubwin->end(); subwin->end(); win->end(); win->show(argc, argv); return Fl::run(); }
| |
|
#2 | mike 07:40 Oct 18, 2004 |
| Assigning to Matthias; I do know that we simulate subwindows on MacOS since it doesn't support the notion of subwindows at all... :(
Matthias: can you look at this and see if it is an easy thing to fix? Thanks! | |
|
#3 | matt 14:20 Mar 09, 2005 |
|
| |
|
#4 | matt 02:28 Jun 01, 2005 |
| This is extremely painful to fix. Would it be acceptable to mention this flaw in the OS documentation and move on? I don't beleive that too many users will hit this limitation. | |
|
#5 | geuzaine.acm.caltech 13:30 Jun 01, 2005 |
| +1 for mentioning the problem in the documentation.
(I worked around the bug in my code by using subgroups instead of subwindows.) | |
|
#6 | mike 20:03 Aug 07, 2005 |
| Fixed in Subversion repository.
Added a note to the documentation... | |
[ Return to Bugs & Features ]
|
| |