bugGNU Octave - Bugs: bug #44686, Behaviour of figure property...

 
 

bug #44686: Behaviour of figure property 'ToolBar' when set to 'auto'

Submitted by:  Guillaume <gyom>
Submitted on:  Wed 01 Apr 2015 12:20:51 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: GuillaumeOpen/Closed: Closed
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 02 Apr 2015 12:21:54 PM UTC, comment #5:

You are right - "hg update" twice fixed it.

Many thanks for your help.

Guillaume <gyom>
Thu 02 Apr 2015 11:36:44 AM UTC, comment #4:

I saw a strange behavior on my machine when applying the patch. I had to update twice after pull: may have something to do with "tip" and bookmark "@" that are currently not the same in the repo while they are on my machine.
Can you try to "hg update" again? How does libgui/graphics/Figure.cc look like at line 133: modified or old version (see http://hg.savannah.gnu.org/hgweb/octave/rev/08fae2e963fb)?

Pantxo Diribarne <pantxo>
Project Member
Thu 02 Apr 2015 11:17:00 AM UTC, comment #3:

Thanks. It still doesn't work for me though and I observe the same things than Rik, after recompilation.

Guillaume <gyom>
Wed 01 Apr 2015 09:31:48 PM UTC, comment #2:

I pushed a simple patch that fixes the toolbar and menubar interaction at initialization:

http://hg.savannah.gnu.org/hgweb/octave/rev/08fae2e963fb

Closing bug report.

Pantxo Diribarne <pantxo>
Project Member
Wed 01 Apr 2015 03:59:11 PM UTC, comment #1:

There is an order of execution issue or race condition going on. The code works if the figure has been created first.

But doesn't work if the figure property is set at the time of figure creation.

I'm adding Pantxo to the CC list since he just recently coded this and can probably tell what the problem is quickly.

Rik <rik5>
Project Administrator
Wed 01 Apr 2015 12:20:51 PM UTC, original submission:

When 'ToolBar' is set to 'auto' (default), it should use the same value as the 'MenuBar' property but, if 'MenuBar' is set to 'none', the toolbar is still displayed (with Qt):

Guillaume <gyom>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by rik5
  • -unavailable- added by gyom (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Apr 2015 09:31:48 PM UTCpantxoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 01 Apr 2015 05:53:59 PM UTCrik5StatusNone=>Confirmed
    Wed 01 Apr 2015 03:59:11 PM UTCrik5Carbon-Copy-=>Added pantxo

    Back to the top


    Powered by Savane 3.1-cleanup1