View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014678ParaView(No Category)public2014-04-09 21:312014-08-29 10:59
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version4.2 
Summary0014678: Trace recorder doesn't include window size
DescriptionThe trace recorder doesn't have the window size imbedded in it. Thus, when you save a trace that includes saving screenshot, and then run this trace into pvbatch, the output screenshot is too small and not the original size.

Please add the command, commented out, that will set the screensize correctly in the Python. Comment it out, since this command would ruin macros.

I believe the command that should be added is:
#GetRenderView().ViewSize = [X-bla-pixels, Y-bla-pixels]

Either set the X and Y to the current screen size, or HD resolution. A guess at this resolution would be 1920x1080.


TagsPythonTrace
ProjectSandia
Topic Namerefactor_python_tracing_2
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0033002)
Utkarsh Ayachit (administrator)
2014-07-09 21:50
edited on: 2014-07-09 21:50

Developer note:

This is what the current trace generator generates


....first time an view created before starting the trace is accessed
===================================================
# get active view
renderView0 = GetActiveViewOrCreate('RenderView')
# uncomment following to set a specific view size
# renderView0.ViewSize = [1387, 796]
===================================================


....a new view is created after starting the trace
===================================================
# Create a new 'Render View'
renderView1 = CreateView('RenderView')
renderView1.Background = [0.32, 0.34, 0.43]
renderView1.UseGradientBackground = 1
# uncomment following to set a specific view size
# renderView1.ViewSize = [690, 796]

===================================================

(0033052)
Utkarsh Ayachit (administrator)
2014-07-22 08:32

---------------------------------------------
Topics merged into master:
        0014874_fix_scalar_opacity_unit_distance
        14834_fix_representation_update
        dashboard-warnings-20140721
        refactor_python_tracing_2
(0033084)
Alan Scott (manager)
2014-07-24 21:17

Spectacular!

Tested local server, master, Linux.

 Issue History
Date Modified Username Field Change
2014-04-09 21:31 Alan Scott New Issue
2014-07-04 21:46 Utkarsh Ayachit Tag Attached: PythonTrace
2014-07-04 21:46 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2014-07-09 21:50 Utkarsh Ayachit Note Added: 0033002
2014-07-09 21:50 Utkarsh Ayachit Note Edited: 0033002
2014-07-18 21:00 Utkarsh Ayachit Topic Name => refactor_python_tracing_2
2014-07-18 21:00 Utkarsh Ayachit Status backlog => gatekeeper review
2014-07-18 21:00 Utkarsh Ayachit Fixed in Version => git-next
2014-07-18 21:00 Utkarsh Ayachit Resolution open => fixed
2014-07-22 08:32 Utkarsh Ayachit Fixed in Version git-next => git-master
2014-07-22 08:32 Utkarsh Ayachit Status gatekeeper review => customer review
2014-07-22 08:32 Utkarsh Ayachit Note Added: 0033052
2014-07-24 21:17 Alan Scott Note Added: 0033084
2014-07-24 21:17 Alan Scott Status customer review => closed
2014-08-29 10:59 Utkarsh Ayachit Fixed in Version git-master => 4.2


Copyright © 2000 - 2018 MantisBT Team