bugGNU Octave - Bugs: bug #48522, Printed qt plot is slightly higher...

 
 

bug #48522: Printed qt plot is slightly higher than requested with -SXSIZE,YSIZE

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Fri 15 Jul 2016 01:05:18 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: FixedAssigned to: None
Originator Name: Open/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.

 

Wed 24 Aug 2016 12:31:12 AM UTC, comment #5:

I pushed a patch for bug #48833 which also fixes this (http://hg.savannah.gnu.org/hgweb/octave/rev/0a2961d5893c). Closing report.

Rik <rik5>
Project Administrator
Tue 23 Aug 2016 06:47:13 PM UTC, comment #4:

I posted a patch for bug #48833 which I think should solve the issue here can someone test? Thanks.

Pantxo Diribarne <pantxo>
Project Member
Sat 20 Aug 2016 11:09:48 AM UTC, comment #3:

@Rik: If this discrepancy is visible then yes the workaround is to eliminate the toolbar and menubar, but I think the actual bug should be fixed. I filed what I think is a more severe manifestation of this bug: see bug #48833

Pantxo Diribarne <pantxo>
Project Member
Fri 19 Aug 2016 04:15:28 PM UTC, comment #2:

@Pantxo: Should we be disabling the menubar and toolbar when we create plots for the documentation? The scripts that generate plots are in <OCT_DIR>/doc/interpreter.

Currently, we use

to create the figure for plotting.

Rik <rik5>
Project Administrator
Sun 17 Jul 2016 03:10:25 PM UTC, comment #1:

This probably has something to do with the way Qt Figure windows objects are resized to include menubar/toolbar/statusbar. The following prints a png that has the same size using qt and fltk

Pantxo Diribarne <pantxo>
Project Member
Fri 15 Jul 2016 01:05:18 PM UTC, original submission:

hg id c8abb2ba4017

creates a PNG with size 1200x904 for Qt, 1200x900 for fltk toolkit.

print ("-S800x600", ...) gives 800x602 for qt, 800x600 for fltk.

Andreas Weber <andy1978>
Project Member

 

(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 rik5 (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by andy1978 (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
    Wed 24 Aug 2016 12:31:12 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1