default metadata : implementation of feature req. #1095357

Bug #169954 reported by Felipe "Juca" Sanches
10
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
Kidproto

Bug Description

This patch implements a "default metadata" preferences tab where the user
can setup the default metadata values that are applied to newly created
documents.

This works fine, but I haven't figured out a way of updating the status of
the license radiobuttons on the "DocumentMetadata" Dialog. Since I am not
much experienced on inkscape code, I suppose that some of the more
experienced coders in the community could easily help me on this detail and
then commit the code.

Revision history for this message
Felipe "Juca" Sanches (felipe-sanches) wrote :
Revision history for this message
Kidproto (kidproto) wrote :

Originator: NO

Cool, renamaed the title and queueing to look at.

Revision history for this message
Kidproto (kidproto) wrote :

Originator: NO

Heya, this patch doesn't work against current SVN for me. Can you test it
again and then I'll apply...sorry, I have been busy...this looks cool
though!!!

I was getting an error on redeclare of PrefEntry...maybe just some
bitrot...

Revision history for this message
Felipe "Juca" Sanches (felipe-sanches) wrote :

Originator: YES

that's because somebody also needed a prefentry and has coded it, so, when
you applied my patch, the file got two implementations of it.

I have readapted the code and made a new diff against current svn. It is
working, but it still has that little ui bug: I still couldn't find out how
to change the radiobutton status on the licenses tab.

File Added: default-metadata.diff

Revision history for this message
Ryan Lerch (ryanlerch) wrote :

This item is actually the patch thread for the feature request outlined in Bug #170528 (sf1095357) which is marked as a duplicate of this one.
Does anyone know the status of this patch? I can't seem to find the default metadata implementation in the current development version.

Changed in inkscape:
importance: Medium → Wishlist
status: New → In Progress
Revision history for this message
Felipe "Juca" Sanches (felipe-sanches) wrote :

It wasnt committed to svn yet.

Since when I implemented this, I have been waiting for somebody to help me to fix a little UI bug on this patch. (the license radiobuttons are not properly updated)

Besides that, it seems to be functional.

Revision history for this message
Bryce Harrington (bryce) wrote :

I've committed the patch, thanks! It required some updating to make it apply to the current codebase, but nothing serious.

I wasn't sure what the issue was with the radio buttons. Please file a new bug about that with a detailed description, and someone can assist in investigating it further.

Changed in inkscape:
status: In Progress → Fix Released
Revision history for this message
bbyak (buliabyak) wrote :

Can someone please explain to me why we need 2 new pages in prefs for
default metadata and license?

What's wrong with just changing the metadata and license in an empty
document and saving it as a template?

Saving as a template is not obvious? OK, just make it more obvious.
Add a "save template" command for example.

This solution is bad because it unnecessarily duplicates some very
heavy pieces of UI, clutters the preferences, and generally makes the
program look clunkier and less clean. It also utterly confuses the
concepts of document preferences and program preferences, which should
be kept as separate as possible.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.