On Mon, 17 Sep 2007 10:53:30 +0200
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> "Bo Peng" <[EMAIL PROTECTED]> writes:
> 
> > I needed to change some index labels from 'a b' to 'b!a' for my
> > document and I quickly lost track of which indexes have been updated
> > and which have not. The ability to make this change in 5 minutes
> > demonstrates the real benefit of using an open source program. (Ohmm,
> > normal users need to wait longer.. :-)
> 
> I did not have the time to chime in the allotted time, but I can say
> that the short version of index has been added after having a user
> remark astutely that displaying "foo[idx: foo]" was really a waste of
> UI space. I do not think that the example of changing 'a b' to 'b!a'
> rapidly is the best possible reason for making this change (how many
> times per year does this situation happen?). 
> 
> Some other solutions could have been considered:
> 
> - have insets implement a description() method that returns a somewhat
>   longer label that can be used to
>      * display a tooltip on hover
>      * set the status bar when the cursor is in front of the inset (we
>        have that for math already). [*]

Another alternative is to introduce "closed" and "open" versions of the
inset, like we have for collapsable insets. Then you can close and open 
them all together.

Tooltip would be best though if easy to do.

> - add index entries to yet another TOC and use that to both navigate
>   and get a clear view of the index.
> 
> - what would be even better would be to have the index inset display
>   its contents only if it is different from the default label. It
>   would mean however that the cursor should be known at the point
>   where getScreenLabel is invoked, which does not seem feasible right now.
> 
> JMarc
> 
> [*] this would be pretty handy with an additional index-next lfun that
> would go to the next inset of same type than the one at cursor. This
> would replace advantageously note-next and allow to go from index
> entry to index entry effortlessly (and see the complete index in
> status bar)
> 

Reply via email to