Hi i'm actually glad you were able to reproduce it - i've got so much custom source on this machine i was afraid it was me :) thanks for your work on this - and thanks for this fltk program On Tue, 2 Jul 2024 20:55:10 +0200 Rodrigo Arias <rodarima@gmail.com> wrote:
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()); } _______________________________________________ Dillo-dev mailing list -- dillo-dev@mailman3.com To unsubscribe send an email to dillo-dev-leave@mailman3.com