]> git.donarmstrong.com Git - xournal.git/blob - src/TODO
xinput bugfixes, autoload pdf.xoj option, papercolor chooser
[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 Win32 and 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?
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
20 DONE: fix GTK+ 2.16/2.17 XInput issues with scrollbars and menus
21 DONE: fix bug 2826845 (shape recognizer accel doesn't work in fullscreen mode)
22 DONE: bug affecting resize zone in statusbar
23 DONE: page spinbutton wide enough for 3 digits; avoid "deprecated" warning
24 DONE: edit->paste command should refresh toolbar to unselect color/thickness
25       (so can repaint sel)
26 DONE: cursor doesn't reset properly after selection operation if primary
27       tool is select mode (stays with arrow cursor instead of pointer)
28 DONE: device with "eraser" at the end of its name is of type ERASER
29       (Edward Yang)
30 DONE: fix_xinput_coords() replaces buggy xinput events by core pointer 
31       coordinates
32 DONE: use poppler to render PDF backgrounds (after patches contributed
33       by Mike Ter Louw and Bob McElrath)
34 DONE: gettext internationalization (contributed by David Planella)
35 DONE: Catalan translation (by David Planella); French translation
36 DONE: fix unresponsiveness to button events in text edition box (GTK+ 2.17)
37       and segfaults when dragging text or using Layers combobox (GTK+ 2.17)
38 DONE: Esc leaves text box if editing; and leaves fullscreen mode
39 DONE: package our own copy of the ttsubset library (to remove a dependency
40       on libgnomeprint), and create TT subfonts in memory
41 DONE: use gtk-print instead of libgnomeprint
42 DONE: remove deprecated "antialias bg" option
43 DONE: fix fix_xinput_coords so it works ok without ENABLE_XINPUT_BUGFIX ?
44 DONE: disable ctrl-left/right accelerators during text edition
45 DONE: custom color chooser button (after a patch contributed by Alex Ray)
46 DONE: remember last used directory (after a patch contributed by Lu Zhihe)
47 DONE: discard Alt-click and Control-click events
48 DONE: option to have buttons *toggle* the tool rather than act as tool
49        (ie button 2 causes button 1 to map to tool 2) [Dylan Thurston]
50 DONE: patch to fix focus + allow up/dn in single page mode (Bob McElrath)
51 DONE: patch to fix underscores in MRU filename display (Bob McElrath)
52 DONE: patch to avoid tiny file dialogs (Bob McElrath)
53 DONE: further fixes for focus; can Esc out of page selection box
54 DONE: further fixes for xinput under GTK+ 2.17
55 DONE: option to auto-load *.pdf.xoj instead of *.pdf (Bob McElrath)
56 DONE: look for PDF backgrounds in path of xoj file before prompting user
57 DONE: paper color chooser (after a patch by ojb)
58
59 ** patch: ortho/snap (revised Apr 13 2009)
60    xournal_ortho_snap_patch_4 (by Josef Pavlicek)
61
62 ** patch (Ian-Woo Kim): multicolumn mode + LASSO SELECTION
63    xournal_lasso_multipage_zoom_button_20090620.patch
64
65 ** autosave patch (Edward Yang) (fix: optional only, w/ menu + cfgfile
66    entries; fix: should clean up autosave.xoj.bg* files too; config interval)
67    0001-Implement-autosave-for-documents-revised.patch (2 seconds after
68    modification, vs original 5 seconds)
69
70 - prerelease: update help file (remove references to pdftoppm/libgnomeprint
71   & update to poppler/gtkprint)
72 - REMOVE BINARY INSTALLER (poppler breaks ABI all the time)
73    but add a configure script (+ Makefile.in, etc ?)
74 - document config options into manual file?
75 - PDF bg memory usage throttling / delete oldest pdf backgrounds
76 - replace ttsubset by something more modern? (eg. from cairo ?)
77 - auto-hide patch from ~/prog/src/xournal-autohide/ ?
78      (check for cpu usage; handle BOTH edges
79       and only (un)hide stuff at the correct edge!)
80 ** UI update (Bob McElrath) -- eliminating status bar, compact layout,
81    "compact interface" by default; themes, with line in config file
82    to load pixmaps from pixmaps/$THEME/ (see Jan 9, 2009 emails)
83 - horizontal mode instead of dual-view / multicolumn ?
84 ** FIXME: get_pressure_multiplier() should access correct members
85    of event struct, like xinput_coords()
86 ** FIX RECOGNIZER BUG: for single-segment strokes (e.g. single click),
87    I_xx and I_yy = 0, sometimes -0 -> Rad = nan (should I_xx = abs(...) ?)
88    also Det = division by 0, should return 0 if ixx + iyy = 0.
89    (MAYBE: fix inertia calc: integrate dm over each segment rather than  dm.pt[i])
90 ** "new page before/after" on a PDF bg page should ask: same page, other page of
91   PDF file, default paper
92 - new recognizer icon (andruk on patches tracker)
93 - recognizer: if variable-width, associate average width
94 - recognizer should snap to existing recognized geometric shapes
95
96 - improve recognizer: two passes for polygons (low tolerance, then higher)
97   to better detect elongated rectangles? (if low tolerance recognizer
98   doesn't get a rectangle, then use higher tolerance for everything else,
99   since otherwise there's too much risk of splitting a segment into 2)
100 - snap-to-grid (also for ruler & recognizer vertices)
101   and maybe also snap-to-vertices (option for ruler and recognizer)?
102 - config option: config save current tool options instead of default ones
103
104 - bug in truetype subset generation w/ Adobe 9, see if gtk-print any better?
105
106 - drag-and-drop, copy-paste text & images directly into xournal
107 - proximity detection: eraser proximity switches mapping? 
108   proximity out removes cursor until next motionnotify?
109
110 - render page to bitmap: for export, preview, and copy-paste
111     (render using libart, see how gnomecanvas does it?)
112     NO: render using Cairo !!! then can switch to GtkPrint as well.
113     (copy-paste: config option to render only current layer or all below?)
114 - cut-and-paste of selection into other apps (as bitmap; as SVG?)
115 - navigation sidebar with bitmap page previews
116 - bitmap preview for document icon in desktop environments?
117 - "organizer" side panel (hierarchy of notes), cf. gjots
118 - see iRex code for generic viewer + PDF plugin including caching,
119   throttling etc. (Marcel Hendrickx email of Sep 11 '09) 
120
121 - allow toolbar to go vertical
122 - toolbar buttons should react to button 2/3 click to modify settings
123   for that tool?
124
125 - paste text directly into xournal, from xournal?
126     (instead of starting a text item and pasting into/from it)
127 - insert links (to URLs; within document/to other xoj? hand mode navigates)
128 - increase width of spinPageNo to fit 3 digits
129 - should escape '_' to '__' in MRU menu entries (else become mnemonics)
130 - a command + keyboard shortcut to switch mappings (1<->2, 1<->3, 2<->3)
131      (A. Rechnitzer Sept 11, 2007)
132 - modify encoding of TrueType font subsets or provide cmap so pdf text
133   can be extracted
134
135 - smoothing of strokes (for users without tablets / with deficient drivers)
136 - lasso tool
137 - add config option to limit total memory usage for PDF bitmaps
138 - ability to select entire page for copy-paste (as bitmap / reorder xournal)
139 - copy/paste of an entire page (beware if PDF bg is not compatible!)
140 - rewrite printing using GtkPrint + Cairo as GnomePrint replacement
141    (keep GnomePrint option for compatibility with GTK+ <2.10)
142 - insert images (screen capture or from file or from clipboard), 
143   not as full-page backgrounds (new ITEM type)
144
145 - convert to/from Jarnal format; to/from MS Journal format???
146 - export as SVG, as bitmap (use Cairo for this)
147 - improved PDF viewer features (search text, hyperlink, page borders...)
148    (using full poppler api ?)
149
150 - use system paper size as default (/etc/papersize)
151 - autoload *.pdf.xoj if present when opening *.pdf ???
152 - sticky notes (anchor visually text box to a bg location)
153 - use relative paths for bg documents (e.g. annotated PDF)
154 - flush display queue when drawing over a slow X server?
155 - more paper customization (in particular, 1/2 inch graph paper)
156     (2 custom papers with settings in config file? 
157      a folder with blank PDF or xoj papers and quick-access?)
158     (also: engineering paper; isometric paper -- Dan Ott  Sep 4 '09)
159 - option to map a button to a context menu (incl. tool selection, ...)
160 - option to map a button to "undo"
161 - xournal_page-shadow.diff (Martin Kiefel Feb 5 2007)
162 - xoj2pdf on command line
163 - 'insert blank page after' command (more useful in PDF annot !)
164 - load images as bg if given on command-line (as with PDF on commandline)
165 - lasso selection tool (see shoffsta patch)
166      (http://shoffsta.afraid.org/Projects/Xournal/)
167 - flatten (incl undo/redo...) - enabled only if nlayers>1
168 - color chooser (papercolor, pen color); maybe more default colors
169   cf. ojb patch #2083103 adds paper color chooser
170 - printing: print-options, save printer settings (throughout a session,
171    and on disk) (maybe a separate config file .xournal/gnome-print-settings)
172 - help index
173 - option for highlighter to be always at bottom of its layer
174 - more pen/highlighter shapes (chisel)
175 - slanted tip pens (calligraphy)
176 - toolbar buttons to access custom preset tools (e.g. text or pen with settings)
177 - text boxes with opaque background
178 - recalibration upon screen resize / compensation for miscalibration
179     (use ConfigureNotify event and XInput? cf "Bugs" tracker 08/2007)
180 - find a better behavior for vertical space tool across page boundaries ?
181    config options? 1) when there's not enough space at bottom of page:
182                        - resize the page
183                        - move stuff to next page
184                        - move stuff to a new page
185                    2) when moving to another page:
186                        - move everything
187                        - move only what doesn't fit (??? looks hard)
188    option for vert space tool to also move the background??
189    (PDF: cut-and-crop by running PDF code twice with 2 different clipboxes?)
190 - option to save all annotated files within the .xoj
191 - non-antialiased version for handhelds
192 - customize autogenerated save file names 
193 - layer dialog box to set visibility status of each layer regardless of
194   which layer is being edited
195 - option to link layer creation and visibility status for all pages
196   (Eric Borghs 04/15/08)
197 - display corruption on scroll down when bottom of window is obscured??
198   (probably a gnomecanvas or X bug -- expose event generated for wrong
199   region, or not processed?)
200 - autosave at a regular interval in a given location
201 - keep only a few pages of a PDF file in memory at any given time; generate
202   pages by parsing pdf info rather than generating bitmaps for all of them.
203 - win32 port (Matteo Abrate)
204 - snap-to-grid tool? (Matteo Abrate)
205 - EPOS 7/24/07: Thumbnails pane
206 - EPOS: Connect to EPOS api which sends A4 mapped points
207 - EPOS: Cut and Paste into OpenOffice applications and the GIMP (as bitmap??)
208 - EPOS: Export pages to pictures in the Jpg and Png formats.
209 - EPOS: Rotate Ink in custom angle.
210 - handwriting recognition???? (cellwriter?) unlikely. we don't have grids
211   see galileon comment on 2008-07-29 to tracker #1925309: word recognizer
212 - handwritten stroke search in document (see cellwriter?)
213   (correlate inertia-normalized strokes in lift to unit cotangent bundle?)
214 - option: export to PDF with incremental pages for successive layers
215     (for presentations) (Daniel Brugarth 8/18/07)
216 - Samuel Hoffstaetter: lasso, gettext localization, sidebar thumbnails, ...
217 - YoYo Siska patch for desktop mode ??
218 - Vivek Ayer: rotate paper wrt screen (for environments where display
219   rotation doesn't work): gnome_canvas_item_affine_relative(canvas->root, ...)
220   would rotate all but text items (still need to modify scroll bbox, and
221   adjust event coordinates by inverse rotation).
222 - rotate PDF background pages (individually wrt each other, see #2099935)
223 - switch to libglade, and allow customization of key shortcuts (accels)