TODO 16.1 KB
Newer Older
Albert Astals Cid's avatar
Albert Astals Cid committed
1
TODO - okular
2
Legend:
3 4 5 6
    ADD - ADDed (new feature)
    CHG - CHanGed (existing behavior)
    FIX - FIXed (bug or regression)
    MRG - MeRGed (code from a branch or a patch)
7

8
Bugs and wishes to close when moving okular to kdegraphics:
Albert Astals Cid's avatar
Albert Astals Cid committed
9
-> WISH 100341: first page at right, in two pages mode
10
-> WISH 102523: wish: if opening second file, file/open dir should be dirname($current_file)
11
-> WISH 102788: Current page number visible
12
-> WISH 103362: kpdf shows complete filename including folder instead of just filename in taskbar
13
-> WISH 107998: kpdf horizontal scroll bar
Albert Astals Cid's avatar
Albert Astals Cid committed
14
-> WISH 118938: No way to find out the page size(s)
15 16 17 18
-> WISH 119455: use poppler library for kpdf
-> WISH 131045: Add context menu for URLs
-> WISH 131361: mouse hovering on an external link can produce a tooltip of the URI, as in acroread and evince

Enrico Ros's avatar
Enrico Ros committed
19
In progress [working on]:
Pino Toscano's avatar
Pino Toscano committed
20
-> toc: highlight the row of the current page (BR127358)
21
   (check if there's a better way to do the highlighting - in case just edit TOCItem::setCurrent())
22 23
-> thumbnailslist: show Viewport in(blended/contour)
   (actually it's only a red contour)
Enrico Ros's avatar
Enrico Ros committed
24
-> annotations: renderers in PagePainter (for the 6 annots)
25
-> annotations: handlers in PageView for WindowAnnots and others..
Enrico Ros's avatar
Enrico Ros committed
26
-> annotations: creators in PageViewAnnotator (40% done)
27
-> annotations: framework (BR67300,BR62793) and tools (BR67300,BR91251)
Enrico Ros's avatar
Enrico Ros committed
28
-> annotations: add the annot pane (cool plz!)
Pino Toscano's avatar
Pino Toscano committed
29
-> text selection in wordprocessor style
30
-> rotate the whole document / individual pages (on screen/print?) (BR99352)
Piotr Szymanski's avatar
Piotr Szymanski committed
31
-> link: add a KPDFAnchor link class
32
-> (done: 100%) refactor, pdf parser, xml storage
Enrico Ros's avatar
Enrico Ros committed
33
-> check mouse wrapping not screH / 2
Enrico Ros's avatar
Enrico Ros committed
34
-> check if fix was applied in head only (pageview.cpp 1676)
Enrico Ros's avatar
Enrico Ros committed
35
-> pageview: update layout when toggling the 'ebook atyle alignment'
36

37
More items (first items will enter 'In progress list' first):
38
-> pageview: add vp damaging queue and flush function. add coolfx to smoothmove using damaging
39 40
-> annotations: add config option for default name change
-> annotations: toolbar: display tooltip only the first time
41
-> annotations: provide nice wizards. Make it easy to deliver/copy/move the xml files (by Uga)
42
-> GHNS: get hot new ebooks on the supported formats (pdf for now) (enrico)
43
-> popup context menu when using right button in selection mode (BR99315)
44
-> pageview: add scrollbar marks for bookmarks (like kate)
45
-> evaluate changing KPDFLink to KPDFAction
46 47
-> pageview: change document viewport after mouse scrolling ended (not every scroll frame)
   this will give better mvc consistancy
48
-> other info on pdfs properties: number of accessed times, time spent on pdf, ...
49
-> part: collapsing the left panel will hide it (activate hiding action)
Enrico Ros's avatar
Enrico Ros committed
50
-> preload: add a delay when forward loading pages
51
-> bookmarks: fastmarks (new bookmark concept with tab-like signs, shortcuts, etc) (BR
Enrico Ros's avatar
Enrico Ros committed
52
-> viewport restoring: sometimes it seems to restore the viewport a bit under where it was
Pino Toscano's avatar
Pino Toscano committed
53 54
-> viewport restoring: save the zoom/viewCols/continuous setting between runs (BR97307+patch)
-> core: Delay TOC (DocumentSynopsis) generation (and move it on thread)
55 56
-> core: add a way to handle "named xpdf links" in KPDFLink instead of resolving all
   dests when displaying a page (speedups a lot generation of page with many links)
57
-> toolbar: move the toolbar to the top of pageview (left panel is really at the left of the toolbar)
58
-> thumbnailslist: refactor to do internal rendering as pageview does (way faster
Pino Toscano's avatar
Pino Toscano committed
59
   than using QScrollArea + inserted Widgets and saves 8% on document loading)
Pino Toscano's avatar
Pino Toscano committed
60
-> thumbnailslist: clinking on highlighted rect should bring the viewport to that search result (BR98334)
61
-> Dom framework to cache document metadata. It should archive those types of data:
Enrico Ros's avatar
notes  
Enrico Ros committed
62 63
   (NOTE: already Dom'ed object is marked with 'X')
   - <X> Synopsis will go there after 1st generation (so we can edit it too)
Enrico Ros's avatar
Enrico Ros committed
64
   - <X> Document info (after the 1st gen)
65
   - <X> Bookmarked pages
66
   - <X> Current Viewport and 10 history steps
67
   - Edited pages (rotated/with_data for example)
Pino Toscano's avatar
Pino Toscano committed
68
   - Overlay editing (highlighting/notations/etc..)
69
   - Presentation related overrides (FS mode, individual / global transitions)
70
   - ..more stuff.. but this isn't a problem, since a QDom is flexible by design
Pino Toscano's avatar
Pino Toscano committed
71
   The Object will reside into the Document and must not be accessible by Observers in
72 73
   a direct way. Dom format, relations to other classes and accessing must be specified
   in a separated diagram or text file.
Pino Toscano's avatar
Pino Toscano committed
74
   - Plus think at storing xml data to an external shared server.. something that
75
   has to do with versioning data.. (shared annotations, bookmarks & co.)
Enrico Ros's avatar
Enrico Ros committed
76 77
-> add kpdf manual in PDF format loaded on the first startup or on menu->help->manual
   this visually explains basic usage, mouse buttons functions & more..
78
-> ADD: click over image allows "save image" [60% done (activerect of type image)]
Enrico Ros's avatar
Enrico Ros committed
79
-> zoom: fit text (with configurable margin)
80
-> bookview: 3d opengl widget for viewing the document as a real book (turning pages, etc..)
81
-> wallet: use asynchronous interface (to prevent ui-blocking)
Pino Toscano's avatar
Pino Toscano committed
82
-> open gzipped and bzipped documents (BR102704)
83
-> restore a location from a given url (like http:/someurl?stringForViewport) (BR99240)
84
-> kspeech TTS interface. speech {document(missing, BR118872) / page(missing) / selection(done)}
85
-> automatic online dictionaries / translators (BR80338)
Pino Toscano's avatar
Pino Toscano committed
86
-> core: forms support (mainly for pdf) (BR91809)
87 88
-> evaluate wether to add find icon to the toolbar. poll/usab? (BR92620)
-> sidebar: evaluate wether to make the left toolbox auto-hiding (kicker like) (BR94495)
89
-> add OCR for building TextPages out of pure graphical (aka scanned) pages
90
-> presentation: add page counter and a widget to manually set pages on the top bar
91
-> presentation: provide a pageX/totalPages indicator in addition to the circle one
92
-> presentation: implement missing transitions (6/11 done)
93
-> presentation: add a red pencil that creates ink annotations (author: i18n(author-presentation)))
94
-> presentation: save a flag (to the xml) to open a pdf in presentation mode
95
-> presentation: wheel not visible on black. gradient appreciated on lighter backgrounds.
Piotr Szymanski's avatar
Piotr Szymanski committed
96
-> presentation: 2 pages per view, for users reading ebooks with wide screens.
97
-> splash(xpdf): check lack of smoothness at low resolutions and antialiasing (BR94231)
Enrico Ros's avatar
Enrico Ros committed
98
-> goto 'logical' page (usually differs from pdf's page) (req. by Luca Burrelli)
99
-> move some document related features from part to the document (see find, goto dialog, ...)
100
-> Albert: Read pdf specification and see if paths with length = 1 are allowed, in case they are allowed see how to fix 97131 without skipping paths with length = 1
101
-> tools: ruler, measure: distance, perimeter, ?area?, color picker
102 103
-> export: export to other formats keeping formatting (PS is easy, we just have PSOutputDev that does it :-D. PNG is easy too)
-> export: extract images (have a look at ImageOutputDev.cc and pdfimages.cc from xpdf (not in our xpdf sources))
104
-> history as a toolbox child (collecting Doc's viewport changes notifications)
105 106
-> take care of TODOs in code
-> cleanup code and update README.png
107

Enrico Ros's avatar
Enrico Ros committed
108 109 110 111 112 113
Icons needed:
- KPDF (ToolBAR): 1 continuous, 2 tied-pages, 3 Normal (not scroll only, it
    performs other ops), 4 Zoom, 5 Select, 6 Annotation/Review
- KPDF (Edit Tools): highlighter( transp base, we colorize it)
- COMMON (here in ToolBox): Toc, Annotations

Enrico Ros's avatar
Enrico Ros committed
114
Done (newest features come first):
Pino Toscano's avatar
Pino Toscano committed
115 116
-> CHG: support links with shapes different than a rectangle
-> ADD: export: give the generators the ability to export all the text to plain file (if supported), the PDF generator already use this (BR91146)
117 118
-> CHG: search: use shortcut for 'find next' action (not the default one) in find-ahead
-> CHG: use shortcuts for next and prev page even in presentation mode (by Tobias Koenig)
119
-> ADD: bookmarks: go to next/previous actions (showing in thumbnailslist rmb popup too)
Pino Toscano's avatar
Pino Toscano committed
120
-> CHG: open dialog: switch to directory where the already opened (local) file is
Pino Toscano's avatar
Pino Toscano committed
121 122
-> ADD: toc: add search bar (a 'prune on type' lineedit like in thumbnails widget) (BR99349)
-> FIX: kfile-plugins/pdf: provide internal support and rewrite that plugin (drops xpdf dependancy from kdegraphics) (by ktech)
Pino Toscano's avatar
Pino Toscano committed
123 124
-> CHG: core: abstract TextPage generation (the last xpdf dependant class!)
-> CHG: create a DocumentInfo structure for passing the font information from generators to the document
Piotr Szymanski's avatar
Piotr Szymanski committed
125
-> ADD: presentation: link following (BR98388)
Enrico Ros's avatar
Enrico Ros committed
126
-> ADD: add ebook-friendly alignment option, better layouting (BR100341)
127 128
-> FIX: random crash when closing kpdf with kapp->quit() (don't use Settings:: in destructors)
-> FIX: implement links for starting end exiting from presentation mode (pdf FullScreen, Close actions)
Enrico Ros's avatar
Enrico Ros committed
129 130
-> CHG: cursor wraps on screen for dragging the page/dynZooming
-> FIX: raised scaling performance by 10x times for typ usage, removed odd cases, speedups to viewScroll and dynZoom
131 132
-> ADD: annotations: complete xml storage/retrieval of internal annotations
-> CHG: page properties (bookmarks, annotations, ...) storage moved to Page class
133
-> ADD: sidebar: add shortcut for showing/hiding it (BR99316)
134
-> ADD: annotations: PDF1.6 reader (PDF's annotations -> our data structures)
135
-> ADD: Internal data structures for annotations handling.
136
-> FIX: rmb when no doc displayed to restore menu
137
-> ADD: Save zoom setting on exit
138
-> ADD: Put fonts used by the document on the properties dialog
Enrico Ros's avatar
Enrico Ros committed
139
-> ADD: partial implementation of XYZ links
140
-> ADD: google-like search on thumbnails
141
-> ADD: use kde wallet for storing passwords of protected files
Enrico Ros's avatar
Enrico Ros committed
142
*> The branch 'kpdf_annotations' was created at this point. [2005-Feb-12]
Pino Toscano's avatar
Pino Toscano committed
143
-> FIX: trigger redraw on 'filter text' on current page (need new highlight engine first)
144
-> ADD: Obey DRM is now a configuration option
145
-> FIX: fixed viewport saving/restoring (+performance fix) on presentation mode
146 147
-> FIX: leakfix when closing document while thread was running (no more leaks now)
-> FIX: direct hi-performance pixels manipulation for highlighting (instead of the obsoleted setRasterOp)
Pino Toscano's avatar
Pino Toscano committed
148
-> CHG: new search api. supports multiple searches at once, multiple highlights per page
149 150
-> ADD: pageView moves smoothly when searching / moving in history
-> ADD: better bookmark rendering in thumbnailslist (show 'clip overlay')
151
-> CHG: changes and cleanups in pageView's mouse handling functions
Pino Toscano's avatar
Pino Toscano committed
152
-> ADD: KTTSD simple support: speech selection using kspeech api via pure dcop (don't break compatibility)
153
-> CHG: right click and drag while in 'normal' mode changes to 'selection' mode and selects
154
-> FIX: complete valgrind check and leakfix (2 leaks were present) [27-Jan-04]
155
-> ADD: history, forward/back history actions, history links and xml storage (10 steps)
156 157
-> ADD: rmb popup on thumbnailslist (the popup shared with pageView: same behavior)
-> ADD: display 'current page' / 'total pages' with analog indicator, active labels, etc
158
-> CHG: Presentation mode is now Ctrl+Shift+p instead of F9 because it was colliding with Konqueror's toggle sidebar
159 160
-> FIX: various in memory unallocator, preload with single pages, pageview
-> FIX: optimized pageView (removed 1 waster req on start, lowered reqs)
161 162 163
-> FIX: memory unloading order and hard swap avoiding
-> CHG: open and open-recent buttons unified in Shell
-> CHG: lens icon for the find-ahead messages
Enrico Ros's avatar
Enrico Ros committed
164 165 166
-> ADD: page preloading
-> FIX: smarter memory management / prioritize queries
-> ADD: type ahead search in pageview (type '/' then the word to search..) (JakubS)
167 168
-> FIX: scroll page if the the searched string is not visible
-> FIX: use a global Viewport over the document (linked views, real link following, location restoring, etc)
Tobias Koenig's avatar
Tobias Koenig committed
169
-> FIX: wrong zoom buttons order (BR74248) (check consistancy with kdvi/kviewshell/kghostview/.. (not konq))
170 171 172 173
-> ADD: presentation: cursor modes: hidden, visible, hidden with delay (Tobias)
-> ADD: presentation: default transition which is used when no transition is defined in document (Tobias)
-> ADD: presentation: support for automatic advance and loop on last page (Tobias)
-> ADD: presentation: add additional presentation page to settings dialog (Tobias)
174 175 176
-> CHG: presentation: the round wheel indicator can be clicked to change page
-> FIX: layout margins on pageView
-> ADD: restore the last active page when a file is opened again
177
-> ADD: Save bookmarks into a file so you they get recovered when opening the same file again (Albert)
Enrico Ros's avatar
Enrico Ros committed
178 179
-> FIX: searchline back to work
-> CHG: DocumentInfo is now a DomTree and the properties dialog is dynamically generated (Tobias)
180
-> ADD: Presentation transitions are loaded from the pdf files as well as fullscreen state (Tobias)
Enrico Ros's avatar
Enrico Ros committed
181
*> Merged on HEAD on 2005-01-02 (The branch is frozen, development continues here)
182
-> FIX: Fix my update cursor FIX :-D
183 184
-> ADD: Make kpdf aware of Find and GoToPage actions
-> FIX: Update cursor correctly when a link moves to a page and the cursor is over a link on that page
Pino Toscano's avatar
Pino Toscano committed
185
-> ADD: Asynchronous PDF Generator implementation (for the user: faster UI, preloading, etc..)
Enrico Ros's avatar
sync  
Enrico Ros committed
186
-> FIX: Memory manager (free cache if needed, avoid disk swap and oom)
187
-> ADD: Presentation View (only the 'glitter' transition implemented for now)
Pino Toscano's avatar
Pino Toscano committed
188
-> FIX: FixPack1 [dyn_zoom repaints, initial panel width, zoom_lineedit focus proxy, searchwidget refactor{thumbs restoring on clear, buttons size, less code}, highlight bookmarked thumbnails]
Albert Astals Cid's avatar
Albert Astals Cid committed
189
-> FIX: Some fullScreen loving, if we are on fullscreen put an action on RMB menu ti get out of it, if we were on fullScreen mode on exit bring back correctly if we were also seeing toolbar or menubar
Enrico Ros's avatar
Enrico Ros committed
190
-> FIX: When in non continuous mode and scrolling up a page, set the viewport at the bottom of the page (Albert)
191
-> ADD: Show the window maximized when the user opens the program for the very first time (Albert)
192
-> ADD: Use 'Generators' as providers for contents generation
Albert Astals Cid's avatar
Albert Astals Cid committed
193
-> ADD: Add properties dialog (Albert)
194
-> ADD: Support for show/hide menubar in rmb menu, different from HEAD so that supports Konqueror too (Albert)
Albert Astals Cid's avatar
Albert Astals Cid committed
195
-> ADD: Watch File option (Albert)
Albert Astals Cid's avatar
Albert Astals Cid committed
196
-> ADD: import Marco Martin's "another kpdf icon" (kde-look: 16146) (Albert)
197 198
-> ADD: dynamic zoom with mid mouse button (click and drag up-down to zoom in-out)
-> FIX: merge select text & select gfx, two sections on the same pop-up menu
Enrico Ros's avatar
misc  
Enrico Ros committed
199
-> ADD: reading aids (inverted display, recolor, black/white, draw link border, draw image border)
200
-> FIX: zoom preserved when switching modes and flickerless drawing
Albert Astals Cid's avatar
Albert Astals Cid committed
201 202
-> ADD: Printing as PS instead of as image (Albert)
-> ADD: Remember page on session logout and put the document in it on session restore (Albert)
203 204 205
-> ADD: gfx capturing tool
-> ADD: composited renderer framework (in addition to a fast light one)
-> FIX: pageview repaint done internally (speed boost and reduced memory consumption)
206
-> ADD: KConfigXT settings framework and Accessibility config (acc. code mostly not done)
207
-> FIX: workaround for scrollview bug 1/2 (painting hidden widgets under certain circumstances)
Enrico Ros's avatar
Enrico Ros committed
208
-> ADD: zoom into a rect defined by mouse (aka zoom to window)
209
-> FIX: sheet rotation in landscape case
210
-> ADD: Some dcop functions (goToPage, openDocument and give # of pages) (Albert)
211
-> MRG: link following ('actionMovie' kind is missing)
212 213 214 215
-> ADD: text selection (rectangular blocks) in selection mode
-> ADD: autoscroll page with Shift+Up/Dn keys (exact konqueror's behavior)
-> CHG: remake single page mode
-> FIX: zoom buttons in sync with text
Enrico Ros's avatar
Enrico Ros committed
216
-> ADD: continuous mode
217 218
-> ADD: multiple pages per view (gui selects 1 or 2 ppv)
-> MRG: the option to open password protected files (from head)
219
-> MRG: the Table Of Contents (from head)
220 221 222 223 224 225 226 227 228 229 230 231 232
-> ADD: a 'search bar' with prune-as-you-type feature
-> MRG: Albert's search ported and implemented case sensitive
-> CHG: smart handling of pixmap using an Observer ID (thumbnails are gone, only pixmaps now)
-> FIX: some toolbar/menu changes
-> ADD: outline bottom and right edges (of pages)
-> FIX: centering pages in the view
-> FIX: kpdf output at 100% has exactly the same size as acroread now
-> CHG: qsplitter layouting
-> FIX: zooming works as expected (and added 'fit to page' too)
-> ADD: new go to page dialog
-> GHG: previews sorted by visible areas (prioritize items where the scrollbar is)
-> FIX: previews speedup: 50-100%
-> CHG: use local instead of X memory for thumbnails (..)
Pino Toscano's avatar
Pino Toscano committed
233
-> MRG: merge lots of kpdf_part and part (centralview) code (to simplify/cleanup)
Enrico Ros's avatar
Enrico Ros committed
234
*> The branch 'kpdf_experiments' was created at this point. Code refactoring started.
235 236
-> ADD: Completely use xpdf code for rendering that solves most font problems (Albert)
-> MRG: Replace xpdf version with lastest one (3.00) that supports PDF 1.5 (Albert)
237
-> newest added features are at the top of the list