Re: problems with lists


Subject: Re: problems with lists
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon Oct 30 2000 - 05:50:00 CST


On Mon, 30 Oct 2000, Vlad Harchev wrote:

>
> Just played with lists more extensively. Here are bugreports on it:
>
> List dialog:
>
> * Should be adapted to any font size and style.

Yes I know. The reason I didn't do it originally was becasue I didn't what
the dialog changing size after pressing "Customize". But OK I can fix that
and a whole load of other stuff.

> * Popping it up, selecting "numbered" style and pressing apply adds or removes
> dots after digits in preview (thus shifting "block of text" on preview
> right and left). Interestingly, selecting bulleted style, and pressing
> apply repeatedly also moves "blocks of text" (list item bodies) left
> and right on preview.
>

This is interesting. I didn't think to try this. This is the sort of
fiendish stuff Bob Seivers is good at doing to break ones beautiful
features.

> Working with lists:
> * It's possible to position the cursor before and right after the "bullet".
> IMO it's very confusing. We should allow deleting the bullet as Word does -
> by pressing BS when in the leftmost position. When doing this in AW, assert
> fails sometimes.

I don't see the problem. (Except the Assert :-) If you delete the list
label Abi does the right thing and updates the rest of the list.
 
> * It's possible to copy bullet to clipboard. For some reason it's impossible
> to paste it :)

yes. This is because Abi does not import/export fields to/from RTF. Cuts
to the Abi clipboard converts the text to rtf.

> * Copying text with lists to clipboard, and pasting it to some other app (e.g.
> Gedit) pastes nothing at all.

This might be a bug with Gedit. I would expect to see all the text but not
the list label. Does pasting of other abi text to Gedit work? We got it to
cut/paste to and from Gnome-terminal.

> All this makes working with lists very confusing IMO.
>

Thanks for the feedback. There are a number of things that could be done
to improve Lists. The most urgent is to move the vector of fl_AutoNum out
of the pd_Docment class and into fl_DocLayout. This is a lot of work but
absolutely neccessary.

Try openning a second window of a document with Lists in it and look at
what happens to the first window. Fun eh? This has GOT to be fixed. It
also screws up printing of multi-level lists.

Basically this happens because the fl_AutoNum is addressed via the
PieceTable and so an extra view means that extra blocks are inserted into
the list.

It appears that Luke Jordan is too busy to help out with List code right
now so I'll fix this.

Cheers

Martin



This archive was generated by hypermail 2b25 : Mon Oct 30 2000 - 05:50:22 CST