FLTK logo

STR #850

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

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:FLUID
Summary:Fluid: Bad initial size of widgets
Version:1.1-current
Created By:Portale
Assigned To:mike
Fix Version:1.1-current (SVN: v4358)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 Portale
05:40 May 12, 2005
bad_initial_size_position.png
4k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 Portale
05:40 May 12, 2005
Some widgets have a bad initial size and position, after adding them via "New->..". I saw that with the browser widgets and text editor/display.
See screenshot.
 
 
#2 mike
10:31 May 12, 2005
What revision/snapshot are you using?

I can't reproduce this with the current code...
 
 
#3 Portale
12:30 May 12, 2005
It is the fresh 1.1 code from SVN rev 4342.

Now, I tested it on OSX and it doesn't happen, there. It only happens on my Windows XP Home, Visual Studio .NET. I was to quick  when I chose "All platforms".

I will try to debug it later, today.
 
 
#4 Portale
16:16 May 12, 2005
The problem seems to be in "cb(Fl_Widget *, void *v)" of "factory.cxx". There, "ideal_size()" is called and the references of the uninitialized integers "w" and "h" are passed. But "ideal_size()" expects them to be initialized, and works with the incoming values.

Initializing them solved my problem.
 
 
#5 mike
06:23 May 19, 2005
+1 on initializing w and h to 0 (right?)  
 
#6 Portale
07:24 May 19, 2005
0 is OK. It will search for an ideal position afterwards and does a good job.  
 
#7 mike
08:58 May 19, 2005
Fixed in Subversion repository.  
     

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