View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001681 | NoesisGUI | C# SDK | public | 2020-05-07 17:50 | 2020-05-25 10:56 |
| Reporter | ai_enabled | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | assigned | Resolution | reopened | ||
| Product Version | 3.0.0 | ||||
| Target Version | 3.0 | Fixed in Version | 3.0.0 | ||
| Summary | 0001681: ImageBrush with reloaded texture (through RaiseTextureChanged) doesn't recalculate its viewport/viewbox properly | ||||
| Description | Hi guys, RaiseTextureChanged provides a great mechanism for delayed texture loading. <ImageBrush x:Key="WidgetBackgroundImageTexture" Unfortunately, this ImageBrush doesn't react to the texture reloading properly. Please let me know if I can help with this bug further. Regards! | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
Is this something you can reproduce always? |
|
|
The current game version doesn't have image reloading implemented for NoesisGUI yet. It simply invokes full reloading (scripts + UI, with purging our NoesisTextureProvider's cache). That's why you cannot reproduce the issue. If you want to check, please use this Editor build https://www.dropbox.com/s/ad95yu22vt6orqr/CryoFall_Editor_v0.26.8.27_NoesisGUI_3.0.0rc4.7z?dl=0 (built with RC4) Also, So far it works perfectly well for every image used in the UI except the ImageBrush x:Key="WidgetBackgroundImageTexture" I've verified that for "/UI/Images/Backgrounds/WidgetBackground.png" after Regards! |
|
|
Please check the main menu. There is another but similar issue when the texture has incorrect rendering (incorrect stretching) in Image object after reloading. I've tried manually setting Image width or/and height but it doesn't help.
file location: Core.cpk\UI\Controls\Menu\MainMenuOverlay.xaml |
|
|
Here is the screenshot: |
|
|
How should it look: UPD. I've checked the whole game and there are no other cases of this issue. Even though we're using Image Stretch in several other places. |
|
|
No priority with this as I believe it would be not right to report to NoesisGUI 1x1 size as it doesn't result in the correct layout immediately which might be essential in some cases (it's weird when for example the main menu layout is changed as the images are loaded asynchronously). Regards! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-05-07 17:50 | ai_enabled | New Issue | |
| 2020-05-07 17:50 | ai_enabled | File Added: Good.jpg | |
| 2020-05-07 17:50 | ai_enabled | File Added: Bad.jpg | |
| 2020-05-07 17:50 | ai_enabled | Summary | Texture reloaded with RaiseTextureChanged is not utilized for textures used in some ImageBrush => ImageBrush with reloaded texture (RaiseTextureChanged) doesn't recalculate the viewport/viewbox |
| 2020-05-07 17:51 | ai_enabled | Summary | ImageBrush with reloaded texture (RaiseTextureChanged) doesn't recalculate the viewport/viewbox => ImageBrush with reloaded texture (through RaiseTextureChanged) doesn't recalculate its viewport/viewbox properly |
| 2020-05-08 10:59 | sfernandez | Assigned To | => sfernandez |
| 2020-05-08 10:59 | sfernandez | Status | new => assigned |
| 2020-05-08 10:59 | sfernandez | Target Version | => 3.0.0 |
| 2020-05-09 00:00 | sfernandez | Status | assigned => feedback |
| 2020-05-09 00:00 | sfernandez | Note Added: 0006338 | |
| 2020-05-09 00:15 | ai_enabled | Note Added: 0006339 | |
| 2020-05-09 00:15 | ai_enabled | Status | feedback => assigned |
| 2020-05-09 00:15 | ai_enabled | Note Edited: 0006339 | |
| 2020-05-09 00:16 | ai_enabled | Note Edited: 0006339 | |
| 2020-05-09 00:17 | ai_enabled | Note Edited: 0006339 | |
| 2020-05-11 20:10 | sfernandez | Status | assigned => resolved |
| 2020-05-11 20:10 | sfernandez | Resolution | open => fixed |
| 2020-05-11 20:10 | sfernandez | Fixed in Version | => 3.0.0 |
| 2020-05-12 00:14 | ai_enabled | Status | resolved => feedback |
| 2020-05-12 00:14 | ai_enabled | Resolution | fixed => reopened |
| 2020-05-12 00:14 | ai_enabled | Note Added: 0006347 | |
| 2020-05-12 00:15 | ai_enabled | File Added: Screenshot at 02-12-43.jpg | |
| 2020-05-12 00:15 | ai_enabled | Note Added: 0006348 | |
| 2020-05-12 00:15 | ai_enabled | Status | feedback => assigned |
| 2020-05-12 00:16 | ai_enabled | File Added: Screenshot at 02-15-38.jpg | |
| 2020-05-12 00:16 | ai_enabled | Note Added: 0006349 | |
| 2020-05-12 00:33 | ai_enabled | Note Added: 0006350 | |
| 2020-05-12 00:46 | ai_enabled | Note Edited: 0006349 | |
| 2020-05-25 10:56 | jsantos | Target Version | 3.0.0 => 3.0 |