FLTK logo

STR #908

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 #908

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Subsystem:Core Library
Summary:Problem with window inside tab on OSX (caused by SVN commit #4386)
Version:1.1-current
Created By:geuzaine.acm.caltech
Assigned To:matt
Fix Version:1.1-current (SVN: v4416)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 geuzaine.acm.caltech
21:57 Jun 10, 2005
The clipping fixes for OSX introduced in SVN revision #4386 cause a weird bug when a tab contains a window: the window appears briefly, but then disappears.

Here is a small example that demonstrates the problem:

#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Tabs.H>

int main(int argc, char **argv)
{
  Fl_Double_Window* w = new Fl_Double_Window(320, 220);
  Fl_Tabs* t = new Fl_Tabs(10, 10, 300, 200);
  Fl_Group* g = new Fl_Group(10, 30, 300, 180, "tab");
  Fl_Window *ww = new Fl_Window(60,50,240,40);
  ww->color(FL_RED);
  ww->end();
  g->end();
  t->end();
  w->show(argc, argv);
  return Fl::run();
}

With all previous versions of FLTK, one could see the red window "ww". With SVN revisions >= #4386 on OSX, the red window is not visible.

Reverting the changes made in src/fl_rect.cxx in SVN revision #4386 fixes the problem.
 
 
#2 matt
13:34 Jul 11, 2005
Yes, I seem to be hitting the same problem. Hope I'll find the time very soon!  
 
#3 matt
06:44 Jul 14, 2005
Fixed in Subversion repository.

Previous simplification did not cover all cases. Reverted to previous code.
 
     

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