bugGNU Octave - Bugs: bug #44526, FLTK menus and toolbar don't show...


bug #44526: FLTK menus and toolbar don't show after switching from Qt toolkit

Submitted by:  Rik <rik5>
Submitted on:  Thu 12 Mar 2015 10:06:27 PM UTC  
Category:  Plotting with OpenGL Severity:  2 - Minor
Priority:  3 - Low Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 19 Mar 2015 06:05:03 AM UTC, comment #3:

I'm not seeing the refresh() requirement, and I can't recall seeing anything like that in the past.

Dan Sebald <sebald>
Mon 16 Mar 2015 03:16:07 PM UTC, comment #2:

Another problem is that when switching to FLTK there is occasionally no figure shown. One needs to execute refresh() in order to see it drawn. Could do that at the end of graphics_toolkit, although it suggests that there is something wrong with the updating routings in graphics.cc that it doesn't realize that the figure window needs to be redrawn after switching toolkits.

Sample code:

Rik <rik5>
Project Administrator
Thu 12 Mar 2015 10:16:03 PM UTC, comment #1:

The problem is located in figure.m

Switching toolkits only changes the renderer, but doesn't cause _add_default_menu_ to be invoked. It's always been a bit of a kluge, but probably not worth fixing unless someone sees an easy way to do it.

Rik <rik5>
Project Administrator
Thu 12 Mar 2015 10:06:27 PM UTC, original submission:

This is minor, but one is supposed to be able to change the toolkit on an existing plot without closing it, switching toolkits, and then replotting.

Sample code:

I've attached a png image of the window that results.

Interestingly, going in the reverse direction works. Starting with an fltk plot and switching to qt works correctly, and then switching that same figure back to fltk also works.

Rik <rik5>
Project Administrator


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

Attach Files:

Attached Files
file #33325:  fltk_no_menu.png added by rik5 (57KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-17 rik5 Priority5 - Normal => 3 - Low
    2015-03-12 rik5 Attached File- => Added fltk_no_menu.png, #33325

    Back to the top

    Powered by Savane 3.3