Hi a little contribution to your code in case someone wants to make a huge statically compiled version of the program :) g++ -O2 test.cpp-static -o test /usr/local/lib/libfltk.a /usr/local/lib/libX11.a /usr/local/lib/libxcb.a /usr/local/lib/libXft.a /usr/local/lib/libfontconfig.a /lib/libdl.a /usr/local/lib/libXfixes.a /usr/local/lib/libXrender.a /usr/local/lib/libXcursor.a /usr/local/lib/libXinerama.a /usr/local/lib/libXext.a /usr/local/lib/libXau.a /usr/local/lib/libXdmcp.a /usr/local/lib/libfreetype.a /usr/local/lib/libexpat.a /usr/local/lib/libXrender.a /usr/local/lib/libX11.a /usr/local/lib/libXfixes.a /usr/local/lib/libpng.a /lib/libz.a /usr/local/lib/libharfbuzz.a /lib/libbz2.a /lib/libpthread.a 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