Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Copy to clipboard has started hanging the app and browser (IE 11 Windows 10)

$
0
0

I have an error dialog that is a childwindow. On that window I have a button that tries to do:

   method FaultDialog.CopyToClipboard(sender: System.Object; e: System.Windows.RoutedEventArgs);
      begin
      Clipboard.SetText( Localization.ClassStrings.TimeOfException       + ' (UTC):' + Environment.NewLine +
                         TimeOfException                                 + Environment.NewLine + Environment.NewLine + Environment.NewLine +

                         Localization.ClassStrings.ErrorMessage + ':'    + Environment.NewLine +
                         Message1.Text                                   + Environment.NewLine + Environment.NewLine + Environment.NewLine +

                         Localization.ClassStrings.InnerException        + ':'         + Environment.NewLine +
                         InnerException1.Text                            + Environment.NewLine + Environment.NewLine + Environment.NewLine +

                         Localization.ClassStrings.ErrorStackTrace + ':' + Environment.NewLine +
                         StackTrace1.Text
                         );
      end;

When that is executed, Silverlight presents a dialog that is supposed to allow the user to say if they want the app to access the clipboard. But when that is displayed, the screen is locked. Can't click on the Yes, No, the checkbox, the address bar. IE is HUNG.

Tried in FF which I haven't tried for a while and the error dialog button couldn't be clicked.  I had to select it by clicking on it and then pressing the Enter key.  The clipboard dialog came up and I couldn't click on those buttons either.  At least FF DID do the copy to clipboard operation.  But if I tried to do it a second time, the error dialog button event couldn't be triggered at all anymore.

Does somebody test this stuff?




Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>