File-open dialog with a text field
Here is a screenshot of a first attempt at adding a text entry of the file name to the file open dialog.
http://troi.titan-aeu.com/~rjamison/inkscape/files/filedialog2.png
The events for selection changed--->text field and text field <return> ---->selection ...have already been connected.
I am sure that we will tweak this a lot during this cycle, but at least this shows that modifications to suit our needs can easily be accomplished.
What I am really anticipating is the use of the same code for all architectures.
Bob
I added the SVG preview that people were requesting. I went ahead and wrapped the Gtk sp_svg_view widget in a Gtk::VBox for the time being. Hopefully we can make some all-Gtkmm widgets soon.
Anyway, here is what it looks like:
http://troi.titan-aeu.com/~rjamison/inkscape/files/filedialog3.png
Just IMHO, I think the thing doesn't look half bad. Still requires tweaking, of course. :-)
Bob
Bob Jamison wrote:
Here is a screenshot of a first attempt at adding a text entry of the file name to the file open dialog.
http://troi.titan-aeu.com/~rjamison/inkscape/files/filedialog2.png
Wow, yeah that looks very cool. Might want to pick a different logo for the screenshot though. ;-)
Bryce
On Mon, 26 Jul 2004, Bob Jamison wrote:
I added the SVG preview that people were requesting. I went ahead and wrapped the Gtk sp_svg_view widget in a Gtk::VBox for the time being. Hopefully we can make some all-Gtkmm widgets soon.
Anyway, here is what it looks like:
http://troi.titan-aeu.com/~rjamison/inkscape/files/filedialog3.png
Just IMHO, I think the thing doesn't look half bad. Still requires tweaking, of course. :-)
Bob
Bob Jamison wrote:
Here is a screenshot of a first attempt at adding a text entry of the file name to the file open dialog.
http://troi.titan-aeu.com/~rjamison/inkscape/files/filedialog2.png
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
This looks really good, but my concern is that there's a huge delay before it comes up, about 5 sec on my linux system which is clearly not acceptable. (Tested yesterday, i.e. without the preview but with the filename field added.) Can we do something about it?
As for the tweaks, please make it modal and coming up centered over its parent editing window, as was the old one. Also remembering the size of the dialog would be nice.
bulia byak wrote:
This looks really good, but my concern is that there's a huge delay before it comes up, about 5 sec on my linux system which is clearly not acceptable. (Tested yesterday, i.e. without the preview but with the filename field added.) Can we do something about it?
Now that it is encapsulated in a Gtkmm widget, it can be reused, so the startup time should only be necessary once. This should be a minor change in file.cpp.
As for the tweaks, please make it modal and coming up centered over its parent editing window, as was the old one. Also remembering the size of the dialog would be nice.
I will look at these tomorrow.
Bob
Another nice thing would be to add tooltips, especially to the bookmark buttons (if we can't hide them). I hope the tooltips exist and only need to be activated.
bulia byak <buliabyak@...400...> writes:
Another nice thing would be to add tooltips, especially to the bookmark buttons (if we can't hide them). I hope the tooltips exist and only need to be activated.
While we are at requesting... would it be possible to filter not only on "Autodetect" and all the single *.ai, *.dia, *.eps, ... *.svg, *.svgz... extensions, but filter for all extensions supported by Inkscape in one go? (I don't understand the meaning or use of "Autodetect" anyway.)
Cheers, Colin
Colin Marquardt wrote:
While we are at requesting... would it be possible to filter not only on "Autodetect" and all the single *.ai, *.dia, *.eps, ... *.svg, *.svgz... extensions, but filter for all extensions supported by Inkscape in one go? (I don't understand the meaning or use of "Autodetect" anyway.)
Cheers, Colin
That's pretty much what it means( I think). Allow any file to be selected, and let the Extension mechanism try to take the proper action upon it.
At least, that's what I think it does.
Bob
Bob Jamison <rjamison@...357...> writes:
Colin Marquardt wrote:
While we are at requesting... would it be possible to filter not only on "Autodetect" and all the single *.ai, *.dia, *.eps, ... *.svg, *.svgz... extensions, but filter for all extensions supported by Inkscape in one go? (I don't understand the meaning or use of "Autodetect" anyway.)
That's pretty much what it means( I think). Allow any file to be selected, and let the Extension mechanism try to take the proper action upon it.
Well, to give an extreme example... say I have a directory with 500 files with obscure extensions in it, and a "y.ai and a "z.svg". I'd want a filter that shows me only these two last files. "Autodetect" just shows me everything - and it doesn't help me a lot to get a message that inkscape failed to open one of the obscure files.
I'd want something that queries the Extension mechanism about what files it thinks it can handle and only shows these - before I actually try to open a file to see what it thinks.
Cheers, Colin
Colin Marquardt wrote:
Bob Jamison <rjamison@...357...> writes:
Colin Marquardt wrote:
While we are at requesting... would it be possible to filter not only on "Autodetect" and all the single *.ai, *.dia, *.eps, ... *.svg, *.svgz... extensions, but filter for all extensions supported by Inkscape in one go? (I don't understand the meaning or use of "Autodetect" anyway.)
That's pretty much what it means( I think). Allow any file to be selected, and let the Extension mechanism try to take the proper action upon it.
Well, to give an extreme example... say I have a directory with 500 files with obscure extensions in it, and a "y.ai and a "z.svg". I'd want a filter that shows me only these two last files. "Autodetect" just shows me everything - and it doesn't help me a lot to get a message that inkscape failed to open one of the obscure files.
I'd want something that queries the Extension mechanism about what files it thinks it can handle and only shows these - before I actually try to open a file to see what it thinks.
Cheers, Colin
I see now. Ok, let me look at it, and see if the FileFilters support that.
Bob
Bob Jamison wrote:
I see now. Ok, let me look at it, and see if the FileFilters support that.
Ok, give it a try. The first time it appeared, it did not filter immediately. I don't know if this is the intended behaviour. If necessary, select "Home" when it first appears.
This appears to be very easy to change, if anyone has any opinions how it should be best.
Bob
Bob Jamison <rjamison@...357...> writes:
Bob Jamison wrote:
I see now. Ok, let me look at it, and see if the FileFilters support that.
Ok, give it a try. The first time it appeared, it did not filter immediately. I don't know if this is the intended behaviour. If necessary, select "Home" when it first appears.
This appears to be very easy to change, if anyone has any opinions how it should be best.
Oh, cool. I cannot try yet since I need to wait for anoncvs to catch up. Will report back tomorrow.
Thanks, Colin
Bob Jamison <rjamison@...357...> writes:
Bob Jamison wrote:
I see now. Ok, let me look at it, and see if the FileFilters support that.
Ok, give it a try. The first time it appeared, it did not filter immediately. I don't know if this is the intended behaviour. If necessary, select "Home" when it first appears.
Cool, that works, thanks. It also filtered immediately for me.
This appears to be very easy to change, if anyone has any opinions how it should be best.
I wonder if we should still have a "Show all" filter, equivalent to "*". There might be control freaks in the user base :)
Also, it showed me a "aaa.txt" file but failed to load it. Not sure what was supposed to happen - hide it, or import it somehow?
Thanks again, Colin
Colin Marquardt wrote:
Also, it showed me a "aaa.txt" file but failed to load it. Not sure what was supposed to happen - hide it, or import it somehow?
I don't know. '.txt' is definitely listed as one of the Extensions from Inkscape::Extension::DB, but I have no idea what it does. Its purpose might have been forgotten. :-)
If the extensions guys are around, I would suggest a simple text-to-svg conversion.
Bob
On Wed, 28 Jul 2004, Bob Jamison wrote:
Colin Marquardt wrote:
Also, it showed me a "aaa.txt" file but failed to load it. Not sure what was supposed to happen - hide it, or import it somehow?
I don't know. '.txt' is definitely listed as one of the Extensions from Inkscape::Extension::DB, but I have no idea what it does. Its purpose might have been forgotten. :-)
If the extensions guys are around, I would suggest a simple text-to-svg conversion.
txt2svg should provide a basic text-to-svg conversion, and should be invoked when loading .txt files. This is an extremely simple minded converter script, mostly intended as a proof of concept. It probably doesn't support things like unicode. Patches to it are quite welcome.
Bryce
On Wed, 2004-07-28 at 16:29, Bryce Harrington wrote:
On Wed, 28 Jul 2004, Bob Jamison wrote:
Colin Marquardt wrote:
Also, it showed me a "aaa.txt" file but failed to load it. Not sure what was supposed to happen - hide it, or import it somehow?
I don't know. '.txt' is definitely listed as one of the Extensions from Inkscape::Extension::DB, but I have no idea what it does. Its purpose might have been forgotten. :-)
If the extensions guys are around, I would suggest a simple text-to-svg conversion.
txt2svg should provide a basic text-to-svg conversion, and should be invoked when loading .txt files. This is an extremely simple minded converter script, mostly intended as a proof of concept. It probably doesn't support things like unicode. Patches to it are quite welcome.
I think that probably the reason that it isn't working is that you're missing a required Perl module. Unfortunately we don't have dependency checking to make sure you have all the required Perl modules.
--Ted
participants (5)
-
Bob Jamison
-
Bryce Harrington
-
bulia byak
-
Colin Marquardt
-
Ted Gould