View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003787 | DarkRadiant | GUI | public | 20.07.2014 10:10 | 15.02.2015 13:14 |
Reporter | SteveL | Assigned To | greebo | ||
Priority | normal | Severity | normal | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | 2.0.0pre | ||||
Target Version | 2.0.0 | Fixed in Version | 2.0.0 | ||
Summary | 0003787: Media preview pane not showing editor preview image | ||||
Description | The 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. | ||||
Tags | No tags attached. | ||||
Very odd, but I confirm this. | |
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. |
|
Fixed: TexturePreviewCombo has its own GL context now. | |
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 |