View Issue Details

IDProjectCategoryView StatusLast Update
0003787DarkRadiantGUIpublic15.02.2015 13:14
ReporterSteveL Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilitysometimes
Status closedResolutionfixed 
Product Version2.0.0pre 
Target Version2.0.0Fixed in Version2.0.0 
Summary0003787: Media preview pane not showing editor preview image
DescriptionThe Media browser usually doesn't show any previews if you have nothing selected when you click on a new texture name. You get a blank grey square. Sometimes I'm seeing odder behaviour. [Image attached on forum post: http://forums.thedarkmod.com/topic/16399-testers-needed-darkradiant-wxwidgets/page__view__findpost__p__350417 ]

The bottom 30% only of each texture preview is being shown in the top 30% of the preview pane. And it's slightly displaced to the left, leaving an empty grey stripe to the right of the preview panel. This only happens when I've got nothing selected. When I select an object in the map and click on a new texture, it corrects itself and shows the full preview properly positioned, so the workaround is easy enough.
TagsNo tags attached.

Activities

greebo

greebo

20.07.2014 17:49

administrator   ~0006765

Very odd, but I confirm this.
greebo

greebo

21.07.2014 11:31

administrator   ~0006768

This has something to do with the application-wide shared GL context. Something in the highlight shader makes the issue go away and the TexturePreviewCombo can render correctly, but I wasn't able to find out what exactly does it.

I can work around the issue by creating a separate GL context for the TexturePreviewCombo, the problem immediately goes away when I do that. It would be cleaner to find out why the non-highlighted rendering code leaves the context in a bad state unable to draw textures but failing to find out, I have only the choice of separating the contexts.
greebo

greebo

21.07.2014 12:07

administrator   ~0006769

Fixed: TexturePreviewCombo has its own GL context now.

Issue History

Date Modified Username Field Change
20.07.2014 10:10 SteveL New Issue
20.07.2014 17:49 greebo Note Added: 0006765
20.07.2014 17:49 greebo Status new => confirmed
21.07.2014 11:31 greebo Note Added: 0006768
21.07.2014 12:06 greebo Assigned To => greebo
21.07.2014 12:06 greebo Status confirmed => assigned
21.07.2014 12:06 greebo Assigned To greebo => SteveL
21.07.2014 12:06 greebo Assigned To SteveL => greebo
21.07.2014 12:07 greebo Note Added: 0006769
21.07.2014 12:07 greebo Status assigned => resolved
21.07.2014 12:07 greebo Fixed in Version => 2.0.0
21.07.2014 12:07 greebo Resolution open => fixed
21.07.2014 12:07 greebo Target Version => 2.0.0
15.02.2015 13:14 greebo Status resolved => closed