]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - unix/GTK2.TODO
be34c96b969d5059c9ae981d22fff1a0fbf79d75
[PuTTY.git] / unix / GTK2.TODO
1 TODO for PuTTY GTK2 port before merging back into main trunk code
2 -----------------------------------------------------------------
3
4 Items from Colin's original mail:
5
6  - Font handling is the biggie. Current problems with it:
7     * The GTK2 font selection dialog only mentions client-side
8       fonts, but the actual text display code can't cope with them.
9        + Clearly one or the other needs to be fixed: the font
10          selection dialog certainly needs to agree with the fonts
11          actually available in the program.
12        + I want to keep being able to use my server-side fonts.
13        + People used to GTK2 applications will probably want to use
14          their client-side fonts.
15     * Also, the GTK2 font selection dialog doesn't allow filtering
16       to monospaced fonts only (and gnome-terminal, for example,
17       just has to cope if the user selects a proportional font).
18        + We can live with this problem if we really have to, but
19          it'd be nice not to have to.
20     * Colin's idea is that we should simply cook up a font selection
21       dialog entirely of our own, which handles both client- _and_
22       server-side fonts, and correspondingly soup up the text
23       display code to deal with whichever it's given (if necessary
24       by switching between two totally separate pieces of code).
25       This sounds like a sensible plan to me, or at least the most
26       sensible response to a generally insane situation.
27
28  - The call to _gtk_container_dequeue_resize_handler wants
29    revisiting, and preferably removing in favour of a cleaner way to
30    do the job.
31
32  - gtkcols.c is currently a minimal-work GTK2 port of my original
33    GTK1 implementation. Someone should go through it and compare it
34    to a real GTK2 container class, to make sure there aren't any
35    large chunks we should have reimplemented and haven't, or indeed
36    that we shouldn't have reimplemented and have.
37
38  - Uses of GtkList should be replaced with the non-deprecated
39    GtkTreeView.
40
41 Other items:
42
43  - The host key security alert dialog box is coming up the right
44    size but totally blank! Find out why and fix it.
45
46  - Since Colin's patch was originally prepared I committed r7117
47    (fold up treeview branches at depth 2 or greater), and this is
48    not currently replicated in the GTK2 version of the treeview
49    code. It should be.
50
51 At point of merge:
52
53  - Mention Colin in the website's licence page.