Converting LibreOffice dialogs to .ui format, 150 conversions milestone

We’ve now reached 150 dialogs and tabpages converted from LibreOffice’s classic fixed widget size and position .src format to the GtkBuilder .ui editable by glade format. I’m getting pretty sick of dialogs by now, dialog fatigue setting in :-)

If you want to help, my last post on the topic, at the 100 conversion mark, has a tutorial on how to do a conversion, and my FOSDEM slides might be helpful too.

8 Responses to “Converting LibreOffice dialogs to .ui format, 150 conversions milestone”

  1. Marco Diego Aurélio Mesquita says:

    How many left to go?

  2. Aldi says:

    Thanks for this great news! 150 out of 500 dialogs is quite an achievement in such short time. I hope you will be not too tired after the 499th dialog :-)

    A question regarding the IMHO strangest dialog in LibreOffice: Edit -> AutoText. Has anyone already tackled this dialog?

    At the moment, this dialog does not follow any sane UI-guidelines: The dialog is modal, the preview can be moved and zoomed only with a right mouse click, adding new autotext is a complete pain becaues the option is hidden behind the button “AutoText” and only shows up when there is something entered in the field “name”. There are many non-standard and strange usability issues with this dialog. Unfortunately, because the LibreOffice AutoText functionality works great, if not the usability were that bad.

    Please see:
    https://bugs.freedesktop.org/show_bug.cgi?id=52607
    https://bugs.freedesktop.org/show_bug.cgi?id=52605

  3. Carsten says:

    That is about 1 dialog a day (more or less). Great work :-)

    How many left?

  4. James says:

    Wow! I just saw this post, and I’m absolutely shocked! All I can say is… Great work! I didn’t know this effort was ongoing, and I wish you the best… Don’t give up!

    I don’t know much about the libreoffice code base, but afaict, it used some “vcl” graphics library, and you’re now porting all of this to use GTK originals. Did I understand this correctly? Does this mean libreoffice will eventually be a pure gtk app? From what I can tell it’s using a vcl theme at the moment. Will it be GTK3?

    Cheers!

  5. Philipp Schlesigner says:

    Kudos, great job!

    How many still to go?

  6. Caolán says:

    re “how many”, I’ve avoided counting how many are left to go in case the scale defeats me ;-) So I’ve decided to think we’re “half-way”. Impress though has 2 dialogs converted (with the latest converted today, and calc has 10, while writer has 42, and basically the rest are the large collection of shared dialogs.

    So, there’s an awful lot left to do in calc and impress.

    Lowest hanging fruit are the individual pages of the options dialog. They’re fairly easy to convert, the first 13 generic pages are converted, and the remainder are to-do: e.g. load/save->general is a low hanging fruit

  7. Caolán says:

    re “porting to gtk3″. No this is unrelated, this is still our vcl widgets (which theme themselves to look (sort of) like gtk2 widgets). We just re use the gtk builder file format to describe our dialogs and add a pile of new widget layout code to “do the right thing” wrt layout.

  8. Caolán says:

    re “auto text dialog”, yes, this is converted to .ui format. You can check the dailies to see if anything has changed wrt your bugs, more than likely not, the layout is now dynamic and the code/behaviour is far easier to modify, but these are like for like conversions. Modifying their behaviour still needs manual effort. If you’re interesting, bring it to the dev list and we can point to the relevant code and give a few pointers.

Leave a Reply