Fix tools/check-headers.sh when builddir not equal to srcdir
[nautilus-actions.git] / TODO
blob10b4c29bdd68be516d3b793ae532045849d9cc48
1 N-A BUGS
2 ========
3 - when error on writing, should let the item modified
4   2010-12-14: delete process improved, restoring not deleted items
6 - 2011-05-20: if an action is selected on mimetype, scheme is not checked
7   (e.g. an action is displayed on sftp even is scheme is file)
9 - 2011-06-10: when importing an action, ensure that there is at least
10   one default profile (an action without any profile is possible when
11   importing a xml file)
13 - 2011-06-10: importing an action from a dump file creates two profiles instead of one
14   one with [profile-1] and the other with profile-1
16 - 2011-06-10: string list imported from schemas are imported wih the square brackets []
18 - 2011-11-15: an action with one profile - if the action has a property set to empty
19   'folders=' and the profile does not have the property set, then set_defaults on the
20   profile set the default property (here, 'folders=/') instead of taking the action
21   value. On the UI, updating an action's property means updating the current profile.
22   This is ok as long as the action is also set  (...) there is one profile and the
23   action's property was not the default
25 Plan de test: NACT should be able to import all types of actions and menus,
26 kindly fixing small errors.
27 - from 1.4.1 (version 1.1): an action from GConf or as a schemas
28 - from 1.12 (version 2.0), an action from GConf, or as one of the three possible export format.
30 TODO
31 ====
32 - 2011-02-21: implement startup mode
34 - 2011-02-21: implement execute as user
36 - 2010-06-17: implement shortcut button in NactIPropertiesTab page
38 - 2010-08-09: in v1.x until ??, %f used to be the basename!!
40 - 2010-12-13: gtk-doc: Building HTML
41   warning: failed to load external entity "../xml/annotation-glossary.xml"
43 - 2010-12-30: gtk-doc 1.15
44   "Use of uninitialized value within %DeclarationTypes in lc at /usr/bin/gtkdoc-mkdb line 929"
45   when building XML
47 - 2011-02-07: is_level_zero_writable: should be monitored
48   for now, is only evaluated when NAUpdater is instanciated
50 - 2011-02-07: are_preferences_locked: should be monitored
51   for now, is only evaluated when NAUpdater is instanciated
53 - 2011-02-12: should we have a NAKeyFile shared between i/o-desktop and settings ?
55 - 2011-02-23: implement item separator
57 - 2011-02-23: desktop environment
58   accept a default at compile time
59   accept as a runtime user preference (may be mandatory)
61 - 2011-03-11: importing two actions, deleting them before having saved them, and then
62   save the whole (because it is yet marked as modified - why ?)
63   -> save error, some items have not been deleted
64      the two items are restored, marked as not modified, are found actually written in the disk!!
66 - 2011-06-08: when getting an elementary data, we should get the default value if it is not set
67   to determine if a value is set, have a na_object_is_data_set (see na_object_item_deals_with_version)
68   this should let us get ride of na_factory_object_set_defaults() function
70 - 2011-06-08: get ride of NADataBoxed ?
72 N-A ENHANCEMENTS
73 ================
74 - allow users to upload/download actions directly from a web repository
75   (REST services ?)
77 - 2010-08-10: non-notification delay after save should be a preference
79 - 2010-08-09: na-pivot:st_burst_timeout should be a preference
81 - 2010-08-09: plugins should be able to provide a preference page
83 - 2010-09-30: export format and d&d format should be separated preferences
85 - 2010-06-17: ui enhancement
86   all edition (entry, buttons, etc.) fields should have a small emblem when read-only.
88 - add a 'why this item is invalid'
90 - enhancement.ui: review toolbars layout
91   so that detacheable toolbars do not take so such big extra space
93 - enhancement.management: we should be able to fully export a configuration
94   this implies exporting menus and full tree
95   + restore hierarchy on import (see bug 626337)
97 - enhancement.ui: rows implicitely selected should have a special display
98   (as a sort of 'transparent' selection)
100 - enhancement.ui: review statusbar layout
101   do not add extra height to statusbar
102   better encapsulate statusbar, lock indicator, possibly other indicators
104 - enhancement.config: na_pivot_is_level_zero_writable:
105   the provider which hosts the level-zero list of items should be a configuration option
106   (current is GConf)
108 - DBus service: list current I/O providers
110 - DBus service: import/export an action or a menu
112 - nact: new action assistant
114 - export: add a overwrite page: what to do if file already exists ?
116 - IActionTab: check_label has became useless since validity is global
117   to the action - remove, or extend to each field which can led to
118   unvalidity
120 - for each toolbar, let the user choose which buttons are displayed
122 - have a preference for modified and invalid fonts
124 - undo manager (at least Ctrl-Z)
126 - 2010-08-20: add an item in the context menu to explain why other actions
127   are not displayed
129 - export-ask: the keep last choice check box should be as editable that export format
131 - 2011-05-20: should have an option to run in debug mode and dump whole configuration
132   so that a user can click on a button, and then send a zipped log to the maintainer
134 OTHER ENHANCEMENTS
135 ==================
136 - GOptions request enhancement so that the help for an option could be
137   multiline (by defining an optional maximum width)
139 - GConf Editor request enhancement: one should be able to refresh the hierarchy
140   (F5 ?)
142 - Nautilus: implement menu separator for plugins
144 OTHER BUGS
145 ==========
146 - 2011-02-21: nautilus: calls menu_provider_get_file_items() api each time we are
147   activating a menu; as the call is made without any indication about the currently
148   activated item, we have no other option than just recreate the menu; this is
149   very expensive in computation time
151 - GLib bug for g_utf8_collate_key_for_filename()
152   (see the 26 exported actions, and the screenshot of Nautilus view)
154 - Gtk bug: Nautilus doesn't display the actions in the order of the provided
155   GList in its context menu (seems as if a cache would keep the actions which
156   were already here the previous time - to be confirmed)
158 - Gtk bug: gtk_tree_path_up returns TRUE even if there is no parent
159   cf. commit 5ee6938486cd82f1274969506873df950348dd61 and before
160   function nact-tree-model.c::add_parent
161   recreate a small code which reproduces this bug and open in bugzilla
163 - Nautilus bug when dnd to nautilus on other screen
164   see https://bugzilla.gnome.org/show_bug.cgi?id=593453
166 - intltool: should implement standard targets for users
167   (cf. 14.6 make.html GNU Make manual).
168   As of 0.41.1, the absence of these standard targets prevents users
169   (which are actually package developers) to provide any html, pdf, ...
170   targets
172 - 2010-12-13: --enable-gtk-doc-pdf does not generate a pdf, but should
174 - 2011-02-23: it seems that Nautilus 2.30.1 calls get_file_items even when are 
175   opening a submenu ?
177 - 2011-02-23: also it seems that Nautilus 2.30.1 free our menus (probably because 
178   it is an item of its own menu), but not recursively the items of this menu.
180 NOTES
181 =====
182 - Note about the schemas in Nautilus Actions:
183   a) actions are identified by uuid
184   b) so, all GConf keys have a path with the uuid of the action
185   c) I'm not willing to write a schema for each and every uuid
186   d) so, as of 1.11.2, the provided schema is general and should apply
187      to all actions
188   e) but there is not yet an API to set a GConfMetaInfo for a key
189      note that gconftool-2 --dump is able to export for each entry a
190      <schema_key> which includes the path to the general schema key
191      but we cannot set it programatically (bad !)
193 - 20100408: gconf_concat_dir_and_key: have seen this as deprecated, but do not
194   find again the reference :(
195   not even in unstable library on the web
196   http://library.gnome.org/devel/gconf/unstable/gconf-gconf.html#gconf-concat-dir-and-key
198 - "x-nautilus-desktop:///" is rather a scheme than a folder => actually is an URI
200 - default has changed for schemes (was coded as 'file' instead of '*')
201   when version is recorded (as 1.4.1 or 2.0) then schemes is reliable
202   when version is not recorded, it is a 2.30 serie, and scheme is not recorded when default (i.e. file)
203   do not try to force anything than that, but this will have to be documented