View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013927ParaView(No Category)public2013-03-05 12:052015-01-11 08:27
ReporterPatrick O'Leary 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.98.1 
Target VersionFixed in Version4.0 
Summary0013927: Bounding box outline shows up in parallel batch python scripts
Description1. every text has a white bounding box around it (see attached image)
2. the output lists the following error, although an image still gets generated

ERROR: In /home/boonth/Desktop/xrage_pv/gitrepo/ParaView-3.98.0/VTK/Interaction/Widgets/vtkAbstractWidget.cxx, line 118
vtkTextWidget (0x83797d0): The interactor must be set prior to enabling the widget

Maybe these two problems are related?

Utkarsh and I tested out a number of possibilities and it only happens in parallel and batch.

# ----------------------- Annotations -----------------------
    
    textColor = [1.0, 1.0, 1.0]

    HeadingText = Text(Text='heading')
    HeadingRep = Show()
    HeadingRep.Interactivity = 0
    HeadingRep.WindowLocation = 'UpperCenter'
    HeadingRep.Color = textColor
    HeadingRep.FontSize = 18
    HeadingRep.Orientation = 0
    HeadingRep.TextScaleMode = 'Viewport'

    UserText = Text(Text='boonth')
    UserRep = Show()
    UserRep.Interactivity = 0
    UserRep.WindowLocation = 'UpperRightCorner'
    UserRep.Color = textColor
    UserRep.FontSize = 10
    UserRep.Orientation = 90
    UserRep.TextScaleMode = 'Viewport'

    TimeText = Text(Text='Time: %f s' % 1.9)
    TimeRep = Show()
    TimeRep.Interactivity = 0
    TimeRep.WindowLocation = 'LowerLeftCorner'
    TimeRep.Color = textColor
    TimeRep.FontSize = 12
    TimeRep.Orientation = 0
    TimeRep.TextScaleMode = 'Viewport'

    datestring = current_date.strftime('%m/%d/%Y %I:%M %p')
    DateText = Text(Text=datestring)
    DateRep = Show()
    DateRep.Interactivity = 0
    DateRep.WindowLocation = 'LowerRightCorner'
    DateRep.Color = textColor
    DateRep.FontSize = 12
    DateRep.Orientation = 0
    DateRep.TextScaleMode = 'Viewport'
TagsNo tags attached.
ProjectLANL-InSitu
Topic Name13927_fix_text_bounding_boxes
Typeincorrect functionality
Attached Filespng file icon pv_prs_ref_00000000.png [^] (17,348 bytes) 2013-03-05 12:05

 Relationships
related to 0013668closedUtkarsh Ayachit White boxes still appear around text and legends when running with pvbatch 

  Notes
(0030415)
Utkarsh Ayachit (administrator)
2013-03-06 13:33

commit abf2095aae08d29a860b1c63427f25e341b5a243
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Wed Mar 6 13:30:24 2013 -0500

    BUG 0013927. Fixed borders on text widgets.
    
    Since the shared-render window had so size set initially, the
    vtkTextRepresentation ended up incorrectly computing the placement for the text
    and hence the state for the border visibility in batch mode. This fixes that
    issue by ensuring that we setup a default size for the shared window as well.
    The size gets updated when rendering happens to the actual size, so we don't
    need to be extra smart about the deafult window size.
    
    Change-Id: I1d9eb5dbc689aec838539fe9b0fa152db6b31801

commit b49329a3c7e3a57120d45ba98c0260e85af0e9d1
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Wed Mar 6 10:58:32 2013 -0500

    BUG 0013927. Enable 3D widgets only on processes with interactor.
    
    Not all processes have an interactor setup. We need to enable 3D widgets only on
    processes with interactor. This overcomes the warnings printed out in batch mode
    on satellites (as reported in BUG 0013927).
    
    Change-Id: Ic000175331efadb68332b078a8c29e0160d92026
(0030431)
Utkarsh Ayachit (administrator)
2013-03-14 10:39

SUMMARY
---------------------------------------------
Topics merged into master:
        0013926-webgl-support
        0013940-enable-paraview-web-build
        13927_fix_text_bounding_boxes
        13928-print-monitors
        13930_XMLP_writers
        13938_blot_color_table
        13939-vr-cache-state
(VTK) composite-data-display-attributes
        fix-ordered-composite-distributor-return
        fix_unnecessary_rebuilds
(VTK) update_vtk_master
(0032065)
Alan Scott (manager)
2013-12-24 19:40

Old customer review bug. Closing untested.

 Issue History
Date Modified Username Field Change
2013-03-05 12:05 Patrick O'Leary New Issue
2013-03-05 12:05 Patrick O'Leary File Added: pv_prs_ref_00000000.png
2013-03-06 10:27 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2013-03-06 10:27 Utkarsh Ayachit Status backlog => todo
2013-03-06 10:27 Utkarsh Ayachit Status todo => active development
2013-03-06 13:33 Utkarsh Ayachit Topic Name => 13927_fix_text_bounding_boxes
2013-03-06 13:33 Utkarsh Ayachit Note Added: 0030415
2013-03-06 13:33 Utkarsh Ayachit Status active development => gatekeeper review
2013-03-06 13:33 Utkarsh Ayachit Fixed in Version => git-next
2013-03-06 13:33 Utkarsh Ayachit Resolution open => fixed
2013-03-14 10:19 Utkarsh Ayachit Relationship added related to 0013668
2013-03-14 10:38 Utkarsh Ayachit Fixed in Version git-next => git-master
2013-03-14 10:39 Utkarsh Ayachit Status gatekeeper review => customer review
2013-03-14 10:39 Utkarsh Ayachit Note Added: 0030431
2013-05-18 20:00 Utkarsh Ayachit Fixed in Version git-master => 4.0
2013-12-24 19:40 Alan Scott Note Added: 0032065
2013-12-24 19:40 Alan Scott Status customer review => closed
2015-01-11 08:27 Utkarsh Ayachit Source_changeset_attached => ParaView master cd13609e
2015-01-11 08:27 Utkarsh Ayachit Source_changeset_attached => ParaView master abf2095a
2015-01-11 08:27 Utkarsh Ayachit Source_changeset_attached => ParaView master b49329a3


Copyright © 2000 - 2018 MantisBT Team