bugGNU Octave - Bugs: bug #44471, uicontrol('string','foo') may be...


bug #44471: uicontrol('string','foo') may be slow with many fonts installed

Submitted by:  -X- <jsh>
Submitted on:  Sat 07 Mar 2015 02:25:54 PM UTC
Category:  Plotting with OpenGL Severity:  2 - Minor
Priority:  3 - Low Item Group:  Performance
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


( Jump to the original submission )

Wed 15 Aug 2018 03:10:06 PM UTC, comment #7: 

This bug is tagged against release 4.0.0 which is very, very old.  Furthermore, the updating of the fontconfig cache has now been made part of the install process so it should be a one-time cost that no longer affects the first plots made with Octave.  Closing report.

Rik <rik5>
Project Administrator
Fri 23 Dec 2016 08:46:08 PM UTC, comment #6: 

I think this is still present in the mxe-octave build of Octave 4.2.0.

The very first plot command takes quite a long time (afterwards it's fine). This might be due to fontconfig generating its font cache when first used. This cache generation might be shifted into the installation process of mxe-octave.

Hartmut <hardy>
Tue 02 Jun 2015 04:36:44 PM UTC, comment #5: 

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Sun 08 Mar 2015 04:15:31 AM UTC, comment #4: 

Updating the bug summary to describe the problem better. I still don't see any delay on Linux or Windows XP (no non-default fonts installed on Windows XP VM). I can only guess that this may get worse the more fonts are installed? Needs confirmation and more information to understand what causes the delay you are experiencing.

Mike Miller <mtmiller>
Project Administrator
Sat 07 Mar 2015 11:10:42 PM UTC, comment #3: 

Ok, retested and it works on both XP 32 and Win8.1 64. However, the very first time I do it it loads (fonts?) for 15+ seconds on my i7 machine and 30-60s on my old core2 so I just assumed it had hung. After the first time there is no delay. Maybe the fonts should already load during installation or pop up some warning message.

-X- <jsh>
Sat 07 Mar 2015 10:13:56 PM UTC, comment #2: 

Works for me also with Windows XP.

Mike Miller <mtmiller>
Project Administrator
Sat 07 Mar 2015 08:35:59 PM UTC, comment #1: 

Works for me on 32-bit (released on ftp) and home-brew (MXE) 64-bit Octave on Win7 64-bit (qt toolkit):

>> uicontrol('string','foo')
ans = -1.0013

.. and I see a box with "foo" in a textbox in the lowerleft corner.
With fltk I don't see the textbox, but Octave doesn't "hang".

What Windows version do you have?

Philip Nienhuis <philipnienhuis>
Project Member
Sat 07 Mar 2015 02:25:54 PM UTC, original submission:  

Putting a string in uicontrol hangs the Octave process in Windows, without string it seems to work fine.

-X- <jsh>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by jsh (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-15 rik5 StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2015-06-02 jwe Release4.0.0-rc1 => 4.0.0
    2015-03-08 mtmiller Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        Item GroupIncorrect Result => Performance
        StatusWorks For Me => Need Info
        Summaryuicontrol(\'string\',\'foo\') hangs Win 4.0rc1 => uicontrol('string','foo') may be slow with many fonts installed
    2015-03-07 mtmiller CategoryGUI => Plotting with OpenGL
        Item GroupNone => Incorrect Result
    2015-03-07 philipnienhuis StatusNone => Works For Me

    Back to the top

    Powered by Savane 3.9