Hi, On Mon, Jul 01, 2024 at 03:31:40PM -0600, pastebin@gmx.com wrote:
Hi
i got it to reproduce
dillo any url
right click mouse -> 'save page as' in the Filename: text box it shows /html/ highlighted in blue
/html is my default save dir from dillorc save_dir=/html
the i just type r (or any key) and it now shows /tmp/r hitting any key now just dups the /tmp/r on an on
if the blue highlight is erased by clicking mouse in text box then it is normal
it is the highlighting that is the problem
Thanks!, I can reproduce it now. This is a FLTK bug, here is a small program that reproduces. I will report it to the FLTK project. /* Build with: g++ test.cpp -o test -lfltk */ #include <cstdlib> #include <unistd.h> #include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Button.H> #include <FL/Fl_File_Chooser.H> void cb_file_select(Fl_Widget *o, void *v) { char msg[256]; char *newfile = fl_file_chooser("Choose a file", NULL, NULL); if (newfile != NULL) { sprintf(msg, "You choose %s", newfile); fl_message(msg); } } int main (int argc, char ** argv) { chdir("/tmp"); Fl_Window *window = new Fl_Window(300, 300, 200, 200, "Foo"); Fl_Button *button = new Fl_Button(60, 40, 80, 40, "Select file"); button->callback(cb_file_select); window->end(); window->show(argc, argv); return(Fl::run()); }