Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3355036
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:20:48+00:00 2026-05-18T02:20:48+00:00

After publishing my XBAP application, I am missing all (or some) TextBlocks. It looks

  • 0

After publishing my XBAP application, I am missing all (or some) TextBlocks. It looks like this:

strange "feature"

The buttons should be labeled, there should be various TextBlocks all over the main screen.

To make things more strange:

  • This application works perfectly
    when Debugging.
  • Not all the texts are always missing, some are there from time to
    time.
  • I implemented a changing LayoutTransform to rezise with the
    hosting browser. On some sizes, all
    (or some) texts are suddenly there.
    (With a fixed LayoutTransform,
    sometimes texts are missing, too). Changing to a RenderTransform instead does not change this behavior. Neither does removing the rezising.
  • Texts in a diagram I am painting are missing. They are drawn in
    OnRender in a custom control.
  • This behavior is only seen on some computers. I suspect all of them have .NET 4.0 installed. When compiling for .NET 4.0, all is well, but since .NET 4.0 is not widely installed yet, I’d rather compile for .NET 3.5

Any Ideas what might be causing this? Please ask if you need more information! Thanks!

Edit:
I’ve made a small project to reproduce the bug. You can find it published here. Note that this bug seems to affecct .NET 4.0 only.

Starting with a WPF Browser application, this is my code in Page1.xaml

<Page x:Class="BugDemo.Page1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
    <Grid x:Name="LayoutRoot">
        <TextBlock FontSize="35" Text="Vanishing Text" />
        <Grid.LayoutTransform>
            <ScaleTransform />
        </Grid.LayoutTransform>
    </Grid>
</Page>

CodeBehind:

public partial class Page1 : Page
{
    public Page1()
    {
        InitializeComponent();    
        this.Loaded += AppPage_Loaded;
    }

    public double Scale
    {
        get { return ((ScaleTransform)this.LayoutRoot.LayoutTransform).ScaleX; }
        set
        {
            ((ScaleTransform)this.LayoutRoot.LayoutTransform).ScaleX = value;
            ((ScaleTransform)this.LayoutRoot.LayoutTransform).ScaleY = value;
        }
    }

   void AppPage_Loaded(object sender, RoutedEventArgs e)
    {
        App.Current.MainWindow.SizeChanged += (o, args) => UpdateScale();
        UpdateScale();
    }

    private void UpdateScale()
    {            
        double xscale = (App.Current.MainWindow.ActualWidth) / 300;
        double yscale = (App.Current.MainWindow.ActualHeight) / 200;

        Scale = Math.Min(xscale, yscale);                       
    }
}

After publishing this, The “Vanishing Text” can only be seen at some zoom levels. It works fine in Debug.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:20:48+00:00Added an answer on May 18, 2026 at 2:20 am

    This seems to be a bug in the IE9.0 beta. Rolling back to IE8.0 fixed the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After publishing my asp.net web application on my hosting, I for this problem: Error:
Using Entity Framework, I suddenly get this strange error after publishing my asp.net mvc
After executing this query on master db ,it is giving me all running process
This is a follow-on question to Is publishing/subscribing to events after UI rendering a
After publishing a new build of my ASP.NET MVC web application, I often see
After publishing an application - I realized I had to make changes/improvements to the
Application_Error is not firing after publishing web site i had also made custom error
On the localhost, ajax extension tabs display correctly. however, after publishing on the server,
After reading many times this question and its accepted answer How to execute a
My Web Application builds and publishes successfully, the problem arises after copying the files

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.