Windows 8 XAML可能的错误-使用图像会导致文本控件消失 [英] Windows 8 XAML possible bug - using images causes text controls to disappear

查看:112
本文介绍了Windows 8 XAML可能的错误-使用图像会导致文本控件消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序间歇性地发生一个奇怪的问题,即文本框控件会间歇性地消失.我将其原因缩小为在页面上包含图像文件(小徽标等).

I have a strange problem happening intermittently with my apps where textbox controls would disappear intermittently. I have narrowed the cause of this down to having image files (small logos etc) on my page.

我设法创建了一个简单的项目,其中包含带有图像的xaml页面和2个文本块(这些文本块位于网格中). 我在两个测试平板电脑上发现可以通过转到任务管理器并为正在运行的应用程序创建转储文件来重新创建问题.

I have managed to create a simple project which contains an xaml page with an image and 2 textblocks (these are in grids). I have found on two test tablets that I can re-create the problem by going to task manager and creating a dump file for the running app.

执行两次并恢复应用后,两个文本块消失了.

After I do this twice and resume the app, the two textblocks disappear.

这个确切的问题在我的实时应用程序中间歇性地发生.

This exact problem is happening intermittently in my live apps.

有没有人知道为什么会发生这种情况,或者我接下来应该尝试什么?我不知道为什么创建转储文件会导致问题.

Has anyone any ideas why this might be happening or what I should try next? I have no idea why creating a dump file forces the issue.

您可以在此处看到一个有关我重新创建问题的视频:

You can see a video of me re-creating the issue here:

https://onedrive.live .com/redir?resid = DF2BE823348DEA6C!74381& authkey =!AIvSU05r0363S3Y& ithint = video%2cMOV

可以从此处下载视频中的测试项目:

The test project in the video can be downloaded from here:

https://onedrive.live .com/redir?resid = DF2BE823348DEA6C!74382& authkey =!AIGHSdezFcCbEZQ& ithint = file%2czip

到目前为止,我可以在两个不同的平板电脑上以完全相同的步骤重新创建它-两者都运行Windows 8.1 Pro 32bit.

So far I can re-create it with the exact same steps on my two different tablets - both running Windows 8.1 Pro 32bit.

如果您熟悉侧载应用程序,并且拥有64位平板电脑,那么如果有人能够测试视频中显示的完全相同的步骤,我将不胜感激.

If you are familiar with sideloading apps and you have a 64bit tablet I would be really appreciative if someone was able to test out the exact same steps as seen in the video.

由于我对下一步工作一无所知,因此任何帮助将不胜感激.

Any help would be extremely appreciated as I am clueless as to where to go next.

推荐答案

我终于明白了这一点.问题归结于平板电脑上安装的intel图形驱动程序.

I finally got to the bottom of this. The problem was down to the intel graphics driver that was installed on the tablets.

4月前后发布了更新的驱动程序,似乎可以解决该问题.

An updated driver was released around April which seemed to resolve the issue.

这篇关于Windows 8 XAML可能的错误-使用图像会导致文本控件消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆