]> git.donarmstrong.com Git - xournal.git/blob - src/TODO
Image patch
[xournal.git] / src / TODO
1 List of features to be implemented (not in any particular order)
2 ----------------------------------------------------------------
3
4 - collaborative editing (see discussion with Erik Demaine)
5 - porting to MacOS; merge Nokia port
6 - multiple-scenario undo history
7
8 - collaborative: allow non-x86 endianness (for ints, for floats?)
9 - collaborative: have an initial undo item = contents of the initial
10   xoj file + attachments for bitmap, pdf, and ps backgrounds
11
12 - cleanup of undo history (keep track of refcounts, delete old undo)
13   save-and-clear-undo ?
14
15 - RandR / recalibration awareness? - NOT NEEDED ANYMORE?
16   (e.g. if xinput events are far away from core events, re-query geometry?)
17    or see if removing the GTK bugfix would help? -- e.g. by recalling an
18    internal gtk init function?
19   Also allow for SIGUSR1 to recalibrate (so rotate scripts could pkill
20   xournal). (cf #2944459). Recalibration probably requires talking directly 
21   to X server to query input device geometry and compensate for GTK.
22
23 TODO WITH IMAGE PATCH:
24 TODO: paste and selresize don't put rectangle at top
25 TODO: select click in image selects it
26 TODO: option for image mode to revert to previous tool
27 TODO: direct paste text
28
29 BUGS:
30 - lingering issues with synaptics touchpads? (#2872667)
31  (todo) - set device to Absolute mode at startup? (GDK doesn't expose API,
32           cf XSetDeviceMode() in /usr/include/X11/extensions/XInput.h)
33 - color picker into canvas doesn't work in GTK+ 2.16 (should disable
34    xinput first?)
35 - export to PDF should see cropbox size if smaller, and map the
36    cropbox -- not the entire page -- to the page area! (2009-11-18 forum)
37
38 BEHAVIOR TODO:
39 - option to have "Save Prefs" save current brushes as settings, not defaults
40 - method to map more general devices to specific tools or to Ignore
41   (e.g.: X220T ignore trackpoint; map touchscreen to Hand, eraser to Eraser)
42
43 WIN32:
44 - test further
45 - write an installer
46 - bug: opening files with accents in name?
47 - bug: cairo-scaled-font in printing? (2009-11-18 bug tracker)
48 - bug: printf() sometimes generates stroke coordinates 1.#J -1.#J  (???)
49      (filter out inf, -inf, nan, very large values when saving ???)
50
51 PATCHES TO INCORPORATE:
52
53 - ezyang e-mail of 11/28/2011: patches in Ubuntu to fix PDF showing up?
54 http://archive.ubuntu.com/ubuntu/pool/universe/x/xournal/xournal_0.4.5-3.debian.tar.gz
55 actually not necessary anymore? (ezyang 12/2/2011)
56
57 - tauu e-mail of 12/1/2011: 8 small patches for win32, uploaded on tracker
58 https://sourceforge.net/tracker/index.php?func=detail&aid=3447356&group_id=163434&atid=827735
59
60 - patch: add Alt-Up/Dn accelerators for show/hide layer. See
61   show_hide_layer.patch
62
63 * my own patch noresize_background_v1.patch  (also in xournal-working/)
64
65 ** patch: ortho/snap (revised Apr 13 2009)
66    xournal_ortho_snap_patch_4 (by Josef Pavlicek)
67
68 ** patch (Ian-Woo Kim): multicolumn mode + LASSO SELECTION
69    xournal_lasso_multipage_zoom_button_20090620.patch
70
71 ** autosave patch (Edward Yang) (should fix: optional only, w/ menu + cfgfile
72    entries; fix: should clean up autosave.xoj.bg* files too; config interval)
73    0001-Implement-autosave-for-documents-revised.patch (2 seconds after
74    modification, vs original 5 seconds)
75    *** NEW VERSION: #2881919 (autosave for 0.4.5, w/ some changes)
76    NB: last modif should be triggered by prepare_new_undo() and undo/redo?
77    *** NEW VERSION: with threading, by Man, e-mail 12/10/2009 10:51pm
78
79 ** insert images patch (Victor Saase) #2890925
80 ** as improved by Simon Guest April 14 2010
81 ** modified rev2 May 14, 2010: xournal-0.4.5-sjg-image-rev2.patch.gz 
82 ** rev6 by now...
83
84 ** customize paper ruling (Gautam Iyer e-mail Nov 30 2009 / SF tracker)
85
86 ** cairo export to PNG (Man = Paulo Neves, e-mail Feb 3 '10, saved as
87   cairo-png-rendering.diff.txt (refactor printing of page to cairo surface
88   with the gtk-print code).
89
90 - patch by S. Guest
91   shortcut to increase/decrease text font size by 1 point (?) - acts just
92   as if one had clicked font sel box and resized (affects sel text + cur font)
93
94 - make line spacing in text objects customizable: to a fixed scaling factor,
95   a fixed number of units, or the paper ruling (esp. the latter!!)
96
97 - page size dialog box should have a check button to keep background size
98   the same (so rescaling creates margin around bitmap or PDF background).
99   This will need an extension to the file format, to allow a page background
100   to have a different size from the page itself.
101
102 - option to map device named "touch" to hand tool? (like "Eraser tip")
103
104
105 - roadmap towards SVG support: see 1/25/2010 Mark Edgington email & reply
106   (1) export to SVG (using pages and groups for pages and layers; 
107   use comment tags to make export nonlossy;
108   (2) import from this subset of SVG;
109   (3) add SVG to the file-open and save formats
110
111 - roadmap towards PDF encapsulation: see 1/29/2010 forum posts
112   When exporting to PDF, don't just append our annotations as PDF code but
113   also include the .xoj file within the pdf, and ensure the initial pdf is
114   well-delimited from the rest. When opening a PDF that includes such
115   markings, discard the annotation part of the PDF and open the embedded xoj
116   instead. Later, offer such PDF as a file-open and save format (even when
117   there's no PDF background being annotated!!).
118
119 *** should have Open, Save, Save As manipulate at least 3 formats:
120   - XOJ
121   - PDF with embedded xoj file in an object (opens with annot. in PDF viewer,
122     with background only + separate xoj in xournal)
123   - SVG (subset only)
124   additionally, should have "print to": printer, PDF, SVG, bitmap.
125
126 - allow djvu and other backgrounds (but then can't export to PDF)
127
128 - PDF bg memory usage throttling / delete oldest pdf backgrounds
129 - replace ttsubset by something more modern? (eg. from cairo ?)
130 - auto-hide patch from ~/prog/src/xournal-autohide/ ?
131      (check for cpu usage; handle BOTH edges
132       and only (un)hide stuff at the correct edge!)
133 ** UI update (Bob McElrath) -- eliminating status bar, compact layout,
134    "compact interface" by default; themes, with line in config file
135    to load pixmaps from pixmaps/$THEME/ (see Jan 9, 2009 emails)
136 - horizontal mode instead of dual-view / multicolumn ?
137 ** "new page before/after" on a PDF bg page should ask: same page, other page of
138   PDF file, default paper
139 ** should also have in Journal -> Paper style the option "Pdf page ..."
140   which then lets us change the page number.
141 - new recognizer icon (andruk on patches tracker)
142 - recognizer: if variable-width, associate average width
143 - recognizer should snap to existing recognized geometric shapes
144 - patch to find text in PDF (dmg = Daniel German, Nov 13 2009)
145
146 - search through text (xoj and PDF background) (with highlight? forwd/backwd)
147   (see evince). Also: ability to select rectangle on PDF bg and copy-paste
148   as bitmap or as text.
149
150 - improve recognizer: two passes for polygons (low tolerance, then higher)
151   to better detect elongated rectangles? (if low tolerance recognizer
152   doesn't get a rectangle, then use higher tolerance for everything else,
153   since otherwise there's too much risk of splitting a segment into 2)
154 - snap-to-grid (also for ruler & recognizer vertices)
155   and maybe also snap-to-vertices (option for ruler and recognizer)?
156 - config option: config save current tool options instead of default ones
157
158 - bug in truetype subset generation w/ Adobe 9, see if gtk-print any better?
159
160 - drag-and-drop, copy-paste text & images directly into xournal
161 - proximity detection: eraser proximity switches mapping? 
162   proximity out removes cursor until next motionnotify?
163
164 - render page to bitmap: for export, preview, and copy-paste
165     (render using libart, see how gnomecanvas does it?)
166     NO: render using Cairo !!!
167     (copy-paste: config option to render only current layer or all below?)
168 - cut-and-paste of selection into other apps (as bitmap; as SVG?)
169
170 - navigation sidebar with bitmap page previews
171 - bitmap preview for document icon in desktop environments?
172 - "organizer" side panel (hierarchy of notes), cf. gjots
173 - maintain e-library: table of md5sums of pdfs with associations
174   to the corresponding xoj's absolute paths (cf. forum topic
175   "Use MD5..." of Dec 2009)
176
177 - see iRex code for generic viewer + PDF plugin including caching,
178   throttling etc. (Marcel Hendrickx email of Sep 11 '09) 
179
180 - allow toolbar to go vertical
181 - toolbar buttons should react to button 2/3 click to modify settings
182   for that tool!!
183
184 - paste text directly into xournal, from xournal?
185     (instead of starting a text item and pasting into/from it)
186 - insert links (to URLs; within document/to other xoj? hand mode navigates)
187 - a command + keyboard shortcut to switch mappings (1<->2, 1<->3, 2<->3)
188      (A. Rechnitzer Sept 11, 2007)
189 - modify encoding of TrueType font subsets or provide cmap so pdf text
190   can be extracted
191
192 - smoothing of strokes (for users without tablets / with deficient drivers)
193 - lasso tool
194 - add config option to limit total memory usage for PDF bitmaps
195 - ability to select entire page for copy-paste (as bitmap / reorder xournal)
196 - copy/paste of an entire page (beware if PDF bg is not compatible!)
197
198 - convert to/from Jarnal format; to/from MS Journal format???
199 - export as SVG, as bitmap (use Cairo for this)
200 - improved PDF viewer features (search text, hyperlink, page borders...)
201    (using full poppler api ?)
202 - search text: among PDF background (using poppler); among text annotations
203
204 - use system paper size as default (/etc/papersize)
205 - sticky notes (anchor visually text box to a bg location)
206 - use relative paths for bg documents (e.g. annotated PDF)
207 - flush display queue when drawing over a slow X server?
208 - more paper customization (in particular, 1/2 inch graph paper)
209     (2 custom papers with settings in config file? 
210      a folder with blank PDF or xoj papers and quick-access?)
211     (also: engineering paper; isometric paper -- Dan Ott  Sep 4 '09)
212 - option to map a button to a context menu (incl. tool selection, ...)
213 - option to map a button to "undo"
214 - xournal_page-shadow.diff (Martin Kiefel Feb 5 2007)
215 - xoj2pdf on command line
216 - 'insert blank page after' command (more useful in PDF annot !)
217 - load images as bg if given on command-line (as with PDF on commandline)
218 - lasso selection tool (see shoffsta patch)
219      (http://shoffsta.afraid.org/Projects/Xournal/)
220 - flatten (incl undo/redo...) - enabled only if nlayers>1
221 - color chooser (papercolor, pen color); have default colors and a history
222   appear as palette in there!
223 - printing: print-options, save printer settings (throughout a session,
224    and on disk) (maybe a separate config file .xournal/gnome-print-settings)
225 - help index
226 - option for highlighter to be always at bottom of its layer
227 - more pen/highlighter shapes (chisel)
228 - slanted tip pens (calligraphy)
229 - toolbar buttons to access custom preset tools (e.g. text or pen with settings)
230 - text boxes with opaque background
231 - recalibration upon screen resize / compensation for miscalibration
232     (use ConfigureNotify event and XInput? cf "Bugs" tracker 08/2007)
233 - find a better behavior for vertical space tool across page boundaries ?
234    config options? 1) when there's not enough space at bottom of page:
235                        - resize the page
236                        - move stuff to next page
237                        - move stuff to a new page
238                    2) when moving to another page:
239                        - move everything
240                        - move only what doesn't fit (??? looks hard)
241    option for vert space tool to also move the background??
242    (PDF: cut-and-crop by running PDF code twice with 2 different clipboxes?)
243 - option to save all annotated files within the .xoj
244 - non-antialiased version for handhelds
245 - customize autogenerated save file names 
246 - layer dialog box to set visibility status of each layer regardless of
247   which layer is being edited
248 - option to link layer creation and visibility status for all pages
249   (Eric Borghs 04/15/08)
250 - display corruption on scroll down when bottom of window is obscured??
251   (probably a gnomecanvas or X bug -- expose event generated for wrong
252   region, or not processed?)
253 - autosave at a regular interval in a given location
254 - keep only a few pages of a PDF file in memory at any given time; generate
255   pages by parsing pdf info rather than generating bitmaps for all of them.
256 - win32 port (Matteo Abrate)
257 - snap-to-grid tool? (Matteo Abrate)
258 - EPOS 7/24/07: Thumbnails pane
259 - EPOS: Connect to EPOS api which sends A4 mapped points
260 - EPOS: Cut and Paste into OpenOffice applications and the GIMP (as bitmap??)
261 - EPOS: Export pages to pictures in the Jpg and Png formats.
262 - EPOS: Rotate Ink in custom angle.
263 - handwriting recognition???? (cellwriter?) unlikely. we don't have grids
264   see galileon comment on 2008-07-29 to tracker #1925309: word recognizer
265 - handwritten stroke search in document (see cellwriter?)
266   (correlate inertia-normalized strokes in lift to unit cotangent bundle?)
267 - option: export to PDF with incremental pages for successive layers
268     (for presentations) (Daniel Brugarth 8/18/07)
269 - Samuel Hoffstaetter: lasso, gettext localization, sidebar thumbnails, ...
270 - YoYo Siska patch for desktop mode ??
271 - Vivek Ayer: rotate paper wrt screen (for environments where display
272   rotation doesn't work): gnome_canvas_item_affine_relative(canvas->root, ...)
273   would rotate all but text items (still need to modify scroll bbox, and
274   adjust event coordinates by inverse rotation).
275 - rotate PDF background pages (individually wrt each other, see #2099935)
276 - switch to libglade, and allow customization of key shortcuts (accels)
277
278 - command to copy a selected shape to a keybinding that will paste it
279   (so one can define symbols to insert into typed notes)  (e.g. "be able
280   to bind Ctrl-B to draw a \beta" for class notes). (shape, binding) sets are
281   local to one session (different for different classes; but save them into
282   the xoj file maybe ?) [Felix Giannelia 09/29/2009]