FLTK logo

STR #3511

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

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:None
Summary:Fl_Html_View will not load local file correctly
Version:1.3.4
Created By:gk
Assigned To:AlbrechtS
Fix Version:Will Not Fix
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 gk
02:57 Feb 09, 2019
I don't know if Fl_Html_View is officially part of the FLTK library, but I thought I'd send this in anyway.

If you load a local file with Fl_Html_View, local images are not loaded. The problem seems to be in Fl_Html_Parser where the value of directory_ is set incorrectly to the same as filename_ if there are no slashes in the string. Making directory_ an empty string for that case solves the problem:

  ......
  if(slash)
    *slash = 0;
  else *directory_ = 0;  // no slash found: no directory name was included
}
 
 
#2 AlbrechtS
06:07 Feb 09, 2019
General support is not available via the STR form. Please post to the FLTK forums and/or mailing lists for general support.

Fl_Html_View is not a part of the FLTK library.

There has been a proposal to add a widget with this name in STR 3240. If this is what you're using, please add your comments to that STR.
https://www.fltk.org/str.php?L3240

Otherwise please ask the author of this widget.

Sorry, according to our CMP I have to close this STR.
 
     

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