#41 Customizable window title UI redesign

development
closed
Eddy De Greef
Program (79)
5
2002-03-07
2002-02-18
Eddy De Greef
No

This is my proposal for a UI redesign of the
customizable window title dialog.

I believe that the organization and the logic
behind it are much easier to grasp than for
the current dialog.

It is possible to almost fully control the layout
using radio buttons; finetuning can still be done
through manual editing. The radio buttons and the
format string are kept in sync continously.

My only fear is that the dialog is a bit too
crowded (I've used almost the entire alphabet
for accelerators).

I've tested it on Linux/OpenMotif, HPUX/Motif,
Solaris/Motif, and purified it.

Comments, please (including whether we should
ship this one with 5.3 instead of the existing
one).

If this design is accepted, I'll also update
the on-line help.

I'll also attach a screen shot.

Discussion

  • Eddy De Greef
    Eddy De Greef
    2002-02-18

    UI redesign patch

     
    Attachments
  • Eddy De Greef
    Eddy De Greef
    2002-02-18

    Logged In: YES
    user_id=73597

    Here's a screen shot, but I think it's better
    to try out the real thing before commenting.
    The screen shot doesn't reveal all of the behavior.

     
  • Eddy De Greef
    Eddy De Greef
    2002-02-18

    Screen shot

     
    Attachments
  • Eddy De Greef
    Eddy De Greef
    2002-02-19

    Logged In: YES
    user_id=73597

    I've uploaded a patch with the same functionality,
    but with an alternative layout (as suggested by Joachim).
    I tend to like this one better too.
    I'll upload a screenshot next.

     
  • Eddy De Greef
    Eddy De Greef
    2002-02-20

    Logged In: YES
    user_id=73597

    Here's a new patch, with an additional option to
    choose between normal and brief file status flags
    (requested by Chris Walker/Nathaniel Gray):

    read-only <-> RO
    locked <-> LO
    modified <-> * (I originally intended to use M, but
    that didn't look good, and the * is
    more "standard" and consistent with
    the icon title)

    I've also renamed "Server name" to "NEdit server name"
    to avoid confusion (Thorsten Haude).

     
  • Eddy De Greef
    Eddy De Greef
    2002-02-20

    Screenshot of alternative layout

     
  • Arne F�rlie
    Arne F�rlie
    2002-02-24

    Logged In: YES
    user_id=75224

    I have tried both and the second one is best. It is a good
    thing that the test buttons now are sensitive to the actual
    formatting string.

    However, is having buttons for applying formatting tags
    really useful?
    For instance, my default format is "{%c}- %f (%S) %4d", and
    I wanted to add host name. So I pressed the appropriate
    button, and the [%h] was appended. But, I want it at the
    start, so I had to do some cut&paste.

    I know that the dialog allows me to hand edit the formatting
    string too, so I shouldn't really complain, but I just want
    to raise the question.

    When I open the dialog I get the following message on the
    terminal:
    XmForm previewBox : attachment to previewBox which is not a
    child,
    reset to NULL

    Name: testLabel
    Class: XmLabelGadget
    top: XmATTACH_WIDGET without widget changed to
    XmATTACH_FORM

    There are also some visual glitches when the preview field
    expands and contracts.

    I'm using LessTif 0.93.18

     
  • Eddy De Greef
    Eddy De Greef
    2002-02-25

    Logged In: YES
    user_id=73597

    I've fixed the bug that caused the warning
    (Can you verify? I don't have that version of LessTif).

    Concerning to the order of the title components:
    I know that it not fully controlable with the buttons,
    but I don't see an easy solution for this (it would
    probably make the dialog overly complex to use too).

    But there are two ways in which you can control the
    order without having to cut & paste:
    - deselect all components and then select the
    ones you want, in the order that you want them
    - select and drag (button2) parts of the string.

    Some manual editing is unavoidable unless the format
    is constrained.

    I don't see any visual glitches, but I'll try it
    with LessTif when I have some more time.

     
  • Eddy De Greef
    Eddy De Greef
    2002-02-25

    Alternative layout patch with brief status option

     
  • Arne F�rlie
    Arne F�rlie
    2002-02-28

    Logged In: YES
    user_id=75224

    The warning is now gone, thanks.

    With regard to the visual glitches, I think they are caused
    by my version of LessTif. I rebuilt with OpenMotif and they
    went away.

    I think this UI design is good, so I vote for it to replace
    the existing design.

     
  • Eddy De Greef
    Eddy De Greef
    2002-03-05

    Logged In: YES
    user_id=73597

    Thanks, Arne.

    I've uploaded a help.etx patch too.

    Would anyone object if I include the redesigned UI layout
    in CVS now, instead of removing the old implementation
    before the 5.3 release ?

     
  • Eddy De Greef
    Eddy De Greef
    2002-03-05

    help.etx update patch

     
  • Eddy De Greef
    Eddy De Greef
    2002-03-07

    Logged In: YES
    user_id=73597

    No objections, so committed and closed.

     
  • Eddy De Greef
    Eddy De Greef
    2002-03-07

    • assigned_to: nobody --> edg
    • status: open --> closed