]> Pileus Git - ~andy/gtk/blob - TODO
f834e56108c9d363c884dfa6eee7462a0561aca7
[~andy/gtk] / TODO
1 TODO BEFORE GTK 1.0
2 -------------------
3
4 Bugs:
5  * Vertical scrollbar: the expose event looks hosed and is causing 
6    quite a bit of flickering
7    Actually this affects both scrollbar implementation, you can best
8    tell if you run the application with --sync (timj)
9
10  * signal parameters don't seem to get refreshed on recursive invokations
11    of GTK_NO_RECURSE signals, which causes the restarted emissions to loose
12    their actual point, i.e. parameter changes on the restarted emission,
13    needs further investigation.
14
15  * the GtkText widget needs to be fixed, that means no segfaults, full editing
16    facilities, omit the background pixmap for now.
17
18  * Widget redrawing when the window resizes sometimes messes up.
19    GtkLabels sometimes redraw without clearing up the underlying background on
20    window resizes.
21  
22  * Are there still some GtkCList changes outstanding? (Jay Painter)
23    GtkCList is derived from GtkContainer but doesn't implement the
24    need_resize, focus, add and remove methods from containers.
25    it should at least issue a warning upon invokation of not supported
26    member functions.
27
28  * GtkTree and GtkList should express in their *_add implementations,
29    that they expect GtkListItems/GtkTreeItems as children. Similar
30    things might apply to other containers.
31
32  * delay dnd settings to take effect once a widget is realized, this is
33    to avoid force realizations. i think this goes along with owens dnd
34    changes?
35     -timj
36    The way DND data types are set in GtkWidget really needs to be fixed.
37    This is pretty high on my priority list, and I'll get to it as soon as
38    the column list widget is done.  The correct way dnd data needs to be set
39    is to have a additional keyed data type with GtkWidget, which is applied to
40    the widget's window upon realize.
41    There also needs to be a way to set dnd-data on widget windows which are
42    not the main window (for widgets that create more than one window).
43     -Jay Painter
44    DnD seems to work for me, but yes, there needs to be some sort of
45    gtk_widget layer that makes it easier... Also, adding support for drop
46    zones might be nice.
47     -Elliot
48    This one is reproducabel for me:
49    testgtk --sync
50    popup colorselection
51    drag/drop works
52    start up preview color
53    drag works but not dropping
54    end preview color
55    drag/drop works
56    start up prewiev color
57    segfault in malloc
58     -timj
59
60 Additions:
61  * it might be good to ues stdio and getch() instead of 1-character reads.
62    so one can take advantage of buffering. Currently each read() takes a separate
63    syscall.
64    
65  * implement gtk_default_draw_oval
66  
67  * Lists should scroll to center the recently selected item if it isn't
68    visible.
69
70  * enforce invariants on *_RESIZE* and *_REDRAW* flags.
71
72  * asure that child widgets are really get gtk_widget_destroy()ed in their
73    parents destroy handler, and not just unparented or somesuch.
74
75  * GtkToolTips:
76    allocate GtkTooltipsData from memchunks
77    look into incorporation of old/gtk-dairiki-971208-[01].patch.gz
78                           
79  * Make widget attributes configurable after the widget is created (timj).
80
81  * Change gtk_widget_propagate_default_style() mechanism to
82    void gtk_rc_string_export (const gchar *rc_additions,
83                               gboolean     override_rc_styles);
84  
85
86 TODO AFTER GTK 1.0
87 ------------------
88
89  * Make all widget attributes configurable after the widget is created (timj).
90  
91  * Make sure a widget added to a list is a list item and a widget added
92    to a menu is a menu item, etc. GTK_BASIC was a first attempt at this,
93    but it fails with subsequent container_add()s. maybe have another
94    GTK_PARENT_BASIC (similar to GTK_PARENT_SENSITIVE) flag, to prevent
95    tree iterations upon every container addition.
96
97  * gdk_expose_compress: ala-Xt, this would really help for opaque moves and
98    such
99
100  * Entry should have a password mode (and it should show stars
101    for user feedback).
102
103  * More dialogs? Print, GtkFontSelector, maybe others...
104
105  * Multiple document interface (MDI)?
106
107  * Support another widget style? Should be possible using GtkStyle's, but
108    there may be some work needed to remove any style dependencies in widget
109    code. Maybe GtkStyle's should have 'draw_push_button', 'draw_check_button',
110    etc, functions to draw the various widgets.
111    This will be covered by upcoming themability, raster is working on it.
112  
113  * More work on Documentation