Hi everybody!

I have been using JabRef since several years, but I am new to developing
JabRef.

I have started to work on improving the save/export order.

Currently, JR provides the following options for the save order:

ordered by author/editor/year
current table sort order
original order
ordered by title

Previous to 2.8, the "current table sort order" was named "Default table
sort order" and allowed a user to change the sort order in the saved
file. When you clicked the column header, this did resort the entries in
the table, but it did not change the order in that the entries were
saved. As a drawback, the current sort order was not conserved between
sessions.

Since 2.8, the "Default table sort order" has been changed to reflect
the *current* sort order, i.e. the sort order defined e.g. by clicking
on the column header. This has the advantage that the current sort order
is conserved between sessions, but it has the disadvantage that it is
not possible to specify an arbitrary sort order for saving anymore that
is independent of the current sort order of the table. If you want to
keep a file in a well-defined sort order, you would always have to
change the current table sort order before saving the file.
Note, that the term "Default sort criteria" (in
Options->Preferences->File) is a misnomer, as it is simply the current
sort order, and not a "Default" anymore.

This problem has been reported here:
  https://sourceforge.net/p/jabref/bugs/887/

I have started to create a patch that allows a user to explicitly
specify a sort order for saving and for export. This new option will
obsolete the "ordered by author/editor/year" and "ordered by title"
options, and will give users freedom of choice. What I have done so far
can be found here:

  https://sourceforge.net/u/olenz/jabref/ci/master/tree/

I have two open issues on how to go on:

1. The "File" tab of the preferences dialog is already pretty crowded,
and I do not see how to integrate the UI elements required to specify
the sort order (compare to the "Entry table" tab). Does anyone have a
neat idea how to do that?

2. I would like to replace the preferences "saveInStandardOrder" and
"saveInTitleOrder" with "saveInSpecifiedOrder" and the corresponding
"save{Pri,Sec,Ter}Sort" preferences. How to do that? For backwards
compatibility, it is necessary to still understand the old preferences.
Is there a mechanism for that?

Olaf

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Jabref-devel mailing list
Jabref-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jabref-devel

Reply via email to