View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002117 | NoesisGUI | C# SDK | public | 2021-09-17 16:25 | 2021-09-30 18:54 |
| Reporter | ai_enabled | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.1.1 | ||||
| Target Version | 3.1.2 | Fixed in Version | 3.1.2 | ||
| Summary | 0002117: Reloading the texture (via RaiseTextureChanged) which is used in tiled ImageBrush doesn't recalculate the brush tiling | ||||
| Description | Hi guys, Example XAML:
See the attached WidgetBackground.png file and screenshots A and B. Screenshot A: the texture is loaded immediately and RaiseTextureChanged is never called. Proper appearance. Screenshot B: the texture is not loaded immediately. How it's loaded by our custom TextureProvider (worked fine in v3.0):
After the fix in https://www.noesisengine.com/bugs/view.php?id=2115 RaiseTextureChanged does work but there is this bug with the ImageBrush not being updated. Besides, I've noticed a difference in how the tiling works in 3.1 compared to 3.0 (for now I'm using instant loading as it doesn't causes any loading bugs). I have to modify all the cases where we're using tiling brushes (at least by modifying Viewport) but the tiling behavior is still visually slightly different compared to what it was before. I see there are no changes in v3.1 release notes regarding this. Is this an expected change? What exactly was changed? I'm really confused regarding this. Regards! | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
Regarding the ImageBrush tiling. I've noticed that there is no differences when using Viewport+ViewportUnits in 3.0.11 vs 3.1.1 however something has definitely changed regarding the Viewbox and ViewboxUnits properties and how they applied. |
|
|
Hi, I'm going to investigate this reloading issue and let you know. |
|
|
I found that hot-reloding is not affecting frozen images, we need to think how to solve that properly. Apart from that, I noticed that you defined the background image as follows: <ImageBrush x:Key="WidgetBackgroundImageTexture" The Viewbox is bigger than Image size, which is 8x8, so this will leave en empty space between tiles now (according to WPF behavior). This is probably what you are seeing different from 3.0, where viewbox bigger than image was ignored. |
|
|
Hi Sergio, Regarding the frozen images—I hope you can find a useful approach soon. Good luck! |
|
|
I fixed the reloading issue, please download a patched library here: |
|
|
Did you have a chance to try the patched library? |
|
|
Hi Sergio, Regards! |
|
|
Thanks, that ticket was the next thing we wanted to resolve. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-09-17 16:25 | ai_enabled | New Issue | |
| 2021-09-17 16:25 | ai_enabled | File Added: WidgetBackground.png | |
| 2021-09-17 16:25 | ai_enabled | File Added: A_Proper.png | |
| 2021-09-17 16:25 | ai_enabled | File Added: B_Issue.png | |
| 2021-09-17 16:25 | ai_enabled | Description Updated | |
| 2021-09-17 18:39 | ai_enabled | Note Added: 0007456 | |
| 2021-09-20 11:03 | sfernandez | Assigned To | => sfernandez |
| 2021-09-20 11:03 | sfernandez | Status | new => feedback |
| 2021-09-20 11:03 | sfernandez | Note Added: 0007458 | |
| 2021-09-20 11:03 | sfernandez | Note Edited: 0007458 | |
| 2021-09-20 11:03 | sfernandez | Target Version | => 3.1.2 |
| 2021-09-20 16:33 | sfernandez | Note Added: 0007462 | |
| 2021-09-20 16:46 | ai_enabled | Note Added: 0007463 | |
| 2021-09-20 16:46 | ai_enabled | Status | feedback => assigned |
| 2021-09-20 18:24 | sfernandez | Status | assigned => feedback |
| 2021-09-20 18:24 | sfernandez | Note Added: 0007464 | |
| 2021-09-30 18:47 | sfernandez | Note Added: 0007493 | |
| 2021-09-30 18:51 | ai_enabled | Note Added: 0007494 | |
| 2021-09-30 18:51 | ai_enabled | Status | feedback => assigned |
| 2021-09-30 18:51 | ai_enabled | Note Edited: 0007494 | |
| 2021-09-30 18:54 | sfernandez | Status | assigned => resolved |
| 2021-09-30 18:54 | sfernandez | Resolution | open => fixed |
| 2021-09-30 18:54 | sfernandez | Fixed in Version | => 3.1.2 |
| 2021-09-30 18:54 | sfernandez | Note Added: 0007495 |