View Issue Details

IDProjectCategoryView StatusLast Update
0004043Slicer4Core: GUIpublic2017-06-10 08:51
Reporternicole Assigned Tojcfr  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformmacOSOS Version
Product Version 
Target VersionSlicer 4.5.0-1Fixed in VersionSlicer 4.5.0-1 
Summary0004043: Slice annotations turn into a white box after scene close
Description

After closing the scene, the Fg, Bg, L slice annotations on the slice viewers turn into a solid white box on the black slice viewer.

Steps To Reproduce

Start Slicer
File -> Download Sample Data
Download MRHead
Close scene

TagsNo tags attached.

Activities

2015-09-14 11:39

 

SlicerWhiteBox.jpg (92,723 bytes)
SlicerWhiteBox.jpg (92,723 bytes)
nicole

nicole

2015-10-09 06:35

administrator   ~0013372

Jc's pull request:
https://github.com/Slicer/Slicer/pull/373

msmolens

msmolens

2015-10-16 11:15

developer   ~0013387

I looked into this as well and was able to reproduce it in VTK.

With the OpenGL backend it renders a white rectangle, like in Slicer. With the OpenGL2 backend it renders a black rectangle.

VTK bug reference:
http://www.vtk.org/Bug/view.php?id=15787

jcfr

jcfr

2015-10-19 12:20

administrator   ~0013388

Fixed in r24649
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=24649

nicole

nicole

2015-10-19 13:17

administrator   ~0013389

Thanks!

2015-11-03 07:17

 

nicole

nicole

2015-11-03 07:18

administrator   ~0013525

FYI: seeing this behaviour when enter light box mode.

jcfr

jcfr

2015-11-03 08:47

administrator   ~0013527

Thanks for the note. I backported the "proper" fix from upstream VTK into the Slicer/VTK fork. Currently testing.

See https://github.com/Slicer/VTK/commit/d620f8fdf6df47d496c785dbd716da662c4ebd6a

nicole

nicole

2015-11-03 08:52

administrator   ~0013528

@jcfr The github link you sent refers to rendering gradient backgrounds, not the white boxes on the slice views.

jcfr

jcfr

2015-11-03 08:54

administrator   ~0013529

Ooops. Here it is: https://github.com/Slicer/VTK/commit/8e43f69ff8ae0b5c464f431acc2ae48780a51ce6

jcfr

jcfr

2015-11-03 10:44

administrator   ~0013533

Backport of VTK fix into Slicer fork and Slicer trunk updated.
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=24692

nicole

nicole

2015-11-06 10:23

administrator   ~0013566

Light box issue is also fixed by this change, thanks!

Related Changesets

Import 2017-06-07 23:51:09: master 87e81f68

2015-10-19 15:40:46

jcfr

Details Diff
BUG: SliceViewAnnotations: Do not show blank when corner annotation is off.

Fixes 0004043

Note that while setting the text of the corner annotation to a space
avoid the blank area from showing up, this doesn't address the root cause.
There is probably something wrong in either ctkVTKSliceView or VTK itself.

The problem is still reproducible running the following snippet in the
Slicer python interactor:

v = ctk.ctkVTKSliceView()
v.show()
v.cornerAnnotationText = "Hello"
v.forceRender()
v.cornerAnnotationText = ""
v.forceRender()

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24649 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File

Issue History

Date Modified Username Field Change
2015-09-14 11:39 nicole New Issue
2015-09-14 11:39 nicole File Added: SlicerWhiteBox.jpg
2015-10-09 06:35 nicole Note Added: 0013372
2015-10-16 11:15 msmolens Note Added: 0013387
2015-10-19 12:20 jcfr Note Added: 0013388
2015-10-19 12:20 jcfr Status new => resolved
2015-10-19 12:20 jcfr Fixed in Version => Slicer 4.5.0-1
2015-10-19 12:20 jcfr Resolution open => fixed
2015-10-19 12:20 jcfr Assigned To => jcfr
2015-10-19 13:17 nicole Note Added: 0013389
2015-10-19 13:17 nicole Status resolved => closed
2015-11-03 07:17 nicole File Added: SliceAnnotationsLightBox-WhiteBox.png
2015-11-03 07:18 nicole Note Added: 0013525
2015-11-03 08:47 jcfr Note Added: 0013527
2015-11-03 08:52 nicole Note Added: 0013528
2015-11-03 08:54 jcfr Note Added: 0013529
2015-11-03 10:44 jcfr Note Added: 0013533
2015-11-06 10:23 nicole Note Added: 0013566
2017-06-10 08:51 jcfr Changeset attached => Slicer master 87e81f68