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 OpenGLSeverity: 2 - Minor
Priority: 3 - LowItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):
   
   
Comment:
   

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
  • -unavailable- added by sebald (Posted a comment)
  • -unavailable- added by rik5 (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Apr 2015 09:00:40 PM UTCrik5Priority5 - Normal=>3 - Low
    Thu 12 Mar 2015 10:06:27 PM UTCrik5Attached File-=>Added fltk_no_menu.png, #33325

    Back to the top


    Powered by Savane 3.1-cleanup1