FLTK logo

STR #3445

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

STR #3445

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:FLUID
Summary:Duplicating of Widget Class causes Fluid to crash
Version:1.3.4
Created By:Nikego
Assigned To:matt
Fix Version:1.4.0
Fix Commit:2b6347d0bd279ab2e45dfedc9390fd8c886b6a00
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 Nikego
10:34 Dec 20, 2017
widget_class.fl
0k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 Nikego
10:34 Dec 20, 2017
Fluid crashes when I'm trying to duplicate (Ctrl-U) Widget Class with some widget inside.

The crash occurs in line 105 of file Fl_Widget_Type.cxx

> if ((force_parent || !p->is_group()) && p->parent->is_widget())

here p->parent is NULL, so-

Windows 7 x64, VC2015
 
 
#2 matt
12:34 Feb 01, 2019
Fixed in Git repository.

Fluid was falsly assuming that a Window type widget always has a parent (a function, or similar). Widget_Class can be at the first level, needing no parent.
 
     

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